0 Replies Latest reply: Mar 7, 2013 3:32 AM by 931737 RSS

    oracle.classloader.util.AnnotatedNoClassDefFoundError:

    931737
      I am getting following error :

      oracle.classloader.util.AnnotatedNoClassDefFoundError:

           Missing class: org.apache.xml.serializer.ExtendedContentHandler

           Dependent class: org.apache.xalan.processor.XSLTSchema
           Loader: global.tag.libraries:1.0
           Code-Source: /D:/Alpha_Rom/OtpSetup/EXTJARS/jars/xalan.jar
           Configuration: <code-source> in /D:/product/10.1.3/OracleAS_1/j2ee/OTP/config/server.xml

      The missing class is not available from any code-source or loader in the system.

           at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2051) [D:/product/10.1.3/OracleAS_1/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@10469011]     at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1665) [D:/product/10.1.3/OracleAS_1/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@10469011]     at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1621) [D:/product/10.1.3/OracleAS_1/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@10469011]     at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1606) [D:/product/10.1.3/OracleAS_1/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@10469011]     at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319) [jre bootstrap, by jre.bootstrap]     at org.apache.xalan.processor.XSLTSchema.build (XSLTSchema.java:325) [D:/Alpha_Rom/OtpSetup/EXTJARS/jars/xalan.jar (from <code-source> in /D:/product/10.1.3/OracleAS_1/j2ee/OTP/config/server.xml), by global.tag.libraries:1.0]     at org.apache.xalan.processor.XSLTSchema.<init> (XSLTSchema.java:72) [D:/Alpha_Rom/OtpSetup/EXTJARS/jars/xalan.jar (from <code-source> in /D:/product/10.1.3/OracleAS_1/j2ee/OTP/config/server.xml), by global.tag.libraries:1.0]     at org.apache.xalan.processor.StylesheetHandler.<init> (StylesheetHandler.java:1290) [D:/Alpha_Rom/OtpSetup/EXTJARS/jars/xalan.jar (from <code-source> in /D:/product/10.1.3/OracleAS_1/j2ee/OTP/config/server.xml), by global.tag.libraries:1.0]     at org.apache.xalan.processor.TransformerFactoryImpl.newTemplatesHandler (TransformerFactoryImpl.java:376) [D:/Alpha_Rom/OtpSetup/EXTJARS/jars/xalan.jar (from <code-source> in /D:/product/10.1.3/OracleAS_1/j2ee/OTP/config/server.xml), by global.tag.libraries:1.0]     at org.apache.xalan.processor.TransformerFactoryImpl.newTemplates (TransformerFactoryImpl.java:867) [D:/Alpha_Rom/OtpSetup/EXTJARS/jars/xalan.jar (from <code-source> in /D:/product/10.1.3/OracleAS_1/j2ee/OTP/config/server.xml), by global.tag.libraries:1.0]     at org.apache.xalan.processor.TransformerFactoryImpl.newTransformer (TransformerFactoryImpl.java:776) [D:/Alpha_Rom/OtpSetup/EXTJARS/jars/xalan.jar (from <code-source> in /D:/product/10.1.3/OracleAS_1/j2ee/OTP/config/server.xml), by global.tag.libraries:1.0]     at com.iflex.fcat.servlet.XalanHTMLEncodeXslProcessor.generateResponse (XalanHTMLEncodeXslProcessor.java:118) [D:/FCDB_Workspace/OTP/bin/ (from <code-source> in /D:/product/10.1.3/OracleAS_1/j2ee/OTP/config/server.xml), by global.tag.libraries:1.0]     at com.iflex.fcat.servlet.DefaultContentGenerator.writeResponse (DefaultContentGenerator.java:290) [D:/FCDB_Workspace/OTP/bin/ (from <code-source> in /D:/product/10.1.3/OracleAS_1/j2ee/OTP/config/server.xml), by global.tag.libraries:1.0]     at com.iflex.fcat.servlet.DefaultContentGenerator.handleContent (DefaultContentGenerator.java:246) [D:/FCDB_Workspace/OTP/bin/ (from <code-source> in /D:/product/10.1.3/OracleAS_1/j2ee/OTP/config/server.xml), by global.tag.libraries:1.0]     at com.iflex.fcat.servlet.EntryServlet.writeResponse (EntryServlet.java:1221) [D:/FCDB_Workspace/OTP/bin/ (from <code-source> in /D:/product/10.1.3/OracleAS_1/j2ee/OTP/config/server.xml), by global.tag.libraries:1.0]     at com.iflex.fcat.servlet.EntryServlet.processRequest (EntryServlet.java:406) [D:/FCDB_Workspace/OTP/bin/ (from <code-source> in /D:/product/10.1.3/OracleAS_1/j2ee/OTP/config/server.xml), by global.tag.libraries:1.0]     at com.iflex.fcat.servlet.EntryBase.doPost (EntryBase.java:693) [D:/FCDB_Workspace/OTP/bin/ (from <code-source> in /D:/product/10.1.3/OracleAS_1/j2ee/OTP/config/server.xml), by global.tag.libraries:1.0]     at javax.servlet.http.HttpServlet.service (HttpServlet.java:763) [D:/product/10.1.3/OracleAS_1/j2ee/home/lib/servlet.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in D:\product\10.1.3\OracleAS_1\j2ee\home\oc4j.jar), by api:1.4.0]     at javax.servlet.http.HttpServlet.service (HttpServlet.java:856) [D:/product/10.1.3/OracleAS_1/j2ee/home/lib/servlet.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in D:\product\10.1.3\OracleAS_1\j2ee\home\oc4j.jar), by api:1.4.0]     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.invoke (ServletRequestDispatcher.java:719) [D:/product/10.1.3/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\product\10.1.3\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forwardInternal (ServletRequestDispatcher.java:376) [D:/product/10.1.3/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\product\10.1.3\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest (HttpRequestHandler.java:870) [D:/product/10.1.3/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\product\10.1.3\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest (HttpRequestHandler.java:451) [D:/product/10.1.3/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\product\10.1.3\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.AJPRequestHandler.run (AJPRequestHandler.java:299) [D:/product/10.1.3/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\product\10.1.3\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.AJPRequestHandler.run (AJPRequestHandler.java:187) [D:/product/10.1.3/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\product\10.1.3\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run (ServerSocketReadHandler.java:260) [D:/product/10.1.3/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\product\10.1.3\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run (ReleasableResourcePooledExecutor.java:303) [D:/product/10.1.3/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\product\10.1.3\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at java.lang.Thread.run (Thread.java:595) [jre bootstrap, by jre.bootstrap]

      After login i am getting the above exception[OC4J 10.1.3 instance ].
      In server.xml i have mentioned the path where all jars are present including xalan.jar.

      I am not understanding the reason why it is not working .As the same setup is being done other development machine , there it is working perfectly without any errors but in my machine its not .

      Kindly help me out ..

      Edited by: 928734 on Mar 7, 2013 1:30 AM