-
1. Re: classloader issue
peterj Jun 5, 2008 3:17 PM (in response to randiz)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. -
2. Re: classloader issue
randiz Jun 5, 2008 3:23 PM (in response to randiz)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)
randiz -
3. Re: classloader issue
randiz Jun 5, 2008 3:30 PM (in response to randiz)also server1 is using jboss4.2.2 GA and the server2 is using jbossesb-server-4.2.1GA messaging queue.
-
4. Re: classloader issue
peterj Jun 5, 2008 3:48 PM (in response to randiz)4.2.2 comes with JBossMQ. I am not sure what jbossesb uses.
-
5. Re: classloader issue
randiz Jun 5, 2008 7:39 PM (in response to randiz)
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 ?
thanks
randiz -
6. Re: classloader issue
randiz Jun 5, 2008 8:47 PM (in response to randiz)
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. -
7. Re: classloader issue
peterj Jun 5, 2008 11:13 PM (in response to randiz)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.