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: > > >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: [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]