2 Replies Latest reply on Apr 5, 2008 12:38 AM by 451746

    Operation failed with error:org/apache/log4j/Category

    547776
      Hi all,

      I devlope ADF applicaiton using JDevloper 10.1.3.3 and it can run smoothly in the Jdevloper embedded OC4J,but the following error occurs when I delployed it to standalone OC4J 10.1.3.3,any suggestion,thanks in advance

      08/03/08 04:22:26 warining: DeployerRunnable.run java.lang.ExceptionInInitializerErrororacle.oc4j.admin.internal.DeployerException: java.lang.ExceptionInInitializerError
      at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:139)
      at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
      at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.ExceptionInInitializerError
      at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:252)
      at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1141)
      at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:741)
      at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
      at com.evermind.server.Application.getHttpApplication(Application.java:570)
      at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1987)
      at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1906)
      at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1603)
      at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:238)
      at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:99)
      at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:547)
      at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:202)
      at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
      ... 4 more
      Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@159fb5c for org.apache.commons.log
      ging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category) (Caused by org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Cla
      ss;@159fb5c for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category))
              at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)
              at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
              at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
              at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
              at com.sun.faces.config.beans.FacesConfigBean.<clinit>(FacesConfigBean.java:48)
              ... 17 more
      Caused by: org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@159fb5c for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefF
      oundError: org/apache/log4j/Category)
              at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:413)
              at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
              ... 21 more
      Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Category
              at java.lang.Class.getDeclaredConstructors0(Native Method)