NOTE: This server is not yet production ready. Use for demo purposes only.
Linux: bin/start.sh
Windows: bin/start.bat
CTRL + C
Embedded Derby database and OpenJPA persistence.
<Resource id="jdbc/ode" type="DataSource"> jdbcDriver=org.apache.derby.jdbc.EmbeddedDriver jdbcUrl=jdbc:derby:database/derby-jpadb userName=sa password= defaultAutoCommit=false jtaManaged=true initialSize=5 maxActive=20 defaultTransactionIsolation=2 </Resource>
Embedded Derby database and Hibernate persistence.
<Resource id="jdbc/ode" type="DataSource"> jdbcDriver=org.apache.derby.jdbc.EmbeddedDriver jdbcUrl=jdbc:derby:database/derby-hibdb userName=sa password= defaultAutoCommit=false jtaManaged=true initialSize=5 maxActive=20 defaultTransactionIsolation=2 </Resource>
Change the relevant section of the Resource element under conf/tomee.xml for different database and download and store the driver jar file under lib/ directory.
By default server comes packaged with OpenJPA and Embedded Derby database. If a different database is needed then change the relevant section under conf/tomee.xml
Download these Hibernate dependencies and put them under lib/ of the server
Edit file ode-axis2.properties under webapps/ode/WEB-INF/conf/
Replace this line
ode-axis2.dao.factory=org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl
With
ode-axis2.dao.factory=org.apache.ode.daohib.bpel.BpelDAOConnectionFactoryImpl
By default server comes packaged with Embedded Derby database. If a different database is needed then change the relevant section under conf/tomee.xml and store the driver jar file under lib/ directory of the server.