You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by va...@apache.org on 2012/12/10 22:40:20 UTC
svn commit: r1419803 - /ode/site/trunk/content/war-deployment.mdtext
Author: vanto
Date: Mon Dec 10 21:40:19 2012
New Revision: 1419803
URL: http://svn.apache.org/viewvc?rev=1419803&view=rev
Log:
fix 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=1419803&r1=1419802&r2=1419803&view=diff
==============================================================================
--- ode/site/trunk/content/war-deployment.mdtext (original)
+++ ode/site/trunk/content/war-deployment.mdtext Mon Dec 10 21:40:19 2012
@@ -25,30 +25,30 @@ The ODE war should have been copied to t
1. Drop the MySQL JDBC driver ([MySQL Connector/J](http://dev.mysql.com/downloads/#connector-j)) in the _common/lib_ directory of Tomcat.
1. Add the following stanza to _conf/server.xml_ inside the <Host> element:
- :::xml
- <Context path="/ode" docBase="ode" debug="5" reloadable="true" crossContext="true">
- <Resource name="jdbc/ODEDB" auth="Container" type="javax.sql.DataSource"
- maxActive="100" maxIdle="30" maxWait="10000"
- username="root" password="" driverClassName="com.mysql.jdbc.Driver"
- url="jdbc:mysql://localhost:3306/ode?autoReconnect=true"/>
- </Context>
+ :::xml
+ <Context path="/ode" docBase="ode" debug="5" reloadable="true" crossContext="true">
+ <Resource name="jdbc/ODEDB" auth="Container" type="javax.sql.DataSource"
+ maxActive="100" maxIdle="30" maxWait="10000"
+ username="root" password="" driverClassName="com.mysql.jdbc.Driver"
+ url="jdbc:mysql://localhost:3306/ode?autoReconnect=true"/>
+ </Context>
1. Make sure that MySQL is started and the [ODE schema](^ode_openjpa_mysql-1.3.2.sql.html) has been loaded in a _ode_ database.
- :::text
- $ mysql -u root
- mysql> create database ode;
- mysql> exit
- $ mysql -u root ode < ode_openjpa_mysql-1.3.2.sql
+ :::text
+ $ mysql -u root
+ mysql> create database ode;
+ mysql> exit
+ $ mysql -u root ode < ode_openjpa_mysql-1.3.2.sql
-1. Add a file named _ode-axis2.properties_ under _webapps/ode/WEB-INF/conf_ with the following content:
+2. Add a file named _ode-axis2.properties_ under _webapps/ode/WEB-INF/conf_ with the following content:
- :::text
- ode-axis2.db.mode=EXTERNAL
- ode-axis2.db.ext.dataSource=java:comp/env/jdbc/ODEDB
+ :::text
+ ode-axis2.db.mode=EXTERNAL
+ ode-axis2.db.ext.dataSource=java:comp/env/jdbc/ODEDB
-You're done\!
+You're done!
<a name="WARDeployment-ConfiguringODEinJBosswithJNDIEXTERNALdatasource"></a>
## Configuring ODE in JBoss with JNDI EXTERNAL datasource