This content has been marked as final.
Show 4 replies
-
1. Re: Bind address for hypersonic
starksm64 Aug 13, 2005 12:24 AM (in response to bossbean)We don't run hypersonic with a socket binding. It only runs with an inmemory mode by default.
-
2. Re: Bind address for hypersonic
bossbean Aug 13, 2005 2:04 PM (in response to bossbean)However there seems to be an optional configuration to bind it to a socket in the HS deployment file hsqldb-ds.xml. I was wondering if someone did attempt to use this configuration, how you would bind it to a specific address. As mentioned before the following will not work..
...
<connection-url>jdbc:hsqldb:hsql://127.0.0.1:1701</connection-url>
...
127.0.0.1
1701
true
default
false
true
with the aformentioned error. And 'Host' will not work either.
thanks -
3. Re: Bind address for hypersonic
bossbean Aug 13, 2005 2:08 PM (in response to bossbean)Oops that code was parsed out. try this:
...
<connection-url>jdbc:hsqldb:hsql://127.0.0.1:1701</connection-url>
...
127.0.01
1701
true
default
false
true -
4. Re: Bind address for hypersonic
bossbean Aug 13, 2005 2:13 PM (in response to bossbean)Last time. heh. It a learning experience:)
<datasources> ... <connection-url>jdbc:hsqldb:hsql://localhost:1701</connection-url> ... <mbean code="org.jboss.jdbc.HypersonicDatabase" name="jboss:service=Hypersonic"> <attribute name="BindAddress">127.0.0.1</attribute> <attribute name="Port">1701</attribute> <attribute name="Silent">true</attribute> <attribute name="Database">default</attribute> <attribute name="Trace">false</attribute> <attribute name="No_system_exit">true</attribute> </mbean>