Author: sathwik
Date: Mon Nov 17 08:54:34 2014
New Revision: 1640103
URL: http://svn.apache.org/r1640103
Log:
some more formatting
Modified:
ode/site/trunk/content/war-deployment.mdtext
Modified: ode/site/trunk/content/war-deployment.mdtext
URL:
http://svn.apache.org/viewvc/ode/site/trunk/content/war-deployment.mdtext?rev=1640103&r1=1640102&r2=1640103&view=diff
==============================================================================
--- ode/site/trunk/content/war-deployment.mdtext (original)
+++ ode/site/trunk/content/war-deployment.mdtext Mon Nov 17 08:54:34 2014
@@ -28,36 +28,36 @@ The ODE war should have been copied to t
2. Download latest bitronix archive from
[here](http://docs.codehaus.org/display/BTM/Download).
-3. Copy these jars available in the bitronix archive to _/lib_ directory of
Tomcat 7.
- - btm-2.1.4.jar
- - btm-tomcat55-lifecycle-2.1.4.jar
- - geronimo-jta_1.1_spec-1.1.1.jar
- - slf4j-api-1.6.4.jar
- - slf4j-jdk14-1.6.4.jar
+3. Copy these jars available in the bitronix archive to _/lib_ directory of
Tomcat 7.
+ - btm-2.1.4.jar
+ - btm-tomcat55-lifecycle-2.1.4.jar
+ - geronimo-jta_1.1_spec-1.1.1.jar
+ - slf4j-api-1.6.4.jar
+ - slf4j-jdk14-1.6.4.jar
4. Configure data sources.
- Create a file name named _**resources.properties**_ under conf/ directory of
tomcat with the below contents:
+ Create a file name named _**resources.properties**_ under conf/ directory
of tomcat with the below contents:
- :::properties
- resource.ds2.className=bitronix.tm.resource.jdbc.lrc.LrcXADataSource
- resource.ds2.uniqueName=jdbc/ode
- resource.ds2.minPoolSize=10
- resource.ds2.maxPoolSize=50
- resource.ds2.driverProperties.driverClassName=com.mysql.jdbc.Driver
- resource.ds2.driverProperties.url=jdbc:mysql://localhost:3306/ode
- resource.ds2.driverProperties.user=
- resource.ds2.driverProperties.password=
- resource.ds2.allowLocalTransactions=true
- resource.ds2.shareTransactionConnections=true
+ :::properties
+ resource.ds2.className=bitronix.tm.resource.jdbc.lrc.LrcXADataSource
+ resource.ds2.uniqueName=jdbc/ode
+ resource.ds2.minPoolSize=10
+ resource.ds2.maxPoolSize=50
+ resource.ds2.driverProperties.driverClassName=com.mysql.jdbc.Driver
+ resource.ds2.driverProperties.url=jdbc:mysql://localhost:3306/ode
+ resource.ds2.driverProperties.user=
+ resource.ds2.driverProperties.password=
+ resource.ds2.allowLocalTransactions=true
+ resource.ds2.shareTransactionConnections=true
- Enter the appropriate mysql **user** and **password** in the properties file.
+ Enter the appropriate mysql **user** and **password** in the properties
file.
5. Associate the datasource created in the previous step for ODE.
- Create a file named _**ode.xml**_ under conf/Catalina/localhost/ directory
under tomcat with the below given contents:
+ Create a file named _**ode.xml**_ under conf/Catalina/localhost/ directory
under tomcat with the below given contents:
- :::xml
+ :::xml
<Context reloadable="true" crossContext="true">
<Resource
name="jdbc/ode"
@@ -68,7 +68,7 @@ The ODE war should have been copied to t
6. Add the below lines in the _**web.xml**_ of ODE web application.
- :::xml
+ :::xml
<resource-ref>
<res-ref-name>jdbc/ode</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
@@ -76,7 +76,7 @@ The ODE war should have been copied to t
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
-7. Remove jar file _geronimo-jta_1.1_spec-1.1.jar_ from ODE web application
_/lib_ directory
+7. Remove jar file _geronimo-jta_1.1_spec-1.1.jar_ from ODE web application
_/lib_ directory.
8. Add the below lines to _**ode-axis2.properties**_
@@ -85,7 +85,7 @@ The ODE war should have been copied to t
ode-axis2.db.mode=EXTERNAL
ode-axis2.db.ext.dataSource=java:comp/env/jdbc/ode
- Note that the value for JNDI entry _ode-axis2.db.ext.dataSource_ should
match the entry _resource.ds2.driverProperties.url_
+ Note that the value for JNDI entry _ode-axis2.db.ext.dataSource_ should match
the entry _resource.ds2.driverProperties.url_.
9. Make sure that MySQL is started and the [ODE
schema](/resources/ode_openjpa_mysql-1.3.2.sql) has been loaded in a _ode_
database.