1 of 1 people found this helpful
you havent given us much info on why the client cannot create a session factory, however, the jndi configuration in standalone is on the *-beans.xml file, this returns the connector to the client which is then used to create the connection.
Thanks for the information.
In fact the problem was related to the -beans.xml, as you commented.
The configuration that worked for me was:
In JNDI bind address used the IP of the hornetq server machine (no localhost, 127.0.0.1, or any other thing)
In connectors and acceptors y use the host and port properties placing tested non firewalled port and 0.0.0.0 host in case of the acceptor, and localhost (or server ip) in case of connector.
The problem was a mix between bad configuration and mad network policies but it is solved now.
Thanks anyway for your time.