portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Grousset <florian.grous...@exalead.com>
Subject Re: ClassCastException
Date Wed, 06 Oct 2004 15:54:45 GMT
It seems that struts jar isn't seen in the classpath. Has you tried 
forcing by putting it in your portlet's WEB-INF/lib ?

Florian


Xavier Lawrence wrote:

>Hi,
>
>I am trying to make a custom struts portlet application work on jetspeed-2 
>using tomcat 5.0.
>
>When triying to access the portlet, this is the output given my tomcat:
>
>JetspeedContainerServlet: Initialization complete for context My Struts Portlet 
>Application
>java.lang.ClassCastException
>        at org.apache.struts.tiles.TilesRequestProcessor.initDefinitionsMapping
>(TilesRequestProcessor.java:86)
>        at org.apache.struts.tiles.TilesRequestProcessor.init
>(TilesRequestProcessor.java:77)
>        at org.apache.struts.action.ActionServlet.getRequestProcessor
>(ActionServlet.java:585)
>        at org.apache.struts.action.ActionServlet.process
>(ActionServlet.java:1158)
>        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
>(ApplicationFilterChain.java:237)
>        at org.apache.catalina.core.ApplicationFilterChain.doFilter
>(ApplicationFilterChain.java:157)
>        at org.apache.catalina.core.ApplicationDispatcher.invoke
>(ApplicationDispatcher.java:704)
>        at org.apache.catalina.core.ApplicationDispatcher.doInclude
>(ApplicationDispatcher.java:590)
>        at org.apache.catalina.core.ApplicationDispatcher.include
>(ApplicationDispatcher.java:510)
>        at org.apache.portals.bridges.struts.StrutsPortlet.processRequest
>(StrutsPortlet.java:274)
>        at org.apache.portals.bridges.struts.StrutsPortlet.doView
>(StrutsPortlet.java:213)
>        at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:247)
>        at javax.portlet.GenericPortlet.render(GenericPortlet.java:175)
>        at org.apache.jetspeed.container.JetspeedContainerServlet.doGet
>(JetspeedContainerServlet.java:234)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
>(ApplicationFilterChain.java:237)
>        at org.apache.catalina.core.ApplicationFilterChain.doFilter
>(ApplicationFilterChain.java:157)
>        at org.apache.catalina.core.ApplicationDispatcher.invoke
>(ApplicationDispatcher.java:704)
>        at org.apache.catalina.core.ApplicationDispatcher.doInclude
>(ApplicationDispatcher.java:590)
>        at org.apache.catalina.core.ApplicationDispatcher.include
>(ApplicationDispatcher.java:510)
>        at org.apache.jetspeed.container.invoker.ServletPortletInvoker.invoke
>(ServletPortletInvoker.java:213)
>        at org.apache.jetspeed.container.invoker.ServletPortletInvoker.render
>(ServletPortletInvoker.java:124)
>        at org.apache.pluto.PortletContainerImpl.renderPortlet
>(PortletContainerImpl.java:103)
>        at 
>org.apache.jetspeed.container.JetspeedPortletContainerWrapper.renderPortlet
>(JetspeedPortletContainerWrapper.java:88)
>        at org.apache.jetspeed.aggregator.impl.RenderingJob.run
>(RenderingJob.java:109)
>        at org.apache.jetspeed.aggregator.impl.Worker.run(Worker.java:142)
>
>
>
>Does anybody know where I should look ?  I have been trying severyl things in 
>my config files and still got the same resulting exception.
>
>Thanks in advance
>
>Xavier
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org
>
>  
>


-- 
Florian Grousset <florian.grousset@exalead.com>
+33 (0)1 55 26 43 22
+33 (0)6 16 07 29 34


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message