commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebastian Komander" <>
Subject LogConfigurationException & ClassCastException: Digester & WebSphere Portal
Date Tue, 18 Oct 2005 09:03:57 GMT

I've created a portlet. I use commons-digester 1.7 to read an xml file.
The portlet is running great in a WebSphere Portal V5.0 Test Environment.

But, if i deploy the portlet, I get a LogConfigurationException and a
I think, the problem is, that WebSphere Portal has an own log service. And
Digester tries to fetch this log service. Then Digester tries to cast the
WebSphere log service and a ClassCastException is throws.

Can you give me a solution ? Need help plz.

Here is a part of the exception, the whole is attached.

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.commons.digester.Digester.( at
de.fiducia.umfrage.fw.SurveyController.parse( at
at de.fiducia.umfrage.UmfragePortlet.doView( at
at org.apache.jetspeed.portlet.Portlet._dispatch(
Code)) at
Compiled Code)) at
Compiled Code)) at
Code)) at
org.apache.jetspeed.portlet.Portlet.dispatch( Code))
at org.apache.jetspeed.portlet.Portlet.doGet( at
javax.servlet.http.HttpServlet.service( Code)) at
Code)) at javax.servlet.http.HttpServlet.service(
Code)) at
org.apache.jetspeed.portlet.Portlet.service( Code))
Compiled Code)) at
Code)) at
Code)) at
Code)) at
Code)) at
View raw message