Hi,
I am using JBoss 2.4.4 and have written a class that implements MessageListener. The class has an instance created inside the init method of a servlet, which is deployed on Tomcat 3.2.4 . I am getting various class not found errors and have been copying various jboss jars over to Tomcat, such as jbossmq, etc.
Can anyone tell me what jars I need on the client in order to use JBossMQ ? I have checked the online manual (Ch.08), but it only goes up to version 2.4.1
I am at present getting this error (at bottom) in Tomcat, but I suspect it is due to lack of a jar. By the way, I have a publisher working as a standalone, but I just have all the jboss jars in my classpath (lazy I know!)
many thanks
dan
-----------------------
a.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:195)
at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.jav
a:45)
at javax.naming.spi.NamingManager.getObjectFactoryFromReference(NamingMa
nager.java:135)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:3
05)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:437)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:333)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:421)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:333)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
--------------------------------------