Author: indika
Date: Tue Feb  3 00:24:35 2009
New Revision: 30296
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=30296

Log:
add datasources.properties file

Added:
   trunk/esb/java/modules/distribution/src/main/conf/datasources.properties
Modified:
   trunk/esb/java/docs/xdoc/samples_setup_guide.xml
   trunk/esb/java/modules/distribution/src/main/assembly/bin.xml

Modified: trunk/esb/java/docs/xdoc/samples_setup_guide.xml
URL: 
http://wso2.org/svn/browse/wso2/trunk/esb/java/docs/xdoc/samples_setup_guide.xml?rev=30296&r1=30295&r2=30296&view=diff
==============================================================================
--- trunk/esb/java/docs/xdoc/samples_setup_guide.xml    (original)
+++ trunk/esb/java/docs/xdoc/samples_setup_guide.xml    Tue Feb  3 00:24:35 2009
@@ -706,7 +706,7 @@
 
 <div>
 <p>Definition of the reusable database connection pool or datasources can be
-done using synapse.properties file. It is possible to configure any number of
+done using datasources.properties file. It is possible to configure any number 
of
 datasources. Currently only supports two type of datasources and those are
 based on apache dbcp datasources. Those types are BasicDataSource and
 PerUserPoolDataSource (based on apache dhcp).Following configuration includes
@@ -723,7 +723,7 @@
 'esb'. Fill in the data for those two databases as per described in the above 
section</p>
 
 <div>
-<p><strong>synapse.properties configuration <br />
+<p><strong>datasources.properties configuration <br />
 </strong></p>
 <pre>#datasources
 synapse.datasources=lookupds,reportds

Modified: trunk/esb/java/modules/distribution/src/main/assembly/bin.xml
URL: 
http://wso2.org/svn/browse/wso2/trunk/esb/java/modules/distribution/src/main/assembly/bin.xml?rev=30296&r1=30295&r2=30296&view=diff
==============================================================================
--- trunk/esb/java/modules/distribution/src/main/assembly/bin.xml       
(original)
+++ trunk/esb/java/modules/distribution/src/main/assembly/bin.xml       Tue Feb 
 3 00:24:35 2009
@@ -119,6 +119,12 @@
             <filtered>true</filtered>
         </file>
         <file>
+            <source>src/main/conf/datasources.properties</source>
+            <outputDirectory>wso2esb-${esb.version}/conf</outputDirectory>
+            <destName>datasources.properties</destName>
+            <filtered>true</filtered>
+        </file>
+        <file>
             <source>../../NOTICE</source>
             <outputDirectory>wso2esb-${esb.version}</outputDirectory>
             <filtered>true</filtered>

Added: trunk/esb/java/modules/distribution/src/main/conf/datasources.properties
URL: 
http://wso2.org/svn/browse/wso2/trunk/esb/java/modules/distribution/src/main/conf/datasources.properties?pathrev=30296
==============================================================================
--- (empty file)
+++ trunk/esb/java/modules/distribution/src/main/conf/datasources.properties    
Tue Feb  3 00:24:35 2009
@@ -0,0 +1,33 @@
+##DataSources Configurations
+#
+#synapse.datasources=lookupds,reportds
+#synapse.datasources.icFactory=com.sun.jndi.rmi.registry.RegistryContextFactory
+#synapse.datasources.providerPort=2199
+### If following property is present , then assumes that there is an external 
JNDI provider and will not start a RMI registry
+###synapse.datasources.providerUrl=rmi://localhost:2199
+##
+##
+#synapse.datasources.lookupds.registry=Memory
+#synapse.datasources.lookupds.type=BasicDataSource
+#synapse.datasources.lookupds.driverClassName=org.apache.derby.jdbc.ClientDriver
+#synapse.datasources.lookupds.url=jdbc:derby://localhost:1527/lookupdb;create=false
+#synapse.datasources.lookupds.username=synapse
+#synapse.datasources.lookupds.password=synapse
+#synapse.datasources.lookupds.dsName=lookupdb
+#synapse.datasources.lookupds.maxActive=100
+#synapse.datasources.lookupds.maxIdle=20
+#synapse.datasources.lookupds.maxWait=10000
+#
+#synapse.datasources.reportds.registry=JNDI
+#synapse.datasources.reportds.type=PerUserPoolDataSource
+#synapse.datasources.reportds.cpdsadapter.factory=org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS
+#synapse.datasources.reportds.cpdsadapter.className=org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS
+#synapse.datasources.reportds.cpdsadapter.name=cpds
+#synapse.datasources.reportds.dsName=reportdb
+#synapse.datasources.reportds.driverClassName=org.apache.derby.jdbc.ClientDriver
+#synapse.datasources.reportds.url=jdbc:derby://localhost:1527/reportdb;create=false
+#synapse.datasources.reportds.username=synapse
+#synapse.datasources.reportds.password=synapse
+#synapse.datasources.reportds.maxActive=100
+#synapse.datasources.reportds.maxIdle=20
+#synapse.datasources.reportds.maxWait=10000

_______________________________________________
Esb-java-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev

Reply via email to