[jboss-user] [Installation, Configuration & Deployment] - Naming service problem

czaszek do-not-reply at jboss.com
Mon Jan 8 02:41:10 EST 2007

Hi All

I run jboss-4.0.5.GA, I am trying to integrate the Jboss with WebSphere MQ, using the Jboss Wiki page:

When running the test:
$ant wsmq-tests
It tries to connect to the JBoss bootstrap port and throws exception:

[java] javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused: connect]]]

I run the default configuration in:
I have

<mbean code="org.jboss.naming.NamingService"     name="jboss:service=Naming"
  | xmbean-dd="resource:xmdesc/NamingService-xmbean.xml">
  | <attribute name="CallByValue">false</attribute>
  | <attribute name="Port">1099</attribute>
  | <attribute name="BindAddress">${jboss.bind.address}</attribute>	

unfortunately when I do a netstat -an I do NOT see the 1099 port.
During the startup process of the server all resources binds properly,
so I have no idea why it nothing is listening on this port.
When I look into JMX console and check: 
JBOSS-> service=Naming, the port I have is 1882. 
I am not sure whether this is the place where 1099 should be, or is it placed somewhere else.
Is there any problem with accessing 1099 port on WinXP, that it can not bind to it?
I am new in Jboss, thanks in advance for any help.

Best Regards

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998868#3998868

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998868

More information about the jboss-user mailing list