[jboss-user] [JBoss Messaging Development] New message: "Re: How to use Java to connect to JBossMQ server by JNP Protocal?"

Adrian Brock do-not-reply at jboss.com
Thu Jan 14 23:15:28 EST 2010


User development,

A new message was posted in the thread "How to use Java to connect to JBossMQ server by JNP Protocal?":

http://community.jboss.org/message/520215#520215

Author  : Adrian Brock
Profile : http://community.jboss.org/people/adrian@jboss.org

Message:
--------------------------------------------------------------
I don't think its a network problem since you've managed to do a lookup in jndi for the ConnectionFactory on port 1099
It is the creation of the jms connection via jboss-remoting that is failing.
 
But, where are you getting your jboss-remoting.jar from on the client?
 
According to this, jboss-remoting is 2.5.1 in JBoss 5.1.0.GA
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/tags/JBoss_5_1_0_GA/component-matrix/pom.xml?revision=89234&view=markup
 
In 2.5.1, the error is thrown on line 276 NOT 273 as in your stacktrace.
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossremoting/remoting2/tags/2.5.1/src/main/org/jboss/remoting/transport/bisocket/BisocketClientInvoker.java?revision=5049&view=markup
 
So you're picking it up from the wrong place somehow.

You'll probably get a better response if you post in the jboss-remoting forum (after you've searched to see if it is already answered :-).
Configuring log4j properly on your client, probably wouldn't hurt either.

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/520215#520215




More information about the jboss-user mailing list