[jboss-jira] [JBoss JIRA] (AS7-6461) Unable to lookup JMSConnectionFactory over IP
Aleksey Potapov (JIRA)
jira-events at lists.jboss.org
Wed Feb 6 05:28:51 EST 2013
[ https://issues.jboss.org/browse/AS7-6461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aleksey Potapov updated AS7-6461:
---------------------------------
Attachment: jboss-as-messaging.patch
messaging patch
> Unable to lookup JMSConnectionFactory over IP
> ---------------------------------------------
>
> Key: AS7-6461
> URL: https://issues.jboss.org/browse/AS7-6461
> Project: Application Server 7
> Issue Type: Feature Request
> Components: JMS
> Affects Versions: 7.1.1.Final
> Reporter: Aleksey Potapov
> Assignee: Jeff Mesnil
> Attachments: error.log, jboss-as-messaging.patch, test.client.zip
>
>
> 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:
> {code:xml|title=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>
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list