portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Xavier Lawrence <xavier.lawre...@epfl.ch>
Subject Re: ClassCastException -> solved
Date Fri, 08 Oct 2004 14:18:55 GMT

 Ok, I have documented my problem and solution and added them to the
 wiki.
 
 Xavier
 
> > -- message original -------------------------
> > Sujet: [Fwd: Re: ClassCastException -> solved]
> > Date:  2004-10-08 14:24:26
> > De:    Serge Huber <shuber2@jahia.com>
> > À:     xlawrence@jahia.com
> > CC:    
> > 
> > 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 <florian.grousset@exalead.com>:
> > >
> > >  
> > >
> > >>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
> > >>
> > >>
> > >>    
> > >>
> > >
> > >
> >
> >---------------------------------------------------------------------
> > >To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
> > >For additional commands, e-mail:
> jetspeed-dev-help@jakarta.apache.org
> > >
> > >
> > >
> > >  
> > >
> > 
> > 
> > -- 
> > "Great minds discuss ideas. Average minds discuss events. Small
> minds
> > discuss people."  - Admiral Hyman Rickover
> > 
> > *******************************************
> > *           Scott T. Weaver               *
> > *         <weaver@apache.org>             *
> > *     <http://www.einnovation.com>        *
> > * --------------------------------------  *
> > *   Apache Jetspeed Enterprise Portal     *
> > *     Apache Pluto Portlet Container      *
> > *                                         *
> > * OpenEditPro, Website Content Management *
> > *     <http://www.openeditpro.com>        *
> > *******************************************
> > 
> > 
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> jetspeed-dev-help@jakarta.apache.org
> > 
> 
> 


---------------------------------------------------------------------
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