<configuration>
<scanIntervalSeconds>10</scanIntervalSeconds>
<contextPath>/</contextPath>
+ <jettyEnvXml>src/jetty-env.xml</jettyEnvXml>
<connectors>
<connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
<port>9000</port>
--- /dev/null
+<?xml version="1.0"?>
+<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">
+
+<Configure class="org.mortbay.jetty.webapp.WebAppContext">
+
+<New id="users" class="org.mortbay.jetty.plus.naming.Resource">
+ <Arg>jdbc/users</Arg>
+ <Arg>
+ <New class="org.apache.derby.jdbc.EmbeddedDataSource">
+ <Set name="DatabaseName">target/database</Set>
+ <Set name="createDatabase">create</Set>
+ </New>
+ </Arg>
+</New>
+<New id="shutdown" class="org.mortbay.jetty.plus.naming.Resource">
+ <Arg>jdbc/shutdown</Arg>
+ <Arg>
+ <New class="org.apache.derby.jdbc.EmbeddedDataSource">
+ <Set name="DatabaseName">target/database</Set>
+ <Set name="shutdownDatabase">shutdown</Set>
+ </New>
+ </Arg>
+</New>
+
+</Configure>
+
<hierarchy>JPOX</hierarchy>
<level>WARN</level>
</level>
+<!--
+ <level>
+ <hierarchy>JPOX.RDBMS.SQL</hierarchy>
+ <level>DEBUG</level>
+ </level>
+-->
<level>
<hierarchy>freemarker</hierarchy>
<level>WARN</level>
<component>
<role>org.codehaus.plexus.jdo.JdoFactory</role>
+<!--
<implementation>org.codehaus.plexus.jdo.DefaultConfigurableJdoFactory</implementation>
+-->
+ <implementation>org.codehaus.plexus.jdo.DataSourceConfigurableJdoFactory</implementation>
<configuration>
+ <connectionFactoryName>java:comp/env/jdbc/users</connectionFactoryName>
+ <shutdownConnectionFactoryName>java:comp/env/jdbc/shutdown</shutdownConnectionFactoryName>
+
<!-- HSQLDB Configuration -->
<!--
NOTE: NO NOT USE THIS CONFIGURATION FOR A PRODUCTION SYSTEM.
-->
<!-- Apache Derby Configuration -->
+<!--
<driverName>org.apache.derby.jdbc.EmbeddedDriver</driverName>
<url>jdbc:derby:${plexus.home}/database;create=true</url>
<userName>sa</userName>
<password></password>
+-->
<!-- Postgresql Configuration -->
<!--