Vijay Ivaturi [http://community.jboss.org/people/vkivaturi] created the 
discussion

"JMS client unable to receive messages from server"

To view the discussion, visit: http://community.jboss.org/message/605652#605652

--------------------------------------------------------------
Hi,
I'm using JBoss 5.1.0.GA. There are 2 instances. One instance has ESB and some 
web services running. ESB has JMS listeners configured and triggers the web 
services. This setup works when I use a standalone Java JMS client to send 
request message and receive the reponse from reply queue. 
Now, I moved the same standalone client code to a web application, again 
running on a different JBoss 5.1.0 GA instance. The message is sent 
successfully from client application. On server side, ESB picks it up, calls 
the web service and sends the reply JMS message back.

But the client application is not able to process the reply message. 
Immediately after "TextMessage message = (TextMessage) receiver.receive()", 
following exception is thrown:

16:15:56,125 ERROR [ServerInvoker] Error executing server oneway invocation 
request: InvocationRequest[16a6469, CALLBACK, InternalInvocation[1e63688]] 
org.jboss.remoting.callback.HandleCallbackException: Unknow callback type: 
InvocationRequest[10af156, 
ClientDelivery[JBossMessage[21391428092411916]:PERSISTENT]]         at 
org.jboss.jms.client.remoting.CallbackManager.handleCallback(CallbackManager.java:125)        
 at 
org.jboss.remoting.ServerInvoker.handleInternalInvocation(ServerInvoker.java:1628)        
 at 
org.jboss.remoting.transport.bisocket.BisocketServerInvoker.handleInternalInvocation(BisocketServerInvoker.java:863)        
 at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:878)         at 
org.jboss.remoting.ServerInvoker$1.run(ServerInvoker.java:2026)         at 
org.jboss.jms.server.remoting.DirectThreadPool.run(DirectThreadPool.java:63)        
 at 
org.jboss.remoting.ServerInvoker.handleOnewayInvocation(ServerInvoker.java:2037)        
 at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:861)         at 
org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:744)        
 at 
org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:697)        
 at 
org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:524)        
 at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:232) 

I read in this forum that such issue happens when different versions of JBoss 
are used; but I have both the client and server applications on 5.1.0.GA.

Please let me know if there are any potential classpath or version issues I 
should look out for.

Thanks
Vijay
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/605652#605652]

Start a new discussion in JBoss Messaging at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2042]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to