1 Reply Latest reply: Jan 16, 2013 11:35 PM by Kishore Rout RSS

    ClassNotFoundException: oracle.xml.parser.v2.NSResolver at WebLogic Start

    Sujay Patil
      Hello,

      I am getting below exception at startup of application on weblogic 10.3.6,
      Caused By: java.lang.ClassNotFoundException: oracle.xml.parser.v2.NSResolver
           at java.lang.ClassNotFoundException.<init>(ClassNotFoundException.java:77)
           at java.net.URLClassLoader.findClass(URLClassLoader.java:385)
           at java.lang.ClassLoader.loadClass(ClassLoader.java:653)
           at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:346)
           at java.lang.ClassLoader.loadClass(ClassLoader.java:619)
           at java.lang.J9VMInternals.verifyImpl(Native Method)
           at java.lang.J9VMInternals.verify(J9VMInternals.java:72)
           at java.lang.J9VMInternals.initialize(J9VMInternals.java:134)
           at java.lang.J9VMInternals.newInstanceImpl(Native Method)
           at java.lang.Class.newInstance(Class.java:1328)
           at oracle.toplink.internal.security.PrivilegedAccessHelper.newInstanceFromClass(PrivilegedAccessHelper.java:335)
           at oracle.toplink.platform.xml.XMLPlatformFactory.getXMLPlatform(XMLPlatformFactory.java:95)
           at oracle.toplink.tools.sessionconfiguration.XMLSessionConfigLoader.loadDocument(XMLSessionConfigLoader.java:331)
           at oracle.toplink.tools.sessionconfiguration.XMLSessionConfigLoader.loadDocument(XMLSessionConfigLoader.java:298)
      The Exception is coming when WebLogic is trying to read the database connection for Toplink. Exception is throw when loadDocument(getClass().getClassLoader()); is called on toplink XMLSessionConfigLoader to configure toplink session.

      I tried to put xmlparserv2.jar in Domain/lib directory, but that didnt work.

      Any way to resolve this error?

      - Sujay