2 Replies Latest reply on Jun 25, 2004 5:29 PM by Julien Martin

    Enabling TRACE logging for org.jboss.ejb.plugins.cmp??

    Julien Martin Expert

      Hello,

      I would like to enable trace logging for org.jboss.ejb.plugins.cmp. How do I do that? Here is what I get after adding the following lines in server\default\conf\log4j.xml

      <category name="org.jboss.ejb.plugins.cmp">
       <priority value="TRACE" class="org.jboss.ejb.plugins.cmp"/>
       </category>
      
      


      log4j:ERROR Could not create level [TRACE]. Reported error follows.
      java.lang.ClassNotFoundException: org.jboss.ejb.plugins.cmp
       at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
       at java.security.AccessController.doPrivileged(Native Method)
       at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
       at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
       at java.lang.Class.forName0(Native Method)
       at java.lang.Class.forName(Class.java:141)
       at org.apache.log4j.helpers.Loader.loadClass(Loader.java:160)
       at org.apache.log4j.xml.DOMConfigurator.parseLevel(DOMConfigurator.java:509)
       at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:428)
       at org.apache.log4j.xml.DOMConfigurator.parseCategory(DOMConfigurator.java:335)
       at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:781)
       at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:666)
       at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:616)
       at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:602)
       at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:697)
       at org.jboss.logging.Log4jService$URLWatchTimerTask.reconfigure(Log4jService.java:624)
       at org.jboss.logging.Log4jService$URLWatchTimerTask.run(Log4jService.java:563)
       at org.jboss.logging.Log4jService.setup(Log4jService.java:450)
       at org.jboss.logging.Log4jService.createService(Log4jService.java:466)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:237)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:219)
       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.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:232)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:643)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:844)
       at $Proxy0.create(Unknown Source)
       at org.jboss.system.ServiceController.create(ServiceController.java:285)
       at org.jboss.system.ServiceController.create(ServiceController.java:218)
       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.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:232)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:643)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174)
       at $Proxy4.create(Unknown Source)
       at org.jboss.deployment.SARDeployer.create(SARDeployer.java:216)
       at org.jboss.deployment.MainDeployer.create(MainDeployer.java:817)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:673)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:637)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:621)
       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.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:232)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:643)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174)
       at $Proxy5.deploy(Unknown Source)
       at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:386)
       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)
      


      Can anyone help?

      Thanks in advance,

      Julien Martin