4 Replies Latest reply: Dec 10, 2012 10:17 PM by Jeets-Oracle RSS

    deploying war in Weblogic 10 ; NoClassDefFoundError: org/apache/xml/utils/D

    773020
      How do I set a jar in setDomainEnv.cmd ? C:\mydirectory\repository\xalan\jars\xalan-2.7.0.jar

      If I set this one, will it resolve?

      <27-Nov-2012 6:08:26 o'clock PM PST> <Notice> <Log Management> <BEA-170019> <The server log file C:\bea10\user_projects\domains\mediation_te
      st\servers\MediationServer\logs\MediationServer.log is opened. All server side log events will be written to this file.>
      <27-Nov-2012 6:08:29 o'clock PM PST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
      <27-Nov-2012 6:08:31 o'clock PM PST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
      <27-Nov-2012 6:08:31 o'clock PM PST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
      <27-Nov-2012 6:08:34 o'clock PM PST> <Error> <HTTP> <BEA-101216> <Servlet: "action" failed to preload on startup in Web application: "tel-reference_ods-usage-web.war".
      java.lang.ExceptionInInitializerError
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at java.lang.Class.newInstance0(Class.java:355)
      Truncated. see log file for complete stacktrace

      Caused By: org.apache.commons.logging.LogConfigurationException: java.lang.NoClassDefFoundError: org/apache/xml/utils/DefaultErrorHandler (Caused by java.lang.NoClassDefFoundError: org/apache/xml/utils/DefaultErrorHandler)
      at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)
      at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
      at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
      at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
      at org.apache.struts.action.ActionServlet.<clinit>(ActionServlet.java:228)
      Truncated. see log file for complete stacktrace

      Caused By: java.lang.NoClassDefFoundError: org/apache/xml/utils/DefaultErrorHandler
      at com.tel.framework.config.PropertyNodeTypedXmlParser.parse(PropertyNodeTypedXmlParser.java:106)
      at com.tel.framework.config.PropertyNodeTypedXmlParser.parse(PropertyNodeTypedXmlParser.java:71)
      at com.tel.framework.config.file.FileXmlProvider.loadConfigurationComponent(FileXmlProvider.java:105)
      at com.tes.framework.config.ConfigProvider.loadConfiguration(ConfigProvider.java:120)
      at com.te.framework.config.ConfigContext.init(ConfigContext.java:176)
      Truncated. see log file for complete stacktrace

      Caused By: java.lang.ClassNotFoundException: org.apache.xml.utils.DefaultErrorHandler
      at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:280)
      at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:253)
      at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
      Truncated. see log file for complete stacktrace
      >
      <27-Nov-2012 6:08:34 o'clock PM PST> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application 'tel-reference_ods-usage-web'.
      weblogic.application.ModuleException: [HTTP:101216]Servlet: "action" failed to preload on startup in Web application: "tel-reference_ods-usage-web.war".
      java.lang.ExceptionInInitializerError
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at java.lang.Class.newInstance0(Class.java:355)
      at java.lang.Class.newInstance(Class.java:308)
      at weblogic.servlet.internal.WebComponentContributor.getNewInstance(WebComponentContributor.java:225)
      at weblogic.servlet.internal.WebComponentContributor.createServletInstance(WebComponentContributor.java:249)
      at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:255)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
      at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
      at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
      at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
      at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1976)
      at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1950)
      at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1869)
      at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3126)
      at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
      at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
      at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
      at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
      at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
      at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
      at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
      at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
      at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
      at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
      at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
      at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)