[jboss-cvs] JBossAS SVN: r108698 - branches/JBoss-AS-6.0.x_ipv6/connector/src/etc/example-config.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Oct 21 11:41:37 EDT 2010
Author: rachmatowicz at jboss.com
Date: 2010-10-21 11:41:37 -0400 (Thu, 21 Oct 2010)
New Revision: 108698
Modified:
branches/JBoss-AS-6.0.x_ipv6/connector/src/etc/example-config/hsqldb-ds.xml
branches/JBoss-AS-6.0.x_ipv6/connector/src/etc/example-config/hsqldb-encrypted-ds.xml
Log:
Update hsqldb URLs for JBAS-8540
Modified: branches/JBoss-AS-6.0.x_ipv6/connector/src/etc/example-config/hsqldb-ds.xml
===================================================================
--- branches/JBoss-AS-6.0.x_ipv6/connector/src/etc/example-config/hsqldb-ds.xml 2010-10-21 15:32:20 UTC (rev 108697)
+++ branches/JBoss-AS-6.0.x_ipv6/connector/src/etc/example-config/hsqldb-ds.xml 2010-10-21 15:41:37 UTC (rev 108698)
@@ -14,7 +14,12 @@
<!-- For server mode db, allowing other processes to use hsqldb over tcp.
This requires the org.jboss.jdbc.HypersonicDatabase mbean.
- <connection-url>jdbc:hsqldb:hsql://${jboss.bind.address}:1701</connection-url>
+ <connection-url>
+ <value-factory bean="ServiceBindingManager" method="getStringBinding">
+ <parameter>Hypersonic</parameter>
+ <parameter>jdbc:hsqldb:hsql://${hostforurl}:${port}</parameter>
+ </value-factory>
+ </connection-url>
-->
<!-- For totally in-memory db, not saved when jboss stops.
The org.jboss.jdbc.HypersonicDatabase mbean is required for proper db shutdown
Modified: branches/JBoss-AS-6.0.x_ipv6/connector/src/etc/example-config/hsqldb-encrypted-ds.xml
===================================================================
--- branches/JBoss-AS-6.0.x_ipv6/connector/src/etc/example-config/hsqldb-encrypted-ds.xml 2010-10-21 15:32:20 UTC (rev 108697)
+++ branches/JBoss-AS-6.0.x_ipv6/connector/src/etc/example-config/hsqldb-encrypted-ds.xml 2010-10-21 15:41:37 UTC (rev 108698)
@@ -16,7 +16,12 @@
<!-- For server mode db, allowing other processes to use hsqldb over tcp.
This requires the org.jboss.jdbc.HypersonicDatabase mbean.
- <connection-url>jdbc:hsqldb:hsql://${jboss.bind.address}:1701</connection-url>
+ <connection-url>
+ <value-factory bean="ServiceBindingManager" method="getStringBinding">
+ <parameter>Hypersonic</parameter>
+ <parameter>jdbc:hsqldb:hsql://${hostforurl}:${port}</parameter>
+ </value-factory>
+ </connection-url>
-->
<!-- For totally in-memory db, not saved when jboss stops.
The org.jboss.jdbc.HypersonicDatabase mbean is required for proper db shutdown
@@ -130,8 +135,14 @@
<!-- Uncomment if you want hsqldb accessed over tcp (server mode)
<mbean code="org.jboss.jdbc.HypersonicDatabase"
name="jboss:service=Hypersonic">
- <attribute name="Port">1701</attribute>
- <attribute name="BindAddress">${jboss.bind.address}</attribute>
+ <attribute name="Port">
+ <value-factory bean="ServiceBindingManager" method="getIntBinding"
+ parameter="jboss:service=Hypersonic"/>
+ </attribute>
+ <attribute name="BindAddress">
+ <value-factory bean="ServiceBindingManager" method="getStringBinding"
+ parameter="jboss:service=Hypersonic"/>
+ </attribute>
<attribute name="Silent">true</attribute>
<attribute name="Database">default</attribute>
<attribute name="Trace">false</attribute>
More information about the jboss-cvs-commits
mailing list