-
Feature Request
-
Resolution: Duplicate
-
Major
-
7.1.1.Final
-
None
I launch JBossAS 7.1.1.Final with standalone-full profile. I have server with hostname "test-server" and IP-address "192.168.216.82". Client knows nothing about server's hostname (only IP-address). When I try to connect and lookup JMSConnectionFactory (example project attached) I've got an exception "java.net.UnknownHostException: test-server" (full stacktrace is attached). In JBossAS 6 it was possible to connect to server over IP-address (not hostname). Is this problem caused by misconfiguration in standalone-full.xml?
My local solution is to make a patch for jboss-messaging project (is attached) and to add host configuaration in messaging subsystem of standalone-full.xml:
<subsystem xmlns="urn:jboss:domain:messaging:1.1"> ... <connectors> <netty-connector name="netty" socket-binding="messaging"> <param key="host" value="${jboss.bind.address}"/> </netty-connector> <netty-connector name="netty-throughput" socket-binding="messaging-throughput"> <param key="host" value="${jboss.bind.address}"/> ... </netty-connector> ... </connectors> ... </subsystem>
- duplicates
-
AS7-6078 Allow expressions in messaging subsystem
- Closed