Hi Xavier,
I can see others encountering this same issue in the future. Would you mind documenting the issue you encountered and how you resolved it on the wiki? I you do decide to, use this link :
http://wiki.apache.org/portals/Jetspeed2/ClassCastExceptionWithStruts?action=edit
to author it.
Thanks,
Xavier Lawrence wrote:
Ok, problem solved...
solution: don't use the original struts-config.xml file that comes with the struts-blank example as a starter...
En réponse à Florian Grousset <[EMAIL PROTECTED]>:
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:
jetspeed-2Hi,
I am trying to make a custom struts portlet application work on
tomcat:using tomcat 5.0.
When triying to access the portlet, this is the output given my
JetspeedContainerServlet: Initialization complete for context My StrutsPortlet
Applicationorg.apache.struts.tiles.TilesRequestProcessor.initDefinitionsMapping
java.lang.ClassCastException
at
(TilesRequestProcessor.java:86)org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
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
atjavax.servlet.http.HttpServlet.service(HttpServlet.java:689)
atjavax.servlet.http.HttpServlet.service(HttpServlet.java:802)
atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:237)org.apache.portals.bridges.struts.StrutsPortlet.processRequest
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
(StrutsPortlet.java:274)javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:247)
at org.apache.portals.bridges.struts.StrutsPortlet.doView
(StrutsPortlet.java:213)
at
atjavax.portlet.GenericPortlet.render(GenericPortlet.java:175)
atorg.apache.jetspeed.container.JetspeedContainerServlet.doGet
(JetspeedContainerServlet.java:234)javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at
atjavax.servlet.http.HttpServlet.service(HttpServlet.java:802)
atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:237)org.apache.jetspeed.container.invoker.ServletPortletInvoker.invoke
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
(ServletPortletInvoker.java:213)org.apache.jetspeed.container.invoker.ServletPortletInvoker.render
at
(ServletPortletInvoker.java:124)org.apache.jetspeed.aggregator.impl.Worker.run(Worker.java:142)
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
things in
Does anybody know where I should look ? I have been trying severyl
my config files and still got the same resulting exception.
Thanks in advance
Xavier
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Florian Grousset <[EMAIL PROTECTED]> +33 (0)1 55 26 43 22 +33 (0)6 16 07 29 34
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- "Great minds discuss ideas. Average minds discuss events. Small minds discuss people." - Admiral Hyman Rickover
******************************************* * Scott T. Weaver * * <[EMAIL PROTECTED]> * * <http://www.einnovation.com> * * -------------------------------------- * * Apache Jetspeed Enterprise Portal * * Apache Pluto Portlet Container * * * * OpenEditPro, Website Content Management * * <http://www.openeditpro.com> * *******************************************
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]