0 Replies Latest reply on Oct 2, 2003 12:33 AM by mymdamin

    Log4j  deployment error

    mymdamin Newbie

      Hi,

      I am using Jboss-3.2.1 version in Redhat Linux OS. When I try to start Jboss-3.2.1, the log4j deployment gives me the following error.

      12:35:05,469 INFO [MainDeployer] Starting deployment of package: file:/application/jboss-3.2.1_tomcat-4.1.24/server/default/conf/jboss-service.xml
      12:35:16,224 INFO [Log4jService] Creating
      12:35:16,232 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
      12:35:16,348 WARN [ServiceController] Problem creating service jboss.system:type=Log4jService,service=Logging
      java.lang.NoSuchMethodError: org.apache.log4j.Category.getDefaultHierarchy()Lorg/apache/log4j/Hierarchy;
      at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:608)
      at org.jboss.logging.Log4jService$URLWatchTimerTask.reconfigure(Log4jService.java:622)
      at org.jboss.logging.Log4jService$URLWatchTimerTask.run(Log4jService.java:561)
      at org.jboss.logging.Log4jService.setup(Log4jService.java:448)
      at org.jboss.logging.Log4jService.createService(Log4jService.java:464)
      at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:158)
      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:549)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:966)
      at $Proxy0.create(Unknown Source)
      at org.jboss.system.ServiceController.create(ServiceController.java:310)
      at org.jboss.system.ServiceController.create(ServiceController.java:243)
      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:549)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy5.create(Unknown Source)
      at org.jboss.deployment.SARDeployer.create(SARDeployer.java:192)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:784)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:639)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:597)
      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:549)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy6.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:365)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:272)
      at org.jboss.Main.boot(Main.java:150)
      at org.jboss.Main$1.run(Main.java:388)
      at java.lang.Thread.run(Thread.java:534)
      12:35:16,370 INFO [WebService] Creating


      Can anyone let me know how to resolve this?

      regards,
      Amin