Author: dblevins
Date: Tue Aug 21 20:11:08 2007
New Revision: 568390
URL: http://svn.apache.org/viewvc?rev=568390&view=rev
Log:
Pulled the example database configurations out into a separate file
Modified:
openejb/trunk/openejb3/container/openejb-core/src/main/resources/default.openejb.conf
Modified:
openejb/trunk/openejb3/container/openejb-core/src/main/resources/default.openejb.conf
URL:
http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-core/src/main/resources/default.openejb.conf?rev=568390&r1=568389&r2=568390&view=diff
==============================================================================
---
openejb/trunk/openejb3/container/openejb-core/src/main/resources/default.openejb.conf
(original)
+++
openejb/trunk/openejb3/container/openejb-core/src/main/resources/default.openejb.conf
Tue Aug 21 20:11:08 2007
@@ -52,8 +52,6 @@
</Container>
-
-
<Container id="Default Stateful Container" ctype="STATEFUL">
# The passivator is responsible for writing beans to disk
# at passivation time. Different passivators can be used
@@ -134,7 +132,14 @@
InstanceLimit 10
</Container>
-<Connector id="Default JDBC Database">
+
+
+<!--
+# For more examples of database configuration see:
+# http://openejb.apache.org/databases.html
+-->
+
+<Connector id="Default JDBC Database" >
JdbcDriver org.hsqldb.jdbcDriver
JdbcUrl jdbc:hsqldb:file:hsqldb
UserName sa
@@ -148,74 +153,6 @@
Password
</Connector>
-<!--
-<Connector id="Derby Database">
- #Embedded Derby example
-
- JdbcDriver org.apache.derby.jdbc.EmbeddedDriver
- JdbcUrl jdbc:derby:derbyDB;create=true
- UserName admin
- Password pass
-</Connector>
--->
-
-<!--
-<Connector id="InstantDB Database">
- # InstantDB example
- #
- # This connector does work as is, the drivers are shipped
- # with every OpenEJB distribution and should be in the
- # OPENEJB_HOME/lib directory.
- #
- # Information on InstantDB can be found at:
- # http://www.openejb.org/InstantDB/docs/
-
- JdbcDriver org.enhydra.instantdb.jdbc.idbDriver
- JdbcUrl jdbc:idb:conf/instantdb.properties
- UserName Admin
- Password pass
-</Connector>
--->
-
-<!--
-<Connector id="MySQL Database">
- # MySQL example
- #
- # This connector will not work until you download the driver at:
- # http://www.mysql.com/downloads/api-jdbc-stable.html
-
- JdbcDriver com.mysql.jdbc.Driver
- JdbcUrl jdbc:mysql://localhost/test
- UserName test
-</Connector>
--->
-
-<!--
-<Connector id="Oracle Database">
- # Oracle example
- #
- # This connector will not work until you download the driver at:
- # http://otn.oracle.com/software/tech/java/sqlj_jdbc/content.html
- JdbcDriver com.mysql.jdbc.Driver
- JdbcUrl jdbc:oracle:thin:@localhost:1521:orcl
- UserName scott
- Password tiger
-</Connector>
--->
-
-<!--
-<Connector id="PostgreSQL Database">
- # PostgreSQL example
- #
- # This connector will not work until you download the driver at:
- # http://jdbc.postgresql.org/download.html
- JdbcDriver org.postgresql.Driver
- JdbcUrl jdbc:postgresql://localhost/test
- UserName postgres
- Password pass
-</Connector>
--->
-
<Resource id="Default JMS Resource Adapter">
# Broker configuration
BrokerXmlConfig broker:(tcp://localhost:61616)
@@ -233,7 +170,7 @@
<!--
#
# The <Deployments> element can be used to configure file
-# pathes where OpenEJB should look for ejb jars or ear files.
+# paths where OpenEJB should look for ejb jars or ear files.
#
# See http://openejb.apache.org/deployments.html
#