3 Replies Latest reply on Jan 9, 2002 12:19 PM by arjav_parikh

    jndi lookup problem while getting queueConnectionFactory

    arjav_parikh

      I get following errors while I do InitialContext() to get JNDI initial context.

      Could not create JNDI context: javax.naming.NoInitialContextException: Cannot instantiate class: org.jboss.mq.SpyConnectionFactory [Root exception is java.lang.InstantiationException: org/jboss/mq/SpyConnectionFactory]

      Connection problem: javax.naming.NoInitialContextException: Cannot instantiate class: org.jboss.mq.SpyConnectionFactory [Root exception is java.lang.InstantiationException: org/jboss/mq/SpyConnectionFactory]

      This happens when I run my code that uses SampleUtilities.java that is supplied in the samples.

      If I run samples that are supplied with JBossMQ, it seems to be working fine. It is late and I am pretty much blank.

      Can somebody provide a hint?

      Thanks a bunch for the help.

      Best Regards,
      arjav