permaculture playing cards*
The moose likes Portals and Portlets and the fly likes IncompatibleClassChangeError in Portlet Application.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "IncompatibleClassChangeError in Portlet Application.." Watch "IncompatibleClassChangeError in Portlet Application.." New topic
Author

IncompatibleClassChangeError in Portlet Application..

Pras Tiwari
Ranch Hand

Joined: Nov 07, 2005
Posts: 186
Hello All,

I am trying to run already developed IBM Portlet Implementation based Portlet Application.
I am using IBM Portal Server V5.1 to run my application inside IBM RAD6.0
After starting portlet server when I am trying to access this application, it gives me following error in one of my log files:-

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
java.lang.IncompatibleClassChangeError: class com.ibm.wps.pe.pc.legacy.impl.PortletSessionImpl does not implement interface javax.servlet.http.HttpSession
at com.ibm.wps.pe.pc.legacy.invoker.impl.PortletDelegateImpl._dispatch(PortletDelegateImpl.java:373)
at com.ibm.wps.pe.pc.legacy.invoker.impl.PortletDelegateImpl.access$200(PortletDelegateImpl.java:62)
at com.ibm.wps.pe.pc.legacy.invoker.impl.PortletDelegateImpl$Context.callPortlet(PortletDelegateImpl.java:526)
at com.ibm.wps.pe.pc.legacy.services.PortletFilterServiceImpl.doFilter(PortletFilterServiceImpl.java:403)
at com.ibm.wps.pe.pc.legacy.services.PortletFilter.doFilter(PortletFilter.java:42)
at com.ibm.wps.pe.pc.legacy.invoker.impl.PortletDelegateImpl.dispatch(PortletDelegateImpl.java:134)
at org.apache.jetspeed.portlet.Portlet.doGet(Portlet.java:506)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at com.ibm.wps.pe.pc.legacy.cache.CacheablePortlet.service(CacheablePortlet.java:117)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jetspeed.portlet.Portlet.service(Portlet.java:495)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)]
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Could you please help me in finding out why I am getting this error?

I tried to Search all jars which has PortletSessionImpl class in it & I can see all these classes implementing javax.servlet.http.HttpSession.

Please let me know if you have any idea about any such exception.

Many Thanks in advance.

Regards,
--Pras

[ March 10, 2008: Message edited by: Pras Kumar ]
[ March 10, 2008: Message edited by: Pras Kumar ]

********Deserve Before You Desire********
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: IncompatibleClassChangeError in Portlet Application..