1 Reply Latest reply on Feb 28, 2006 11:41 AM by Endre Gaspar

    Cannot load com.ibm.mq.jms.MQConnectionFactoryFactory in JBo

    Endre Gaspar Newbie

      Hello dear reader,

      Maybe you can help me!
      I'm trying to send a message to WebSphere-MQ and I'm using the MQConnectionFactoryFactory class, which is defined in the JNDI tree.
      When I'm trying to have a reference to it throuh JNDI I'm getting the
      exception from below.

      Do you have some experience with this issue?

      Best Regards!!

      java.lang.NoClassDefFoundError
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:164)
      at com.ibm.mq.jms.MQConnectionFactoryFactory.class$(MQConnectionFactoryFactory.java:71)
      at com.ibm.mq.jms.MQConnectionFactoryFactory.getObjectInstance(MQConnectionFactoryFactory.java:71)
      at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
      at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1110)
      at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1127)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:690)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
      at javax.naming.InitialContext.lookup(InitialContext.java:351)
      at at.msit.si.handler.jms.resource.ResourceFinder.getJmsConnectionFactory(ResourceFinder.java:214)
      .................................
      my code
      .................................