Forum Stats

  • 3,838,708 Users
  • 2,262,394 Discussions
  • 7,900,739 Comments

Discussions

ear deployment failing with javax.naming.NoInitialContextException: Cannot instantiate class: com.ib

ear deployment failing with javax.naming.NoInitialContextException: Cannot instantiate class: com.ib

Caused by: java.lang.ClassNotFoundException: com.ibm.ejs.ns.jndi.CNInitialContextFactory

   at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:1035)

   at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:996)

   at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:101)

   at weblogic.utils.classloaders.GenericClassLoader.doFindClass(GenericClassLoader.java:617)

   at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:547)

   at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:500)

   at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:71)

   at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:53)

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

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

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

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

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

   ... 64 more