7 Replies Latest reply on Feb 28, 2021 9:59 AM by Rajan Rath

    [ERROR] javax.naming.NoInitialContextException: Cannot instantiate class: org.apache.activemq.jndi.ActiveMQInitialContextFactory [Root exception is java.lang.ClassNotFoundException: org.apache.activemq.jndi.ActiveMQInitialContextFactory]

    User informatica Active Member

      Hello,

       

      Could anybody suggest what's wrong with this ? JMS job fails with below error.

       

      JAVA PLUGIN_1762 [ERROR] javax.naming.NoInitialContextException: Cannot instantiate class: org.apache.activemq.jndi.ActiveMQInitialContextFactory [Root exception is java.lang.ClassNotFoundException: org.apache.activemq.jndi.ActiveMQInitialContextFactory]

       

       

       

       

      JAVA PLUGIN_1762 [ERROR] Failed connecting to JNDI provider: Cannot instantiate class: org.apache.activemq.jndi.ActiveMQInitialContextFactoryException Stack: javax.naming.NoInitialContextException: Cannot instantiate class: org.apache.activemq.jndi.ActiveMQInitialContextFactory [Root exception is java.lang.ClassNotFoundException: org.apache.activemq.jndi.ActiveMQInitialContextFactory]

      at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:685)

      at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:324)

      at javax.naming.InitialContext.init(InitialContext.java:255)

      at javax.naming.InitialContext.<init>(InitialContext.java:227)

      at com.informatica.powerconnect.jms.server.common.JNDIConnection.<init>(JNDIConnection.java:68)

      at com.informatica.powerconnect.jms.server.common.PlginJMSConnection.<init>(PlginJMSConnection.java:76)

      at com.informatica.powerconnect.jms.server.common.PlginJMSConnection$PlginJMSQueueConnection.<init>(PlginJMSConnection.java:355)

      at com.informatica.powerconnect.jms.server.common.PlginJMSConnection.create(PlginJMSConnection.java:118)

      at com.informatica.powerconnect.jms.server.reader.JMSReaderSQDriver.createPartitionDriver(JMSReaderSQDriver.java:570)

      Caused by: java.lang.ClassNotFoundException: org.apache.activemq.jndi.ActiveMQInitialContextFactory

      at java.lang.Class.forNameImpl(Native Method)

      at java.lang.Class.forName(Class.java:403)

      at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:103)

      at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:73)

      at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:683)

      ... 8 more

      Linked Exception Stack: java.lang.ClassNotFoundException: org.apache.activemq.jndi.ActiveMQInitialContextFactory

      at java.lang.Class.forNameImpl(Native Method)

      at java.lang.Class.forName(Class.java:403)

      at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:103)

      at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:73)