6 Replies Latest reply on Sep 8, 2004 2:38 AM by Ian Spence

    loader-repository used but exception is throw when deploy

    Cheung Tin Po Newbie

      hi expert,

      i want to run my .ear application in different classpath loader context for avoid the static classes mix up

      when i set is following
      jboss-app.xml:

      <jboss-app>
      <loader-repository>www.XXX.com:loader=devsite.ear</loader-repository>
      </jboss-app>
      


      jboss-service.xml for tomcat4.1
       <attribute name="Java2ClassLoadingCompliance">false</attribute>
       <attribute name="UseJBossWebLoader">false</attribute>
      


      (the problem will get bad if i set any attribute to true)


      when i deploy the application i get the following exception
      ==================================
      19-03-04 17:55:17 [ERROR][STDERR:140] log4j:ERROR A "org.jboss.logging.util.OnlyOnceErrorHandler" object is not assignable to a "org.apache.log4j.spi.ErrorHandler" variable.
      19-03-04 17:55:17 [ERROR][STDERR:140] log4j:ERROR The class "org.apache.log4j.spi.ErrorHandler" was loaded by
      19-03-04 17:55:17 [ERROR][STDERR:140] log4j:ERROR [org.jboss.mx.loading.UnifiedClassLoader3@70c38c{ url=file:/D:/WealthSuite/jboss/server/default/deploy/devsite.ear/ ,addedOrder=34}] whereas object of type
      19-03-04 17:55:17 [ERROR][STDERR:140] log4j:ERROR "org.jboss.logging.util.OnlyOnceErrorHandler" was loaded by [org.jboss.system.server.NoAnnotationURLClassLoader@1cfb549].
      19-03-04 17:55:17 [ERROR][STDERR:140] log4j:ERROR Could not create an Appender. Reported error follows.
      19-03-04 17:55:17 [ERROR][STDERR:140] java.lang.ClassCastException
      19-03-04 17:55:17 [ERROR][STDERR:140] at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:165)
      19-03-04 17:55:17 [ERROR][STDERR:140] at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:140)
      19-03-04 17:55:17 [ERROR][STDERR:140] at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:153)
      19-03-04 17:55:17 [ERROR][STDERR:140] at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:415)
      19-03-04 17:55:17 [ERROR][STDERR:140] at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:384)
      19-03-04 17:55:17 [ERROR][STDERR:140] at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:783)
      19-03-04 17:55:17 [ERROR][STDERR:140] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:666)
      19-03-04 17:55:17 [ERROR][STDERR:140] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:616)
      19-03-04 17:55:17 [ERROR][STDERR:140] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:602)
      19-03-04 17:55:17 [ERROR][STDERR:140] at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:460)
      19-03-04 17:55:17 [ERROR][STDERR:140] at org.apache.log4j.LogManager.(LogManager.java:113)
      19-03-04 17:55:17 [ERROR][STDERR:140] at org.apache.log4j.Logger.getLogger(Logger.java:85)
      19-03-04 17:55:18 [ERROR][STDERR:140] at org.apache.commons.logging.impl.Log4JLogger.(Log4JLogger.java:102)
      19-03-04 17:55:18 [ERROR][STDERR:140] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      19-03-04 17:55:18 [ERROR][STDERR:140] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      19-03-04 17:55:18 [ERROR][STDERR:140] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      19-03-04 17:55:18 [ERROR][STDERR:140] at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
      19-03-04 17:55:18 [ERROR][STDERR:140] at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:525)
      19-03-04 17:55:18 [ERROR][STDERR:140] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:272)
      19-03-04 17:55:18 [ERROR][STDERR:140] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:246)
      19-03-04 17:55:18 [ERROR][STDERR:140] at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:395)
      19-03-04 17:55:18 [ERROR][STDERR:140] at com.XXX.mf.bo.confirmation.server.ConsolidConfirm.(ConsolidConfirm.java:30)
      19-03-04 17:55:18 [ERROR][STDERR:140] at java.lang.Class.forName0(Native Method)
      19-03-04 17:55:18 [ERROR][STDERR:140] at java.lang.Class.forName(Class.java:141)
      19-03-04 17:55:18 [ERROR][STDERR:140] at $Proxy225.(Unknown Source)
      19-03-04 17:55:18 [ERROR][STDERR:140] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      19-03-04 17:55:18 [ERROR][STDERR:140] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      19-03-04 17:55:18 [ERROR][STDERR:140] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      19-03-04 17:55:18 [ERROR][STDERR:140] at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
      19-03-04 17:55:18 [ERROR][STDERR:140] at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:559)
      19-03-04 17:55:18 [ERROR][STDERR:140] at org.jboss.proxy.ejb.ProxyFactory.bindProxy(ProxyFactory.java:316)
      19-03-04 17:55:18 [ERROR][STDERR:140] at org.jboss.proxy.ejb.ProxyFactory.start(ProxyFactory.java:187)
      19-03-04 17:55:18 [ERROR][STDERR:140] at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:335)
      19-03-04 17:55:18 [ERROR][STDERR:140] at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
      19-03-04 17:55:18 [ERROR][STDERR:140] at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
      19-03-04 17:55:18 [ERROR][STDERR:140] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      19-03-04 17:55:18 [ERROR][STDERR:140] at java.lang.reflect.Method.invoke(Method.java:324)
      19-03-04 17:55:18 [ERROR][STDERR:140] at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      19-03-04 17:55:18 [ERROR][STDERR:140] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      19-03-04 17:55:18 [ERROR][STDERR:140] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
      19-03-04 17:55:18 [ERROR][STDERR:140] at $Proxy14.start(Unknown Source)
      19-03-04 17:55:18 [ERROR][STDERR:140] at org.jboss.system.ServiceController.start(ServiceController.java:394)
      19-03-04 17:55:18 [ERROR][STDERR:140] at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
      19-03-04 17:55:18 [ERROR][STDERR:140] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      19-03-04 17:55:18 [ERROR][STDERR:140] at java.lang.reflect.Method.invoke(Method.java:324)
      19-03-04 17:55:18 [ERROR][STDERR:140] at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      19-03-04 17:55:18 [ERROR][STDERR:140] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      19-03-04 17:55:18 [ERROR][STDERR:140] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      19-03-04 17:55:18 [ERROR][STDERR:140] at $Proxy40.start(Unknown Source)
      19-03-04 17:55:18 [ERROR][STDERR:140] at org.jboss.ejb.EjbModule.startService(EjbModule.java:331)
      19-03-04 17:55:18 [ERROR][STDERR:140] at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
      19-03-04 17:55:18 [ERROR][STDERR:140] at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
      19-03-04 17:55:18 [ERROR][STDERR:140] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      19-03-04 17:55:34 [ERROR][STDERR:140] at java.lang.reflect.Method.invoke(Method.java:324)
      19-03-04 17:55:34 [ERROR][STDERR:140] at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      19-03-04 17:55:34 [ERROR][STDERR:140] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      19-03-04 17:55:34 [ERROR][STDERR:140] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
      19-03-04 17:55:34 [ERROR][STDERR:140] at $Proxy14.start(Unknown Source)
      19-03-04 17:55:34 [ERROR][STDERR:140] at org.jboss.system.ServiceController.start(ServiceController.java:394)
      19-03-04 17:55:34 [ERROR][STDERR:140] at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
      19-03-04 17:55:34 [ERROR][STDERR:140] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      19-03-04 17:55:34 [ERROR][STDERR:140] at java.lang.reflect.Method.invoke(Method.java:324)
      19-03-04 17:55:34 [ERROR][STDERR:140] at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      19-03-04 17:55:34 [ERROR][STDERR:140] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      19-03-04 17:55:34 [ERROR][STDERR:140] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      19-03-04 17:55:34 [ERROR][STDERR:140] at $Proxy12.start(Unknown Source)
      19-03-04 17:55:34 [ERROR][STDERR:140] at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:544)
      19-03-04 17:55:34 [ERROR][STDERR:140] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
      19-03-04 17:55:34 [ERROR][STDERR:140] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
      19-03-04 17:55:35 [ERROR][STDERR:140] at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
      19-03-04 17:55:35 [ERROR][STDERR:140] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      19-03-04 17:55:35 [ERROR][STDERR:140] at java.lang.reflect.Method.invoke(Method.java:324)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      19-03-04 17:55:35 [ERROR][STDERR:140] at $Proxy6.deploy(Unknown Source)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
      19-03-04 17:55:35 [ERROR][STDERR:140] at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
      19-03-04 17:55:35 [ERROR][STDERR:140] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      19-03-04 17:55:35 [ERROR][STDERR:140] at java.lang.reflect.Method.invoke(Method.java:324)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
      19-03-04 17:55:35 [ERROR][STDERR:140] at $Proxy0.start(Unknown Source)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.jboss.system.ServiceController.start(ServiceController.java:394)
      19-03-04 17:55:35 [ERROR][STDERR:140] at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
      19-03-04 17:55:35 [ERROR][STDERR:140] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      19-03-04 17:55:35 [ERROR][STDERR:140] at java.lang.reflect.Method.invoke(Method.java:324)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      19-03-04 17:55:35 [ERROR][STDERR:140] at $Proxy4.start(Unknown Source)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
      19-03-04 17:55:35 [ERROR][STDERR:140] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      19-03-04 17:55:35 [ERROR][STDERR:140] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      19-03-04 17:55:35 [ERROR][STDERR:140] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      19-03-04 17:55:35 [ERROR][STDERR:140] at java.lang.reflect.Method.invoke(Method.java:324)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      19-03-04 17:55:35 [ERROR][STDERR:140] at $Proxy5.deploy(Unknown Source)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.jboss.Main.boot(Main.java:150)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.jboss.Main$1.run(Main.java:395)
      19-03-04 17:55:35 [ERROR][STDERR:140] at java.lang.Thread.run(Thread.java:534)
      19-03-04 17:55:35 [ERROR][STDERR:140] log4j:ERROR Could not parse input source [org.xml.sax.InputSource@7d811a].
      19-03-04 17:55:35 [ERROR][STDERR:140] java.lang.NullPointerException
      19-03-04 17:55:35 [ERROR][STDERR:140] at java.util.Hashtable.put(Hashtable.java:393)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:141)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:153)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:415)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:384)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:783)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:666)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:616)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:602)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:460)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.apache.log4j.LogManager.(LogManager.java:113)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.apache.log4j.Logger.getLogger(Logger.java:85)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.apache.commons.logging.impl.Log4JLogger.(Log4JLogger.java:102)
      19-03-04 17:55:35 [ERROR][STDERR:140] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      19-03-04 17:55:35 [ERROR][STDERR:140] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      19-03-04 17:55:35 [ERROR][STDERR:140] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      19-03-04 17:55:35 [ERROR][STDERR:140] at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:525)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:272)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:246)
      19-03-04 17:55:35 [ERROR][STDERR:140] at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:395)
      19-03-04 17:55:36 [ERROR][STDERR:140] at com.XXX.mf.bo.confirmation.server.ConsolidConfirm.(ConsolidConfirm.java:30)
      19-03-04 17:55:36 [ERROR][STDERR:140] at java.lang.Class.forName0(Native Method)
      19-03-04 17:55:36 [ERROR][STDERR:140] at java.lang.Class.forName(Class.java:141)
      19-03-04 17:55:36 [ERROR][STDERR:140] at $Proxy225.(Unknown Source)
      19-03-04 17:55:36 [ERROR][STDERR:140] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      19-03-04 17:55:36 [ERROR][STDERR:140] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      19-03-04 17:55:36 [ERROR][STDERR:140] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      19-03-04 17:55:36 [ERROR][STDERR:140] at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
      19-03-04 17:55:36 [ERROR][STDERR:140] at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:559)
      19-03-04 17:55:36 [ERROR][STDERR:140] at org.jboss.proxy.ejb.ProxyFactory.bindProxy(ProxyFactory.java:316)
      19-03-04 17:55:36 [ERROR][STDERR:140] at org.jboss.proxy.ejb.ProxyFactory.start(ProxyFactory.java:187)
      19-03-04 17:55:36 [ERROR][STDERR:140] at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:335)
      19-03-04 17:55:36 [ERROR][STDERR:140] at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
      19-03-04 17:55:36 [ERROR][STDERR:140] at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
      19-03-04 17:55:36 [ERROR][STDERR:140] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      19-03-04 17:55:36 [ERROR][STDERR:140] at java.lang.reflect.Method.invoke(Method.java:324)
      19-03-04 17:55:36 [ERROR][STDERR:140] at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      19-03-04 17:55:36 [ERROR][STDERR:140] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      19-03-04 17:55:36 [ERROR][STDERR:140] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
      19-03-04 17:55:36 [ERROR][STDERR:140] at $Proxy14.start(Unknown Source)
      19-03-04 17:55:36 [ERROR][STDERR:140] at org.jboss.system.ServiceController.start(ServiceController.java:394)
      19-03-04 17:55:36 [ERROR][STDERR:140] at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
      19-03-04 17:55:36 [ERROR][STDERR:140] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      19-03-04 17:55:36 [ERROR][STDERR:140] at java.lang.reflect.Method.invoke(Method.java:324)
      19-03-04 17:55:36 [ERROR][STDERR:140] at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      19-03-04 17:55:36 [ERROR][STDERR:140] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      19-03-04 17:55:36 [ERROR][STDERR:140] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      19-03-04 17:55:36 [ERROR][STDERR:140] at $Proxy40.start(Unknown Source)
      19-03-04 17:55:36 [ERROR][STDERR:140] at org.jboss.ejb.EjbModule.startService(EjbModule.java:331)
      19-03-04 17:55:36 [ERROR][STDERR:140] at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
      19-03-04 17:55:36 [ERROR][STDERR:140] at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
      19-03-04 17:55:36 [ERROR][STDERR:140] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      19-03-04 17:55:36 [ERROR][STDERR:140] at java.lang.reflect.Method.invoke(Method.java:324)
      19-03-04 17:55:36 [ERROR][STDERR:140] at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      19-03-04 17:55:36 [ERROR][STDERR:140] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      19-03-04 17:55:36 [ERROR][STDERR:140] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
      19-03-04 17:55:36 [ERROR][STDERR:140] at $Proxy14.start(Unknown Source)
      19-03-04 17:55:36 [ERROR][STDERR:140] at org.jboss.system.ServiceController.start(ServiceController.java:394)
      19-03-04 17:55:36 [ERROR][STDERR:140] at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
      19-03-04 17:55:36 [ERROR][STDERR:140] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      19-03-04 17:55:36 [ERROR][STDERR:140] at java.lang.reflect.Method.invoke(Method.java:324)
      19-03-04 17:55:36 [ERROR][STDERR:140] at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      19-03-04 17:55:36 [ERROR][STDERR:140] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      19-03-04 17:55:36 [ERROR][STDERR:140] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      19-03-04 17:55:36 [ERROR][STDERR:140] at $Proxy12.start(Unknown Source)
      19-03-04 17:55:36 [ERROR][STDERR:140] at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:544)
      19-03-04 17:55:36 [ERROR][STDERR:140] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
      19-03-04 17:55:36 [ERROR][STDERR:140] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824)
      19-03-04 17:55:36 [ERROR][STDERR:140] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
      19-03-04 17:55:36 [ERROR][STDERR:140] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
      19-03-04 17:55:36 [ERROR][STDERR:140] at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
      19-03-04 17:55:36 [ERROR][STDERR:140] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      19-03-04 17:55:36 [ERROR][STDERR:140] at java.lang.reflect.Method.invoke(Method.java:324)
      19-03-04 17:55:36 [ERROR][STDERR:140] at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      19-03-04 17:55:36 [ERROR][STDERR:140] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      19-03-04 17:55:36 [ERROR][STDERR:140] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      19-03-04 17:55:36 [ERROR][STDERR:140] at $Proxy6.deploy(Unknown Source)
      19-03-04 17:55:36 [ERROR][STDERR:140] at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
      19-03-04 17:55:36 [ERROR][STDERR:140] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
      19-03-04 17:55:36 [ERROR][STDERR:140] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
      19-03-04 17:55:36 [ERROR][STDERR:140] at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
      19-03-04 17:55:36 [ERROR][STDERR:140] at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
      19-03-04 17:55:36 [ERROR][STDERR:140] at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
      19-03-04 17:55:36 [ERROR][STDERR:140] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      19-03-04 17:55:36 [ERROR][STDERR:140] at java.lang.reflect.Method.invoke(Method.java:324)
      19-03-04 17:55:36 [ERROR][STDERR:140] at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      19-03-04 17:55:36 [ERROR][STDERR:140] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      19-03-04 17:55:36 [ERROR][STDERR:140] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
      19-03-04 17:55:36 [ERROR][STDERR:140] at $Proxy0.start(Unknown Source)
      19-03-04 17:55:36 [ERROR][STDERR:140] at org.jboss.system.ServiceController.start(ServiceController.java:394)
      19-03-04 17:55:36 [ERROR][STDERR:140] at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
      19-03-04 17:55:36 [ERROR][STDERR:140] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      19-03-04 17:55:36 [ERROR][STDERR:140] at java.lang.reflect.Method.invoke(Method.java:324)
      19-03-04 17:55:37 [ERROR][STDERR:140] at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      19-03-04 17:55:37 [ERROR][STDERR:140] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      19-03-04 17:55:37 [ERROR][STDERR:140] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      19-03-04 17:55:37 [ERROR][STDERR:140] at $Proxy4.start(Unknown Source)
      19-03-04 17:55:37 [ERROR][STDERR:140] at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
      19-03-04 17:55:37 [ERROR][STDERR:140] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
      19-03-04 17:55:37 [ERROR][STDERR:140] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
      19-03-04 17:55:37 [ERROR][STDERR:140] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
      19-03-04 17:55:37 [ERROR][STDERR:140] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
      19-03-04 17:55:37 [ERROR][STDERR:140] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      19-03-04 17:55:37 [ERROR][STDERR:140] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      19-03-04 17:55:37 [ERROR][STDERR:140] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      19-03-04 17:55:37 [ERROR][STDERR:140] at java.lang.reflect.Method.invoke(Method.java:324)
      19-03-04 17:55:37 [ERROR][STDERR:140] at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      19-03-04 17:55:37 [ERROR][STDERR:140] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      19-03-04 17:55:37 [ERROR][STDERR:140] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      19-03-04 17:55:37 [ERROR][STDERR:140] at $Proxy5.deploy(Unknown Source)
      19-03-04 17:55:37 [ERROR][STDERR:140] at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
      19-03-04 17:55:37 [ERROR][STDERR:140] at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
      19-03-04 17:55:37 [ERROR][STDERR:140] at org.jboss.Main.boot(Main.java:150)
      19-03-04 17:55:37 [ERROR][STDERR:140] at org.jboss.Main$1.run(Main.java:395)
      19-03-04 17:55:37 [ERROR][STDERR:140] at java.lang.Thread.run(Thread.java:534)


        • 1. Re: loader-repository used but exception is throw when deplo
          sal ingrilli Newbie

          i ran into this last night.
          it's because you are including a log4j.jar in your ear that's older than the one in /lib.

          the problem is that your old log4j.jar is using the new log4j.xml configuration from /conf.

          so to fix this you need to do one of the following in order of preference:
          1. remove log4j.jar from your ear so your app ends up using the most recent one from /lib which is in sync with the /conf/log4j.xml
          2. add log4j.xml to your ear but then you'll have to add the log4j service mbean to some jboss-service.xml in your ear.

          • 2. Re: loader-repository used but exception is throw when deplo
            Cheung Tin Po Newbie

            thx the log4j problem is solved by remove the log4j.jar from my application

            but i think i will add a updated log4j.jar to my application later.. as i really want to have own log4j.xml config for my application


            =============
            now i get the second problem my application throw the following when deploy

            20-03-04 11:56:17 [ERROR][org.apache.commons.digester.Digester:688] Digester.getParser:
            java.lang.ClassCastException
             at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:87)
             at org.apache.commons.digester.Digester.getFactory(Digester.java:512)
             at org.apache.commons.digester.Digester.getParser(Digester.java:686)
             at org.apache.commons.digester.Digester.getXMLReader(Digester.java:902)
             at org.apache.commons.digester.Digester.parse(Digester.java:1567)
             at org.jboss.web.tomcat.tc4.SingleSignOnContextConfig.tldScanStream(SingleSignOnContextConfig.java:1132)
             at org.jboss.web.tomcat.tc4.SingleSignOnContextConfig.tldScanTld(SingleSignOnContextConfig.java:1165)
             at org.jboss.web.tomcat.tc4.SingleSignOnContextConfig.tldScan(SingleSignOnContextConfig.java:1003)
             at org.jboss.web.tomcat.tc4.SingleSignOnContextConfig.start(SingleSignOnContextConfig.java:752)
             at org.jboss.web.tomcat.tc4.SingleSignOnContextConfig.lifecycleEvent(SingleSignOnContextConfig.java:255)
             at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
             at org.apache.catalina.core.StandardContext.start(StandardContext.java:3582)
             at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
             at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
             at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
             at org.jboss.web.tomcat.tc4.EmbeddedTomcatService.createWebContext(EmbeddedTomcatService.java:549)
             at org.jboss.web.tomcat.tc4.EmbeddedTomcatService.performDeploy(EmbeddedTomcatService.java:309)
             at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:428)
             at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
             at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824)
             at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
             at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
             at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:324)
             at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
             at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
             at $Proxy6.deploy(Unknown Source)
             at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
             at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
             at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
             at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
             at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
             at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:324)
             at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
             at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
             at $Proxy0.start(Unknown Source)
             at org.jboss.system.ServiceController.start(ServiceController.java:394)
             at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:324)
             at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
             at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
             at $Proxy4.start(Unknown Source)
             at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
             at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
             at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
             at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
             at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
             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:324)
             at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
             at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
             at $Proxy5.deploy(Unknown Source)
             at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
             at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
             at org.jboss.Main.boot(Main.java:150)
             at org.jboss.Main$1.run(Main.java:395)
             at java.lang.Thread.run(Thread.java:534)
            20-03-04 11:56:17 [ERROR][org.jboss.web.localhost.Engine:216] SingleSignOnContextConfig[/devsite] Exception processing TLD at resource path /WEB-INF/components.tld
            javax.servlet.ServletException: Exception processing TLD at resource path /WEB-INF/components.tld
             at org.jboss.web.tomcat.tc4.SingleSignOnContextConfig.tldScanTld(SingleSignOnContextConfig.java:1171)
             at org.jboss.web.tomcat.tc4.SingleSignOnContextConfig.tldScan(SingleSignOnContextConfig.java:1003)
             at org.jboss.web.tomcat.tc4.SingleSignOnContextConfig.start(SingleSignOnContextConfig.java:752)
             at org.jboss.web.tomcat.tc4.SingleSignOnContextConfig.lifecycleEvent(SingleSignOnContextConfig.java:255)
             at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
             at org.apache.catalina.core.StandardContext.start(StandardContext.java:3582)
             at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
             at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
             at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
             at org.jboss.web.tomcat.tc4.EmbeddedTomcatService.createWebContext(EmbeddedTomcatService.java:549)
             at org.jboss.web.tomcat.tc4.EmbeddedTomcatService.performDeploy(EmbeddedTomcatService.java:309)
             at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:428)
             at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
             at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824)
             at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
             at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
             at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:324)
             at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
             at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
             at $Proxy6.deploy(Unknown Source)
             at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
             at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
             at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
             at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
             at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
             at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:324)
             at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
             at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
             at $Proxy0.start(Unknown Source)
             at org.jboss.system.ServiceController.start(ServiceController.java:394)
             at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:324)
             at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
             at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
             at $Proxy4.start(Unknown Source)
             at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
             at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
             at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
             at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
             at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
             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:324)
             at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
             at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
             at $Proxy5.deploy(Unknown Source)
             at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
             at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
             at org.jboss.Main.boot(Main.java:150)
             at org.jboss.Main$1.run(Main.java:395)
             at java.lang.Thread.run(Thread.java:534)
            20-03-04 11:56:18 [ERROR][org.jboss.web.localhost.Engine:219] ----- Root Cause -----
            java.lang.NullPointerException
             at org.apache.commons.digester.Digester.getXMLReader(Digester.java:902)
             at org.apache.commons.digester.Digester.parse(Digester.java:1567)
             at org.jboss.web.tomcat.tc4.SingleSignOnContextConfig.tldScanStream(SingleSignOnContextConfig.java:1132)
             at org.jboss.web.tomcat.tc4.SingleSignOnContextConfig.tldScanTld(SingleSignOnContextConfig.java:1165)
             at org.jboss.web.tomcat.tc4.SingleSignOnContextConfig.tldScan(SingleSignOnContextConfig.java:1003)
             at org.jboss.web.tomcat.tc4.SingleSignOnContextConfig.start(SingleSignOnContextConfig.java:752)
             at org.jboss.web.tomcat.tc4.SingleSignOnContextConfig.lifecycleEvent(SingleSignOnContextConfig.java:255)
             at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
             at org.apache.catalina.core.StandardContext.start(StandardContext.java:3582)
             at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
             at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
             at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
             at org.jboss.web.tomcat.tc4.EmbeddedTomcatService.createWebContext(EmbeddedTomcatService.java:549)
             at org.jboss.web.tomcat.tc4.EmbeddedTomcatService.performDeploy(EmbeddedTomcatService.java:309)
             at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:428)
             at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
             at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824)
             at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
             at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
             at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:324)
             at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
             at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
             at $Proxy6.deploy(Unknown Source)
             at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
             at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
             at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
             at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
             at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
             at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:324)
             at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
             at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
             at $Proxy0.start(Unknown Source)
             at org.jboss.system.ServiceController.start(ServiceController.java:394)
             at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:324)
             at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
             at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
             at $Proxy4.start(Unknown Source)
             at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
             at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
             at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
             at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
             at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
             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:324)
             at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
             at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
             at $Proxy5.deploy(Unknown Source)
             at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
             at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
             at org.jboss.Main.boot(Main.java:150)
             at org.jboss.Main$1.run(Main.java:395)
             at java.lang.Thread.run(Thread.java:534)
            


            • 3. Re: loader-repository used but exception is throw when deplo
              Cheung Tin Po Newbie

              BTW my application is working before i use loader-repository

              • 5. Re: loader-repository used but exception is throw when deplo
                hate12sj Newbie

                I tried everything mentioned in here and on

                http://www.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration

                I'm getting the error below.


                09:17:31,335 ERROR [STDERR] log4j:ERROR A "org.jboss.logging.util.OnlyOnceErrorHandler" object is not assignable to a "org.apache.log4j.spi.ErrorHandler" variable.
                09:17:31,335 ERROR [STDERR] log4j:ERROR The class "org.apache.log4j.spi.ErrorHandler" was loaded by
                09:17:31,335 ERROR [STDERR] log4j:ERROR [WebappClassLoader
                available:
                Extension[javax.ejb, implementationVendor=Sun Microsystems, Inc., implementa
                tionVendorId=com.sun, implementationVersion=2.0, specificationVendor=Sun Microsy
                stems, Inc., specificationVersion=2.0]
                Extension[javax.xml.bind, implementationVendor=Sun Microsystems, Inc., imple
                mentationVendorId=com.sun, implementationVersion=1.0, specificationVendor=Sun Mi
                crosystems, Inc., specificationVersion=1.0]
                Extension[com.sun.msv, implementationVendor=Sun Microsystems, Inc., implemen
                tationVendorId=com.sun, implementationVersion=1.0, specificationVendor=Sun Micro
                systems, Inc., specificationVersion=1.0]
                Extension[com.sun.xml.bind, implementationVendor=Sun Microsystems, Inc., imp
                lementationVendorId=com.sun, implementationVersion=1.0, specificationVendor=Sun
                Microsystems, Inc., specificationVersion=1.0]
                Extension[com.sun.tools.xjc, implementationVendor=Sun Microsystems, Inc., im
                plementationVendorId=com.sun, implementationVersion=1.0, specificationVendor=Sun
                Microsystems, Inc., specificationVersion=1.0]
                Extension[org.saxpath, implementationVendor= werken digital., implementation
                Version=1.0, specificationVendor=werken digital., specificationVersion=1.0 FCS]
                delegate: false
                repositories:
                /WEB-INF/classes/
                required:
                ----------> Parent Classloader:
                java.net.FactoryURLClassLoader@178efd8
                ] whereas object of type
                09:17:31,335 ERROR [STDERR] log4j:ERROR "org.jboss.logging.util.OnlyOnceErrorHan
                dler" was loaded by [org.jboss.system.server.NoAnnotationURLClassLoader@4a5ab2].

                09:17:31,429 ERROR [STDERR] log4j:ERROR Could not create an Appender. Reported e
                rror follows.
                09:17:31,429 ERROR [STDERR] java.lang.ClassCastException
                09:17:31,429 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parseApp
                ender(DOMConfigurator.java:165)
                09:17:31,429 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.findAppe
                nderByName(DOMConfigurator.java:140)
                09:17:31,429 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.findAppe
                nderByReference(DOMConfigurator.java:153)
                09:17:31,429 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parseChi
                ldrenOfLoggerElement(DOMConfigurator.java:415)
                09:17:31,429 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parseRoo
                t(DOMConfigurator.java:384)
                09:17:31,429 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parse(DO
                MConfigurator.java:783)
                09:17:31,429 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.doConfig
                ure(DOMConfigurator.java:666)
                09:17:31,429 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.doConfig
                ure(DOMConfigurator.java:616)
                09:17:31,429 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.doConfig
                ure(DOMConfigurator.java:602)
                09:17:31,429 ERROR [STDERR] at org.apache.log4j.helpers.OptionConverter.sele
                ctAndConfigure(OptionConverter.java:460)
                09:17:31,429 ERROR [STDERR] at org.apache.log4j.LogManager.(LogManag
                er.java:113)
                09:17:31,429 ERROR [STDERR] at org.apache.log4j.Logger.getLogger(Logger.java
                :85)
                09:17:31,429 ERROR [STDERR] at com.bitfone.server.commons.logging.Log4JLogge
                r.(Log4JLogger.java:78)
                09:17:31,429 ERROR [STDERR] at com.bitfone.server.commons.logging.Log4JFacto
                ry.getBitfoneLogger(Log4JFactory.java:97)
                09:17:31,429 ERROR [STDERR] at com.bitfone.server.delivery.RequestHeaderFilt
                er.init(RequestHeaderFilter.java:106)
                09:17:31,429 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterCon
                fig.getFilter(ApplicationFilterConfig.java:266)
                09:17:31,429 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterCon
                fig.setFilterDef(ApplicationFilterConfig.java:327)
                09:17:31,429 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterCon
                fig.(ApplicationFilterConfig.java:120)
                09:17:31,429 ERROR [STDERR] at org.apache.catalina.core.StandardContext.filt
                erStart(StandardContext.java:3160)
                09:17:31,429 ERROR [STDERR] at org.apache.catalina.core.StandardContext.star
                t(StandardContext.java:3617)
                09:17:31,429 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChi
                ldInternal(ContainerBase.java:821)
                09:17:31,429 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChi
                ld(ContainerBase.java:807)
                09:17:31,444 ERROR [STDERR] at org.apache.catalina.core.StandardHost.addChil
                d(StandardHost.java:595)
                09:17:31,444 ERROR [STDERR] at org.jboss.web.tomcat.tc4.EmbeddedTomcatServic
                e.createWebContext(EmbeddedTomcatService.java:549)
                09:17:31,444 ERROR [STDERR] at org.jboss.web.tomcat.tc4.EmbeddedTomcatServic
                e.performDeploy(EmbeddedTomcatService.java:309)
                09:17:31,444 ERROR [STDERR] at org.jboss.web.AbstractWebContainer.start(Abst
                ractWebContainer.java:428)
                09:17:31,444 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainD
                eployer.java:832)
                09:17:31,444 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(Main
                Deployer.java:642)
                09:17:31,444 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(Main
                Deployer.java:605)
                09:17:31,444 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor18.invoke(
                Unknown Source)
                09:17:31,444 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invo
                ke(DelegatingMethodAccessorImpl.java:25)
                09:17:31,444 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:3
                24)
                09:17:31,444 ERROR [STDERR] at org.jboss.mx.capability.ReflectedMBeanDispatc
                her.invoke(ReflectedMBeanDispatcher.java:284)
                09:17:31,444 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MB
                eanServerImpl.java:546)
                09:17:31,444 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanP
                roxyExt.java:177)
                09:17:31,444 ERROR [STDERR] at $Proxy6.deploy(Unknown Source)
                09:17:31,444 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentSca
                nner.deploy(URLDeploymentScanner.java:302)
                09:17:31,444 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentSca
                nner.scan(URLDeploymentScanner.java:476)
                09:17:31,444 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeployme
                ntScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
                09:17:31,444 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeployme
                ntScanner.startService(AbstractDeploymentScanner.java:274)
                09:17:31,444 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.start(Se
                rviceMBeanSupport.java:192)
                09:17:31,444 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor4.invoke(U
                nknown Source)
                09:17:31,444 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invo
                ke(DelegatingMethodAccessorImpl.java:25)
                09:17:31,444 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:3
                24)
                09:17:31,444 ERROR [STDERR] at org.jboss.mx.capability.ReflectedMBeanDispatc
                her.invoke(ReflectedMBeanDispatcher.java:284)
                09:17:31,444 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MB
                eanServerImpl.java:546)
                09:17:31,444 ERROR [STDERR] at org.jboss.system.ServiceController$ServicePro
                xy.invoke(ServiceController.java:976)
                09:17:31,444 ERROR [STDERR] at $Proxy0.start(Unknown Source)
                09:17:31,444 ERROR [STDERR] at org.jboss.system.ServiceController.start(Serv
                iceController.java:394)
                09:17:31,444 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor5.invoke(U
                nknown Source)
                09:17:31,522 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invo
                ke(DelegatingMethodAccessorImpl.java:25)
                09:17:31,522 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:3
                24)
                09:17:31,522 ERROR [STDERR] at org.jboss.mx.capability.ReflectedMBeanDispatc
                her.invoke(ReflectedMBeanDispatcher.java:284)
                09:17:31,522 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MB
                eanServerImpl.java:546)
                09:17:31,522 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanP
                roxyExt.java:177)
                09:17:31,522 ERROR [STDERR] at $Proxy4.start(Unknown Source)
                09:17:31,522 ERROR [STDERR] at org.jboss.deployment.SARDeployer.start(SARDep
                loyer.java:226)
                09:17:31,522 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainD
                eployer.java:832)
                09:17:31,538 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(Main
                Deployer.java:642)
                09:17:31,538 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(Main
                Deployer.java:605)
                09:17:31,538 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(Main
                Deployer.java:589)
                09:17:31,538 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(
                Native Method)
                09:17:31,538 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(N
                ativeMethodAccessorImpl.java:39)
                09:17:31,538 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invo
                ke(DelegatingMethodAccessorImpl.java:25)
                09:17:31,538 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:3
                24)
                09:17:31,538 ERROR [STDERR] at org.jboss.mx.capability.ReflectedMBeanDispatc
                her.invoke(ReflectedMBeanDispatcher.java:284)
                09:17:31,538 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MB
                eanServerImpl.java:546)
                09:17:31,538 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanP
                roxyExt.java:177)
                09:17:31,538 ERROR [STDERR] at $Proxy5.deploy(Unknown Source)
                09:17:31,538 ERROR [STDERR] at org.jboss.system.server.ServerImpl.doStart(Se
                rverImpl.java:384)
                09:17:31,538 ERROR [STDERR] at org.jboss.system.server.ServerImpl.start(Serv
                erImpl.java:291)
                09:17:31,538 ERROR [STDERR] at org.jboss.Main.boot(Main.java:150)
                09:17:31,538 ERROR [STDERR] at org.jboss.Main$1.run(Main.java:395)
                09:17:31,538 ERROR [STDERR] at java.lang.Thread.run(Thread.java:534)
                09:17:31,538 ERROR [STDERR] log4j:ERROR Could not parse input source [org.xml.sa
                x.InputSource@143073a].
                09:17:31,538 ERROR [STDERR] java.lang.NullPointerException
                09:17:31,538 ERROR [STDERR] at java.util.Hashtable.put(Hashtable.java:393)
                09:17:31,538 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.findAppe
                nderByName(DOMConfigurator.java:141)
                09:17:31,538 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.findAppe
                nderByReference(DOMConfigurator.java:153)
                09:17:31,538 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parseChi
                ldrenOfLoggerElement(DOMConfigurator.java:415)
                09:17:31,538 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parseRoo
                t(DOMConfigurator.java:384)
                09:17:31,616 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parse(DO
                MConfigurator.java:783)
                09:17:31,616 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.doConfig
                ure(DOMConfigurator.java:666)
                09:17:31,616 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.doConfig
                ure(DOMConfigurator.java:616)
                09:17:31,616 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.doConfig
                ure(DOMConfigurator.java:602)
                09:17:31,616 ERROR [STDERR] at org.apache.log4j.helpers.OptionConverter.sele
                ctAndConfigure(OptionConverter.java:460)
                09:17:31,616 ERROR [STDERR] at org.apache.log4j.LogManager.(LogManag
                er.java:113)
                09:17:31,616 ERROR [STDERR] at org.apache.log4j.Logger.getLogger(Logger.java
                :85)
                09:17:31,616 ERROR [STDERR] at com.bitfone.server.commons.logging.Log4JLogge
                r.(Log4JLogger.java:78)
                09:17:31,616 ERROR [STDERR] at com.bitfone.server.commons.logging.Log4JFacto
                ry.getBitfoneLogger(Log4JFactory.java:97)
                09:17:31,616 ERROR [STDERR] at com.bitfone.server.delivery.RequestHeaderFilt
                er.init(RequestHeaderFilter.java:106)
                09:17:31,616 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterCon
                fig.getFilter(ApplicationFilterConfig.java:266)
                09:17:31,616 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterCon
                fig.setFilterDef(ApplicationFilterConfig.java:327)
                09:17:31,616 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterCon
                fig.(ApplicationFilterConfig.java:120)
                09:17:31,616 ERROR [STDERR] at org.apache.catalina.core.StandardContext.filt
                erStart(StandardContext.java:3160)
                09:17:31,616 ERROR [STDERR] at org.apache.catalina.core.StandardContext.star
                t(StandardContext.java:3617)
                09:17:31,616 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChi
                ldInternal(ContainerBase.java:821)
                09:17:31,616 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChi
                ld(ContainerBase.java:807)
                09:17:31,694 ERROR [STDERR] at org.apache.catalina.core.StandardHost.addChil
                d(StandardHost.java:595)
                09:17:31,757 ERROR [STDERR] at org.jboss.web.tomcat.tc4.EmbeddedTomcatServic
                e.createWebContext(EmbeddedTomcatService.java:549)
                09:17:31,757 ERROR [STDERR] at org.jboss.web.tomcat.tc4.EmbeddedTomcatServic
                e.performDeploy(EmbeddedTomcatService.java:309)
                09:17:31,757 ERROR [STDERR] at org.jboss.web.AbstractWebContainer.start(Abst
                ractWebContainer.java:428)
                09:17:31,757 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainD
                eployer.java:832)
                09:17:31,757 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(Main
                Deployer.java:642)
                09:17:31,757 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(Main
                Deployer.java:605)
                09:17:31,757 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor18.invoke(
                Unknown Source)
                09:17:31,757 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invo
                ke(DelegatingMethodAccessorImpl.java:25)
                09:17:31,757 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:3
                24)
                09:17:31,757 ERROR [STDERR] at org.jboss.mx.capability.ReflectedMBeanDispatc
                her.invoke(ReflectedMBeanDispatcher.java:284)
                09:17:31,757 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MB
                eanServerImpl.java:546)
                09:17:31,757 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanP
                roxyExt.java:177)
                09:17:31,757 ERROR [STDERR] at $Proxy6.deploy(Unknown Source)
                09:17:31,757 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentSca
                nner.deploy(URLDeploymentScanner.java:302)
                09:17:31,757 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentSca
                nner.scan(URLDeploymentScanner.java:476)
                09:17:31,757 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeployme
                ntScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
                09:17:31,757 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeployme
                ntScanner.startService(AbstractDeploymentScanner.java:274)
                09:17:31,757 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.start(Se
                rviceMBeanSupport.java:192)
                09:17:31,757 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor4.invoke(U
                nknown Source)
                09:17:31,757 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invo
                ke(DelegatingMethodAccessorImpl.java:25)
                09:17:31,757 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:3
                24)
                09:17:31,757 ERROR [STDERR] at org.jboss.mx.capability.ReflectedMBeanDispatc
                her.invoke(ReflectedMBeanDispatcher.java:284)
                09:17:31,757 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MB
                eanServerImpl.java:546)
                09:17:31,757 ERROR [STDERR] at org.jboss.system.ServiceController$ServicePro
                xy.invoke(ServiceController.java:976)
                09:17:31,757 ERROR [STDERR] at $Proxy0.start(Unknown Source)
                09:17:31,757 ERROR [STDERR] at org.jboss.system.ServiceController.start(Serv
                iceController.java:394)
                09:17:31,757 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor5.invoke(U
                nknown Source)
                09:17:31,772 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invo
                ke(DelegatingMethodAccessorImpl.java:25)
                09:17:31,772 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:3
                24)
                09:17:31,772 ERROR [STDERR] at org.jboss.mx.capability.ReflectedMBeanDispatc
                her.invoke(ReflectedMBeanDispatcher.java:284)
                09:17:31,772 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MB
                eanServerImpl.java:546)
                09:17:31,772 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanP
                roxyExt.java:177)
                09:17:31,772 ERROR [STDERR] at $Proxy4.start(Unknown Source)
                09:17:31,772 ERROR [STDERR] at org.jboss.deployment.SARDeployer.start(SARDep
                loyer.java:226)
                09:17:31,772 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainD
                eployer.java:832)
                09:17:31,804 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(Main
                Deployer.java:642)
                09:17:31,866 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(Main
                Deployer.java:605)
                09:17:31,866 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(Main
                Deployer.java:589)
                09:17:31,882 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(
                Native Method)
                09:17:31,882 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(N
                ativeMethodAccessorImpl.java:39)
                09:17:31,882 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invo
                ke(DelegatingMethodAccessorImpl.java:25)
                09:17:31,882 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:3
                24)
                09:17:31,882 ERROR [STDERR] at org.jboss.mx.capability.ReflectedMBeanDispatc
                her.invoke(ReflectedMBeanDispatcher.java:284)
                09:17:31,882 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MB
                eanServerImpl.java:546)
                09:17:31,882 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanP
                roxyExt.java:177)
                09:17:31,882 ERROR [STDERR] at $Proxy5.deploy(Unknown Source)
                09:17:31,882 ERROR [STDERR] at org.jboss.system.server.ServerImpl.doStart(Se
                rverImpl.java:384)
                09:17:31,882 ERROR [STDERR] at org.jboss.system.server.ServerImpl.start(Serv
                erImpl.java:291)
                09:17:31,882 ERROR [STDERR] at org.jboss.Main.boot(Main.java:150)
                09:17:31,882 ERROR [STDERR] at org.jboss.Main$1.run(Main.java:395)
                09:17:31,882 ERROR [STDERR] at java.lang.Thread.run(Thread.java:534)

                • 6. Re: loader-repository used but exception is throw when deplo
                  Ian Spence Newbie

                  Thanks shortpast, removing log4j.jar fixed the problem for me.