You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Luc Fouin <lu...@free.fr> on 2005/05/26 15:46:30 UTC

[JS2] Struts bridge problem

hi,


i've a struts webapp which i want to deploy as a portlet.
i've checked the *README.TXT* in <jetspeed2>/portal-bridge/struts and 
followed all the point (i think), but in my portlet i just have

>  Cannot create Portlet instance org.apache.portals.bridges.struts.StrutsPortlet for Portlet Application SiteEdition

as a result, and i see

> java.lang.ClassCastException: org.apache.portals.bridges.struts.StrutsPortlet
> 	at org.apache.jetspeed.factory.JetspeedPortletFactory.getPortletInstance(JetspeedPortletFactory.java:144)
> 	at org.apache.jetspeed.container.invoker.ServletPortletInvoker.invoke(ServletPortletInvoker.java:189)
> 	at org.apache.jetspeed.container.invoker.ServletPortletInvoker.render(ServletPortletInvoker.java:125)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)

in jetspeed.log...

i don't know where it come from, and can't find until now... i know that 
my webapp used to work (at 50%) and since that moment, i made some 
modifications, but nothing which can trigger this kind of error (as far 
as i can see)

anybody has an idea? thanks to google i found this: 
http://www.mail-archive.com/jetspeed-dev@jakarta.apache.org/msg17041.html 
but it does not seem very usefull to me in understanding the error...

thanks a lot for your help...

Luc

-- 
Luc FOUIN - Stagiaire Aptiwan
14 rue Niepce
75014 Paris
Tél : (+33) 6 77 95 17 24
Mél : luc*DOT*fouin*AT*aptiwan*DOT*com

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