|
Home > Archive > WebSphere Portal Server > October 2006 > Portlets migration from wps 5.0 to 5.1
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Portlets migration from wps 5.0 to 5.1
|
|
| Billel 2006-10-09, 7:31 am |
| Hi,
I'm trying to migrate portlets installed on wps 5.0 server to wps 5.1, all my portlets are IBM (not JSR168 portlets).
Is there any thing to change in code (JSP tags or Java files) to ensure that portlets will be installed in the new environment, wps 5.1,without any error or side effects.
For the moment I installed some ones and got 'Unavailable portlet' in the page and this exception in logs:
------------------------------------------------------------------
2006.10.09 11:07:41.703 E com.ibm.wps.pe.om.definition.impl.WebApplicationDefinitionImpl getServletContext
EJPPG0003E: ServletContext lookup for /wps/PA_1_0_LT returned the portal context. It has to be a different one.
2006.10.09 11:07:41.703 E com.ibm.wps.engine.tags.PortletRenderTag doStartTag
EJPEJ0066E: The portlet could not be rendered. - StackTrace follows...
2006.10.09 11:07:41.703 E com.ibm.wps.engine.tags.PortletRenderTag doStartTag
javax.portlet.PortletException
at com.ibm.wps.pe.pc.legacy.PortletContainerImpl.callPortletMethod(PortletContainerImpl.java:1445)
at com.ibm.wps.pe.pc.legacy.PortletContainerImpl.renderPortlet(PortletContainerImpl.java:512)
at com.ibm.wps.pe.pc.PortletContainerImpl.doRenderPortlet(PortletContainerImpl.java:552)
at com.ibm.wps.pe.ext.render.AbstractRenderManager.performService(AbstractRenderManager.java:251)
at com.ibm.wps.pe.pc.PortletContainerImpl.renderPortlet(PortletContainerImpl.java:100)
at com.ibm.wps.engine.tags.PortletRenderTag.doStartTag(PortletRenderTag.java:155)
at org.apache.jsp._Control._jspService(_Control.java:1924)
at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:344)
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:683)
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:781)
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
... 163 more
------------------------------------------------------------------------
Thanks for any help.
| |
| Shabeer 2006-10-10, 7:42 am |
| when did this occur??
what are the steps you performed?
rgds
Shabeer
| |
|
| Hello,
We have similar problem. We tried two things.
1) Imported the 5.0 WAR file on 5.1 target server and made required changes to the code and it works fine. Not sure if this is the correct way of doing it. ?
2) Created a brand new portlet project for 5.1 and copied the code from the 5.0 and tried to run it after making few changes. In this case we get "This portlet is unavailable. " error.
Any suggestions ?
Thanks!
|
|
|
|
|