Commit 9d54bf9e authored by Andre Freyssinet's avatar Andre Freyssinet

Adds a target allowing to launch a server with JMS Healthcheck component.

parent c80de020
...@@ -133,6 +133,17 @@ ...@@ -133,6 +133,17 @@
<param name="osgi.conf" value="${conf.dir}/config.properties"/> <param name="osgi.conf" value="${conf.dir}/config.properties"/>
</antcall> </antcall>
</target> </target>
<!-- Start a single server with NGTransaction and JMS Healthcheck component -->
<target name="jmscheck_server" depends="init"
description="--> Starts a single server with NGTransaction and JMS Healthcheck component">
<antcall target="server">
<param name="sid" value="0"/>
<param name="a3.conf" value="${conf.dir}/ngt_a3servers.xml"/>
<param name="osgi.conf" value="${conf.dir}/config_jmscheck.properties"/>
</antcall>
</target>
<!-- Start a single server with DerbyTransaction --> <!-- Start a single server with DerbyTransaction -->
<!-- Be careful: Needs the derby.jar bundle --> <!-- Be careful: Needs the derby.jar bundle -->
...@@ -160,6 +171,9 @@ ...@@ -160,6 +171,9 @@
<jvmarg value="-Dorg.ow2.joram.jdbc.transaction.dbname=MyJoramDB"/> <jvmarg value="-Dorg.ow2.joram.jdbc.transaction.dbname=MyJoramDB"/>
<jvmarg value="-Dorg.ow2.joram.jdbc.transaction.user=user1"/> <jvmarg value="-Dorg.ow2.joram.jdbc.transaction.user=user1"/>
<jvmarg value="-Dorg.ow2.joram.jdbc.transaction.password=pass1"/> <jvmarg value="-Dorg.ow2.joram.jdbc.transaction.password=pass1"/>
<jvmarg value="-Dorg.ow2.joram.jdbc.transaction.connect_retry_count=10"/>
<jvmarg value="-Dorg.ow2.joram.jdbc.transaction.connect_retry_max_period=120000"/>
<jvmarg value="-Dorg.ow2.joram.jdbc.transaction.connect_retry_min_delay=5000"/>
<jvmarg value="-Dorg.ow2.joram.jdbc.transaction.dbinit=CREATE TABLE MyTable (name VARCHAR(256), content BLOB(16M), PRIMARY KEY(name))"/> <jvmarg value="-Dorg.ow2.joram.jdbc.transaction.dbinit=CREATE TABLE MyTable (name VARCHAR(256), content BLOB(16M), PRIMARY KEY(name))"/>
</java> </java>
</target> </target>
......
Markdown is supported
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