geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Mulder (JIRA)" <>
Subject [jira] Created: (GERONIMO-518) Deploying Struts app fails on Logging ClassCastException
Date Mon, 06 Dec 2004 02:38:22 GMT
Deploying Struts app fails on Logging ClassCastException

         Key: GERONIMO-518
     Project: Apache Geronimo
        Type: Bug
  Components: core, web  
    Reporter: Aaron Mulder
 Assigned to: Dain Sundstrom 
    Priority: Critical
     Fix For: 1.0-M4

Deploying a web app based on Struts results in the ClassCastException in commons logging displayed
below.  The web app includes a version of commons-logging in its WEB-INF/lib.  The same web
app can be successfully deployed in Tomcat 5.0.25 with no problems.

Exception in thread "Thread-4" java.lang.ExceptionInInitializerError
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
        at java.lang.reflect.Constructor.newInstance(
        at java.lang.Class.newInstance0(
        at java.lang.Class.newInstance(
        at org.mortbay.jetty.servlet.Holder.newInstance(
        at org.mortbay.jetty.servlet.ServletHolder.start(
        at org.mortbay.jetty.servlet.ServletHandler.initializeServlets(
        at org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(
        at org.mortbay.jetty.servlet.WebApplicationContext.doStart(
        at org.apache.geronimo.jetty.JettyWebAppContext.doStart(

Caused by: org.apache.commons.logging.LogConfigurationException: java.lang.ClassCastException:
        at org.apache.commons.logging.LogFactory$
        at Method)
        at org.apache.commons.logging.LogFactory.newFactory(
        at org.apache.commons.logging.LogFactory.getFactory(
        at org.apache.commons.logging.LogFactory.getLog(
        at org.apache.struts.action.ActionServlet.<clinit>(
        ... 67 more
Caused by: java.lang.ClassCastException: org.apache.geronimo.kernel.log.GeronimoLogFactory
        at org.apache.commons.logging.LogFactory$
        ... 72 more

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
If you want more information on JIRA, or have a bug to report see:

View raw message