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:
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.
I am using jboss 4.2.2GA without any changes so I dont know whether its using JBossMQ or jboss messaging. Both servers exist on localhost but use different ports. The hostname and port of destination queue are correct. ( otherwise I would have gotten queue not found exception)
also server1 is using jboss4.2.2 GA and the server2 is using jbossesb-server-4.2.1GA messaging queue.
4.2.2 comes with JBossMQ. I am not sure what jbossesb uses.
I tried to install jbossmessaging in 4.2.2GA as pre wiki but get the following message :
16:38:37,400 WARN [ServiceController] Problem starting service jboss.messaging:service=ServerPeer
java.lang.IllegalArgumentException: Unable to find operation getInvokerLocator()
Any clue as to how I can get it work ?
ok I succesfully managed to send a message to quue on server 2. AllI ahd to do was move over jboss-messaging.jar and jboss-messaging-client.jar into jboss 4.2.2GA install. Thanx peterJ for you input.
Glad you got it up and running.
I was f=going to ask which version of messaging you installed and the steps you used to install it. The util/release-admin.xml ant script that comes with messaging should have copied those jars for you.