This content has been marked as final.
Show 4 replies
-
1. Re: HornetQException[errorCode=2 message=Cannot connect to server(s). Tried with all available servers.]
clebert.suconic Jul 27, 2011 11:36 AM (in response to ps_dash)Change to a real ip on acceptors and connectors.
-
2. Re: HornetQException[errorCode=2 message=Cannot connect to server(s). Tried with all available servers.]
ps_dash Jul 29, 2011 4:53 AM (in response to clebert.suconic)Thanx celbert. it worked
-
3. Re: HornetQException[errorCode=2 message=Cannot connect to server(s). Tried with all available servers.]
newway Feb 23, 2012 10:34 AM (in response to ps_dash)hi,
I get this error when I try to connect to jboss 7.1 from a satandalone client - the code is attached to another thread I opened about it - JMS Remote Client not able to connect
I have 2 questions:
- since in jboss 7.1 there are different configuration files, where should I incorporate this data in the standalone.xml
- isn't there a possibility to work without specifying the IPs? in the system I have it is not reasonable that each time a remote machine will be added we will need to add it's IP
thanks,
Noa
-
4. Re: HornetQException[errorCode=2 message=Cannot connect to server(s). Tried with all available servers.]
fran_jo Apr 29, 2013 10:00 AM (in response to clebert.suconic)Ok,
I am experience the same problem. And sorry for missunderstanding but..., what do you mean with a real IP? Do I have to add a connector and a acceptor with the same IP and port, in the hornetq-configuration.xml, as in the JNDI server bean, from hornetq-beans.xml?
Thanks!