You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by dinesh <di...@cognizant.com> on 2005/09/27 16:02:41 UTC
Error:org.apache.commons.logging.LogConfigurationException:
java.lang.ClassCastException
Hi..
I was juz trying to deploy a war file based on struts, on M4.
I am getting the message
Deployed MyApp
on the console but the application will not pull up on the screen.
Ive pasted the stack trace below....
Error while starting; GBean is now in the FAILED state:
objectName="geronimo.server:J2EEApplication=null,J2EEServer=geronimo,WebModule=MyApp,j2eeType=Servlet,name=action"
org.apache.commons.logging.LogConfigurationException:
java.lang.ClassCastException
at org.apache.commons.logging.LogFactory.newFactory
(LogFactory.java:497)
at org.apache.commons.logging.LogFactory.getFactory
(LogFactory.java:272)
at org.apache.commons.logging.LogFactory.getLog
(LogFactory.java:381)
at
org.apache.struts.action.ActionServlet.<init>(ActionServlet.java:331)
at
com.Test.twe.web.action.TweActionServlet.<init>(TweActionServlet.java:36)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance
(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance
(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:308)
at java.lang.Class.newInstance(Class.java:261)
at org.mortbay.jetty.servlet.Holder.newInstance(Holder.java:199)
at org.mortbay.jetty.servlet.ServletHolder.start
(ServletHolder.java:240)
at
org.apache.geronimo.jetty.JettyWebAppContext.registerServletHolder
(JettyWebAppContext.java:475)
at org.apache.geronimo.jetty.JettyWebAppContext$
$FastClassByCGLIB$$99d6fb54.invoke(<generated>)
at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke
(FastMethodInvoker.java:38)
at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke
(GBeanOperation.java:118)
at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke
(GBeanInstance.java:719)
at org.apache.geronimo.gbean.runtime.RawInvoker.invoke
(RawInvoker.java:57)
at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke
(RawOperationInvoker.java:36)
at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept
(ProxyMethodInterceptor.java:94)
at org.apache.geronimo.jetty.JettyServletRegistration$
$EnhancerByCGLIB$$b58ae56d.registerServletHolder(<generated>)
at
org.apache.geronimo.jetty.JettyServletHolder.<init>(JettyServletHolder.java:71)
.....
....
Caused by: java.lang.ClassCastException
at org.apache.commons.logging.LogFactory.newFactory
(LogFactory.java:495)
... 69 more
I just came to know that this ClassCastException is a bug in Geronimo.
Is this fixed or is there any way I could clear this error?
Thanks.
Dinesh.G
This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
Any unauthorised review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly
prohibited and may be unlawful.
Visit us at http://www.cognizant.com