activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r433697 - in /incubator/activemq/trunk/assembly/src/release/conf: activemq-nojournal.xml activemq.xml
Date Tue, 22 Aug 2006 17:10:59 GMT
Author: jstrachan
Date: Tue Aug 22 10:10:58 2006
New Revision: 433697

URL: http://svn.apache.org/viewvc?rev=433697&view=rev
Log:
added an example of using Oracle JDBC along with using DBCP with Oracle rather than the non-pooling
default that comes with Oracle

Modified:
    incubator/activemq/trunk/assembly/src/release/conf/activemq-nojournal.xml
    incubator/activemq/trunk/assembly/src/release/conf/activemq.xml

Modified: incubator/activemq/trunk/assembly/src/release/conf/activemq-nojournal.xml
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/assembly/src/release/conf/activemq-nojournal.xml?rev=433697&r1=433696&r2=433697&view=diff
==============================================================================
--- incubator/activemq/trunk/assembly/src/release/conf/activemq-nojournal.xml (original)
+++ incubator/activemq/trunk/assembly/src/release/conf/activemq-nojournal.xml Tue Aug 22 10:10:58
2006
@@ -98,10 +98,12 @@
    
   <!-- Oracle DataSource Sample Setup -->
   <!--
-  <bean id="oracle-ds" class="oracle.jdbc.pool.OracleDataSource">
-    <property name="URL" value="jdbc:oracle:thin:@localhost:1521:AMQDB"/>
-    <property name="user" value="scott"/>
+  <bean id="oracle-ds" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
+    <property name="driverClassName" value="oracle.jdbc.driver.OracleDriver"/>
+    <property name="url" value="jdbc:oracle:thin:@localhost:1521:AMQDB"/>
+    <property name="username" value="scott"/>
     <property name="password" value="tiger"/>
+    <property name="poolPreparedStatements" value="true"/>
   </bean>
   -->
       

Modified: incubator/activemq/trunk/assembly/src/release/conf/activemq.xml
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/assembly/src/release/conf/activemq.xml?rev=433697&r1=433696&r2=433697&view=diff
==============================================================================
--- incubator/activemq/trunk/assembly/src/release/conf/activemq.xml (original)
+++ incubator/activemq/trunk/assembly/src/release/conf/activemq.xml Tue Aug 22 10:10:58 2006
@@ -100,15 +100,18 @@
     <property name="poolPreparedStatements" value="true"/>
   </bean>
   -->  
-      
-  <!-- Embedded Derby DataSource Sample Setup -->
-  <!-- 
-  <bean id="derby-ds" class="org.apache.derby.jdbc.EmbeddedDataSource">
-    <property name="databaseName" value="derbydb"/>
-    <property name="createDatabase" value="create"/>
+   
+  <!-- Oracle DataSource Sample Setup -->
+  <!--
+  <bean id="oracle-ds" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
+    <property name="driverClassName" value="oracle.jdbc.driver.OracleDriver"/>
+    <property name="url" value="jdbc:oracle:thin:@localhost:1521:AMQDB"/>
+    <property name="username" value="scott"/>
+    <property name="password" value="tiger"/>
+    <property name="poolPreparedStatements" value="true"/>
   </bean>
-  -->  
-  
+  -->
+        
   <!-- Embedded Derby DataSource Sample Setup -->
   <!-- 
   <bean id="derby-ds" class="org.apache.derby.jdbc.EmbeddedDataSource">



Mime
View raw message