commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajasekaran.Iyanu" <rajasekaran.iy...@oracle.com>
Subject Log4JLogger does not implement Log : OC4J
Date Tue, 24 Apr 2007 10:39:07 GMT
  Hi All,

I would like to have some information regarding the "does not implement 
Log" problem which occurs when I deploy my ear application.
I use OC4J 10.1.3.0 version and when I try to deploy my ear by having 
"search-local-classes-first" option as "true", I get the exception 
listed at the bottom of this mail..

I saw the link 
http://wiki.apache.org/jakarta-commons/Logging/FrequentlyAskedQuestions, 
tried to resolve the problem through class loaders but in vain.

I got struck with this and can anybody please help me in this regard.? 
Also please send me the diagnostic code which was mentioned in the above 
link..

Thanks
Rajasekaran

....................... Exception .......................

07/04/24 15:58:35 SEVERE: CoreRemoteMBeanServer.getEvents Could not 
retrieve remote events: Error deserializing return-value: 
org.apache.commons.logging.LogConfigurationException; nested exception is:
    java.lang.ClassNotFoundException: 
org.apache.commons.logging.LogConfigurationExceptionjava.rmi.UnmarshalException: 
Error deserializing return-value: 
org.apache.commons.logging.LogConfigurationException; nested exception is:
    java.lang.ClassNotFoundException: 
org.apache.commons.logging.LogConfigurationException
    at 
com.evermind.server.rmi.RMICall.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMICall.java:110)
    at 
com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:128)
    at 
com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:472)
    at 
com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:416)
    at 
com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
    at 
com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
    at 
com.evermind.server.ejb.StatefulSessionRemoteInvocationHandler.invoke(StatefulSessionRemoteInvocationHandler.java:31)
    at __Proxy6.getEvents(Unknown Source)
    at 
oracle.oc4j.admin.jmx.client.MBeanServerEjbRemoteSynchronizer.getEvents(MBeanServerEjbRemoteSynchronizer.java:530)
    at 
oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.getEvents(CoreRemoteMBeanServer.java:311)
    at oracle.oc4j.admin.jmx.client.EventManager.run(EventManager.java:199)
    at 
oracle.oc4j.admin.jmx.client.ThreadPool$ConfigurableThreadImpl.run(ThreadPool.java:295)
Caused by: java.lang.ClassNotFoundException: 
org.apache.commons.logging.LogConfigurationException
    at 
com.evermind.server.rmi.RMIClassLoader.findClass(RMIClassLoader.java:54)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:242)
    at 
com.evermind.io.ClassLoaderObjectInputStream.resolveClass(ClassLoaderObjectInputStream.java:33)
    at 
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1544)
    at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
    at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
    at 
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
    at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
    at 
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
    at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
    at 
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
    at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
    at 
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
    at 
java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:479)
    at javax.management.Notification.readObject(Notification.java:350)
    at sun.reflect.GeneratedMethodAccessor100.invoke(Unknown Source)
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at 
java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1809)
    at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
    at 
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
    at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
    at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1634)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
    at 
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
    at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
    at 
com.evermind.server.rmi.RMIProtocol$Version.unmarshallParameterDirectly(RMIProtocol.java:402)
    at 
com.evermind.server.rmi.RMIProtocol$Version_1_0.unmarshallParameter(RMIProtocol.java:471)
    at com.evermind.server.rmi.RMIProtocol.readObject(RMIProtocol.java:80)
    at com.evermind.server.rmi.RMIProtocol.readValue(RMIProtocol.java:161)
    at 
com.evermind.server.rmi.RMIClientConnection.handleMethodInvocationResponse(RMIClientConnection.java:794)
    at 
com.evermind.server.rmi.RMIClientConnection.handleOrmiCommandResponse(RMIClientConnection.java:242)
    at 
com.evermind.server.rmi.RMIClientConnection.dispatchResponse(RMIClientConnection.java:197)
    at 
com.evermind.server.rmi.RMIClientConnection.processReceivedCommand(RMIClientConnection.java:179)
    at 
com.evermind.server.rmi.RMIConnection.handleCommand(RMIConnection.java:154)
    at 
com.evermind.server.rmi.RMIConnection.listenForOrmiCommands(RMIConnection.java:126)
    at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:105)
    at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:819)
    at java.lang.Thread.run(Thread.java:595)

07/04/24 15:58:35 WARNING: ApplicationUnDeployer.removeFiles WARNING: 
Unable to remove appDir 
C:\product\10.1.3\OracleAS_1\j2ee\home\applications\epcis : Unable to 
remove 
C:\product\10.1.3\OracleAS_1\j2ee\home\applications\epcisjava.io.IOException: 
Unable to remove C:\product\10.1.3\OracleAS_1\j2ee\home\applications\epcis
    at oracle.oc4j.util.FileUtils.recursiveRemove(FileUtils.java:249)
    at 
oracle.oc4j.admin.internal.ApplicationUnDeployer.removeFiles(ApplicationUnDeployer.java:146)
    at 
oracle.oc4j.admin.internal.ApplicationUnDeployer.doUndeploy(ApplicationUnDeployer.java:117)
    at 
oracle.oc4j.admin.internal.UnDeployerBase.execute(UnDeployerBase.java:91)
    at 
oracle.oc4j.admin.internal.UnDeployerBase.execute(UnDeployerBase.java:72)
    at 
oracle.oc4j.admin.internal.ApplicationDeployer.undo(ApplicationDeployer.java:222)
    at 
oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:138)
    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 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:819)
    at java.lang.Thread.run(Thread.java:595)

07/04/24 15:58:36 WARNING: 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 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:819)
    at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.ExceptionInInitializerError
    at 
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:232)
    at 
com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1015)
    at 
com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:649)
    at 
com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:428)
    at 
com.evermind.server.Application.getHttpApplication(Application.java:512)
    at 
com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1975)
    at 
com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1894)
    at 
com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1591)
    at 
oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:206)
    at 
oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:96)
    at 
oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:541)
    at 
oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:197)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
    ... 4 more
Caused by: org.apache.commons.logging.LogConfigurationException: 
org.apache.commons.logging.LogConfigurationException: 
org.apache.commons.logging.LogConfigurationException: Class 
org.apache.commons.logging.impl.Log4JLogger does not implement Log
    at 
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:532)
    at 
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:272)
    at 
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:246)
    at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:395)
    at 
com.sun.faces.config.beans.FacesConfigBean.<clinit>(FacesConfigBean.java:28)
    ... 17 more
Caused by: org.apache.commons.logging.LogConfigurationException: 
org.apache.commons.logging.LogConfigurationException: Class 
org.apache.commons.logging.impl.Log4JLogger does not implement Log
    at 
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:416)
    at 
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:525)
    ... 21 more
Caused by: org.apache.commons.logging.LogConfigurationException: Class 
org.apache.commons.logging.impl.Log4JLogger does not implement Log
    at 
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:412)
    ... 22 more


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message