-
1. Re: Cannot connect via JMS with remote connection
wdfink Sep 20, 2012 4:57 AM (in response to venkman)I'm not sure, but I suppose the hornetQ will use a separate connection and this is suppressed by configuration of the VM or a firewall.
Where do you run the server and client, which OS? is there a firewall active?
What if you use two real machines?
-
2. Re: Cannot connect via JMS with remote connection
venkman Sep 20, 2012 5:32 AM (in response to wdfink)I'm using the client on a real Win7 64bit OS and the Server on an VBox generated Ubuntu LTS 64bit guest system, both with Java7 64bit, but
after 2 days of configurating, i got it, but i don't understand the "why" to 100%:
When i bind the JBoss to 0.0.0.0 i have to insert the following in standalone-full.xml:
In the connectors of the hornetq-erver in subsystem "messaging":
<connector name="remote-jms">
<factory-class>org.hornetq.core.remoting.impl.netty.NettyConnectorFactory</factory-class>
<param key="host" value="servers own IP-address"/> aka 192.1.....
<param key="port" value="5445"/>
</connector>
and
<connector-ref connector-name="remote-jms"/> to the connectors of the RemoteConnectionFactory.
if i start jboss with "-b serversown-ip-adress" aka 192.1...... it works out of the box.
but why???
Greetings
VM
-
3. Re: Cannot connect via JMS with remote connection
jbertram Sep 20, 2012 9:57 AM (in response to venkman)Here's why: https://issues.jboss.org/browse/HORNETQ-952. I fixed this a couple of months ago, and the fix should be in the AS7 nightlies now.