Commit 24843905 authored by Andre Freyssinet's avatar Andre Freyssinet
Browse files

Adds tests for JDBCTransaction.

parent 33152f12
# Properties needed to launch an A3 server with JDBC # Properties needed to launch an A3 server with JDBC (added to JVM properties at launching).
org.ow2.joram.jdbc.transaction.driver=org.apache.derby.jdbc.EmbeddedDriver org.ow2.joram.jdbc.transaction.driver=org.apache.derby.jdbc.EmbeddedDriver
org.ow2.joram.jdbc.transaction.url=jdbc:derby:MyJoramDB@@sid@@;create=true org.ow2.joram.jdbc.transaction.url=jdbc:derby:MyJoramDB@@sid@@;create=true
org.ow2.joram.dbtransaction.dbtable=MyTable org.ow2.joram.dbtransaction.dbtable=MyTable
......
# Properties needed to launch an A3 server # Properties needed to launch an A3 server (added to JVM properties at launching).
...@@ -3673,8 +3673,6 @@ ...@@ -3673,8 +3673,6 @@
<!-- param name="Destination" <!-- param name="Destination"
value="org.objectweb.joram.client.jms.Queue"/ --> value="org.objectweb.joram.client.jms.Queue"/ -->
<param name="transaction" value="fr.dyade.aaa.ext.NGTransaction"/> <param name="transaction" value="fr.dyade.aaa.ext.NGTransaction"/>
<!-- param name="transaction"
value="fr.dyade.aaa.util.NTransaction"/ -->
<param name="engine" value="fr.dyade.aaa.agent.Engine"/> <param name="engine" value="fr.dyade.aaa.agent.Engine"/>
<!-- param name="engine" value="fr.dyade.aaa.agent.GCEngine"/ --> <!-- param name="engine" value="fr.dyade.aaa.agent.GCEngine"/ -->
<!-- param name="BaseClass" value="joram.perfs.TcpBaseTest"/ --> <!-- param name="BaseClass" value="joram.perfs.TcpBaseTest"/ -->
...@@ -3734,8 +3732,6 @@ ...@@ -3734,8 +3732,6 @@
value="org.objectweb.joram.client.jms.Topic"/> value="org.objectweb.joram.client.jms.Topic"/>
<!-- param name="Destination" <!-- param name="Destination"
value="org.objectweb.joram.client.jms.Queue"/ --> value="org.objectweb.joram.client.jms.Queue"/ -->
<!-- param name="transaction"
value="fr.dyade.aaa.util.NTransaction"/ -->
<param name="transaction" <param name="transaction"
value="fr.dyade.aaa.util.NullTransaction"/> value="fr.dyade.aaa.util.NullTransaction"/>
<param name="engine" value="fr.dyade.aaa.agent.Engine"/> <param name="engine" value="fr.dyade.aaa.agent.Engine"/>
...@@ -3772,7 +3768,7 @@ ...@@ -3772,7 +3768,7 @@
<antcall target="test.run" inheritAll="true"> <antcall target="test.run" inheritAll="true">
<param name="className" value="joram.perfs.Test6"/> <param name="className" value="joram.perfs.Test6"/>
<param name="engine" value="fr.dyade.aaa.agent.Engine"/> <param name="engine" value="fr.dyade.aaa.agent.Engine"/>
<param name="transaction" value="fr.dyade.aaa.util.NTransaction"/> <param name="transaction" value="fr.dyade.aaa.ext.NGTransaction"/>
<param name="jndiconf" value="perfs/jndi.properties"/> <param name="jndiconf" value="perfs/jndi.properties"/>
<param name="a3conf" value="perfs/a3servers1.xml"/> <param name="a3conf" value="perfs/a3servers1.xml"/>
<param name="jvmargs" value="-agentlib:hprof=cpu=samples -DDestination=org.objectweb.joram.client.jms.Queue -DBaseClass=joram.perfs.TcpBaseTest -DMsgTransient=false -DSubDurable=true -DTransacted=false -DNbSender=1 -DNbReceiver=1 -DNbDestination=1 -DNbRound=100 -DNbMsgPerRound=100 -DMsgSize=100000"/> <param name="jvmargs" value="-agentlib:hprof=cpu=samples -DDestination=org.objectweb.joram.client.jms.Queue -DBaseClass=joram.perfs.TcpBaseTest -DMsgTransient=false -DSubDurable=true -DTransacted=false -DNbSender=1 -DNbReceiver=1 -DNbDestination=1 -DNbRound=100 -DNbMsgPerRound=100 -DMsgSize=100000"/>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<!--property name="Transaction.MaxLogFileSize" value="256"/ --> <!--property name="Transaction.MaxLogFileSize" value="256"/ -->
<!--property name="Transaction.minObjInLog" value="0"/ --> <!--property name="Transaction.minObjInLog" value="0"/ -->
<!-- Property for JDBCTransaction, ignored in other case --> <!-- Properties for JDBCTransaction, ignored in other case -->
<property name="org.ow2.joram.jdbc.transaction.driver" value="org.apache.derby.jdbc.EmbeddedDriver"/> <property name="org.ow2.joram.jdbc.transaction.driver" value="org.apache.derby.jdbc.EmbeddedDriver"/>
<property name="org.ow2.joram.jdbc.transaction.url" value="jdbc:derby:MyJoramDB@@sid@@;create=true"/> <property name="org.ow2.joram.jdbc.transaction.url" value="jdbc:derby:MyJoramDB@@sid@@;create=true"/>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<config> <config>
<property name="Transaction" value="fr.dyade.aaa.ext.JDBCTransaction"/> <property name="Transaction" value="fr.dyade.aaa.ext.JDBCTransaction"/>
<property name="Transaction.UseLockFile" value="false"/> <property name="Transaction.UseLockFile" value="false"/>
<property name="org.ow2.joram.jdbc.transaction.driver" value="org.apache.derby.jdbc.EmbeddedDriver"/> <property name="org.ow2.joram.jdbc.transaction.driver" value="org.apache.derby.jdbc.EmbeddedDriver"/>
<property name="org.ow2.joram.jdbc.transaction.url" value="jdbc:derby:MyJoramDB@@sid@@;create=true"/> <property name="org.ow2.joram.jdbc.transaction.url" value="jdbc:derby:MyJoramDB@@sid@@;create=true"/>
<property name="org.ow2.joram.dbtransaction.dbtable" value="MyTable"/> <property name="org.ow2.joram.dbtransaction.dbtable" value="MyTable"/>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment