developer.jboss.org

We have an application which is deployed on JBoss AS 6.0. A client for this application server runs on JBoss AS 5.1.

Since JBoss AS 5.1 uses "Jboss Messaging" as JMS provider and JBoss AS 6.0 uses "Hornetq", I wonder if they can work together as client and server.

I have tried to make them running together, adding missing jars to the client based on various exceptions I encountered, but I ended up in jar version conflicts. For instance, I got the following exception:

Caused by: java.lang.NoSuchMethodException: org.jboss.deployment.security.EjbJaccPolicy.<init>(java.lang.String, org.jboss.metadata.ejb.jboss.JBossMetaData, java.lang.Boolean)

So my question is: is it at all possible to do remote JNDI lookups between JBoss AS 5.1 and JBoss AS 6.0, and if so is it possible to post messages to a remote HornetQ queue from JBoss AS 5.1?

Read the original on developer.jboss.org ↗