[jboss-cvs] JBossAS SVN: r109579 - 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
Tue Nov 30 17:30:39 EST 2010
Author: rachmatowicz at jboss.com
Date: 2010-11-30 17:30:38 -0500 (Tue, 30 Nov 2010)
New Revision: 109579
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 (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-11-30 22:27:05 UTC (rev 109578)
+++ branches/JBoss-AS-6.0.x-ipv6/connector/src/etc/example-config/hsqldb-ds.xml 2010-11-30 22:30:38 UTC (rev 109579)
@@ -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-11-30 22:27:05 UTC (rev 109578)
+++ branches/JBoss-AS-6.0.x-ipv6/connector/src/etc/example-config/hsqldb-encrypted-ds.xml 2010-11-30 22:30:38 UTC (rev 109579)
@@ -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