Are server1 and server2 running the same version of jbossas? What version?
Also, did you replace JBossMQ with JBoss Messaging? I ask because the missing class
belongs to JBossMQ. If you did not replace JBossMQ with JBoss Messaging, then you have the
wrong forum.
According to this line:
properties.put(Context.PROVIDER_URL, "jnp://127.0.0.1:1099");
you will end up with the connection factory on the local server (server1), not the remote
server (server2). You need to change that to use the hostname of the server2.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4156089#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...