0 Replies Latest reply on Jan 8, 2012 9:56 PM by joe ronnie

    Help on war deployment--java.lang.SecurityException: class "org.w3c.dom.DOMErrorHandler"'s signer information does not match signer information of other classes in the same package

    joe ronnie Newbie

      Hi,

       

      At present, I am deploying an war package in the JBoss EAP 5.1.0, and got below exception. In my application, we use xercesImpl-2.0.2.jar which contains org.w3c.dom.DOMErrorHandler. Initially, I assume it’s jar file confilication, however, I cannot find any jar file in JBoss which contain the class as well.  If need more information, i will pull it out. Thanks a lot.

       

      Exception in log file:

      2012-01-09 09:19:10,093 WARN  [org.jboss.detailed.classloader.ClassLoaderManager] (main) Unexpected error during load of:org.w3c.dom.DOMErrorHandler

      1. java.lang.SecurityException: class "org.w3c.dom.DOMErrorHandler"'s signer information does not match signer information of other classes in the same package

                      at java.lang.ClassLoader.checkCerts(ClassLoader.java:807)

                      at java.lang.ClassLoader.preDefineClass(ClassLoader.java:488)

                      at java.lang.ClassLoader.defineClassCond(ClassLoader.java:626)

                      at java.lang.ClassLoader.defineClass(ClassLoader.java:616)

                      at org.jboss.classloader.spi.base.BaseClassLoader.access$200(BaseClassLoader.java:67)

                      at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:633)

                      at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:592)

                      at java.security.AccessController.doPrivileged(Native Method)

                      at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:591)

                      at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:568)

                      at org.jboss.classloader.spi.base.BaseDelegateLoader.loadClass(BaseDelegateLoader.java:135)

                      at org.jboss.classloader.spi.filter.FilteredDelegateLoader.loadClass(FilteredDelegateLoader.java:131)

                      at org.jboss.classloader.spi.base.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:455)

                      at org.jboss.classloader.spi.base.ClassLoaderManager.nextTask(ClassLoaderManager.java:267)

                      at org.jboss.classloader.spi.base.ClassLoaderManager.process(ClassLoaderManager.java:166)

                      at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:287)

                      at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:1163)

                      at org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:862)

                      at org.jboss.classloader.spi.base.BaseClassLoader.doLoadClass(BaseClassLoader.java:502)

                      at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:447)

                      at java.lang.ClassLoader.loadClass(ClassLoader.java:248)

                      at java.lang.ClassLoader.defineClass1(Native Method)

                      at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)

                      at java.lang.ClassLoader.defineClass(ClassLoader.java:616)

                      at org.jboss.classloader.spi.base.BaseClassLoader.access$200(BaseClassLoader.java:67)

                      at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:633)

                      at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:592)

                      at java.security.AccessController.doPrivileged(Native Method)

                      at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:591)

                      at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:568)

                      at org.jboss.classloader.spi.base.BaseDelegateLoader.loadClass(BaseDelegateLoader.java:135)

                      at org.jboss.classloader.spi.filter.FilteredDelegateLoader.loadClass(FilteredDelegateLoader.java:131)

                      at org.jboss.classloader.spi.base.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:455)

                      at org.jboss.classloader.spi.base.ClassLoaderManager.nextTask(ClassLoaderManager.java:267)

                      at org.jboss.classloader.spi.base.ClassLoaderManager.process(ClassLoaderManager.java:166)

                      at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:287)

                      at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:1163)

                      at org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:862)

                      at org.jboss.classloader.spi.base.BaseClassLoader.doLoadClass(BaseClassLoader.java:502)

                      at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:447)

                      at java.lang.ClassLoader.loadClass(ClassLoader.java:248)

                      at org.apache.xerces.dom.CoreDocumentImpl.<init>(CoreDocumentImpl.java:173)

                      at org.apache.xerces.dom.DocumentImpl.<init>(DocumentImpl.java:173)

                      at org.apache.xerces.dom.DeferredDocumentImpl.<init>(DeferredDocumentImpl.java:194)

                      at org.apache.xerces.dom.DeferredDocumentImpl.<init>(DeferredDocumentImpl.java:189)

                      at org.apache.xerces.parsers.AbstractDOMParser.startDocument(AbstractDOMParser.java:712)

                      at org.apache.xerces.impl.xs.XMLSchemaValidator.startDocument(XMLSchemaValidator.java:480)

                      at org.apache.xerces.impl.XMLNamespaceBinder.startDocument(XMLNamespaceBinder.java:444)

                      at org.apache.xerces.impl.dtd.XMLDTDValidator.startDocument(XMLDTDValidator.java:644)

                      at org.apache.xerces.impl.XMLDocumentScannerImpl.startEntity(XMLDocumentScannerImpl.java:431)

                      at org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.java:878)

                      at org.apache.xerces.impl.XMLEntityManager.startDocumentEntity(XMLEntityManager.java:741)

                      at org.apache.xerces.impl.XMLDocumentScannerImpl.setInputSource(XMLDocumentScannerImpl.java:260)

                      at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:498)

                      at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:580)

                      at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)

                      at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:253)

                      at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:201)

                      at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)

                      at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396)

                      at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)

                      at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)

                      at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)

                      at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)

                      at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)

                      at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)

                      at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)

                      at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)

                      at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:422)

                      at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)

                      at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)

                      at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)

                      at org.springframework.web.context.ContextLoaderServlet.init(ContextLoaderServlet.java:81)

                      at javax.servlet.GenericServlet.init(GenericServlet.java:212)

                      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)

                      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:950)

                      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4122)

                      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4417)

                      at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:313)

                      at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:145)

                      at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)

                      at org.jboss.web.deployers.WebModule.startModule(WebModule.java:122)

                      at org.jboss.web.deployers.WebModule.start(WebModule.java:97)

                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                      at java.lang.reflect.Method.invoke(Method.java:597)

                      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)

                      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)

                      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)

                      at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)

                      at $Proxy38.start(Unknown Source)

                      at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)

                      at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)

                      at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)

                      at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)

                      at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)

                      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

                      at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:297)

                      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)

                      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)

                      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

                      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)

                      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:826)

                      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)

                      at org.jboss.system.ServiceController.doChange(ServiceController.java:688)

                      at org.jboss.system.ServiceController.start(ServiceController.java:460)

                      at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)

                      at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)

                      at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)

                      at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)

                      at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55)

                      at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)

                      at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1454)

                      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1172)

                      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1193)

                      at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1113)

                      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

                      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)

                      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)

                      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

                      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)

                      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:826)

                      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)

                      at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:789)

                      at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:699)

                      at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)

                      at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)

                      at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)

                      at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:403)

                      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

                      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)

                      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)

                      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

                      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)

                      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:778)

                      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:543)

                      at org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile(AbstractProfileService.java:308)

                      at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:256)

                      at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)

                      at org.jboss.Main.boot(Main.java:221)

                      at org.jboss.Main$1.run(Main.java:556)

                      at java.lang.Thread.run(Thread.java:662)