Are you sure that the same jboss-client.jar is used? You might see it from the initial INFO messages where you find several library versions
Thanks Wolf-Dieter for your quick reply.
Yes I am sure about here is the log of local run where it succeds.
Dec 5, 2013 3:03:58 PM org.xnio.Xnio <clinit>
INFO: XNIO Version 3.0.3.GA
Dec 5, 2013 3:03:58 PM org.xnio.nio.NioXnio <clinit>
INFO: XNIO NIO Implementation Version 3.0.3.GA
Dec 5, 2013 3:03:58 PM org.jboss.remoting3.EndpointImpl <clinit>
INFO: JBoss Remoting version 3.2.3.GA
1. Sent TextMessage to the Queue
2. Sent ObjectMessage to the Queue
Hello Wolf-Dieter Fink,
Problem got resolved.
when I run jboss with -b 0.0.0.0 option it shows Server and client versions incompatible Exception.
Then I changed the option to -b 172.24.1.25(Server IP) and it worked.
The problem was related to JNDI binding but it appeared like Version incompatibility.