WebSphere Portal Server - Problems with c2a target portlet

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > July 2005 > Problems with c2a target portlet





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 Problems with c2a target portlet
Benno Tschanz

2004-10-15, 9:36 pm

Hi all

I have developed a c2a target portlet which is working fine. However,
looking at the portal log I see 2 entries indicating some problem:

1. Every time a portlet action other than the c2a-action is fired on the
portlet (eg. normal portlet action), the PortletWrapper tries to propagate
an output property although no output property is defined in the wsdl-file.
The wrapper does not find an apropriate action an throws a protocol error.

Log entry (sendAction is my ordinary portlet action):
2004.10.12 13:11:44.078 m com.ibm.wps.pb.wrapper.PortletWrapperUtils
propagateOutParameters Servlet.Engine.Transports : 0
Action name:sendAction.

2. When updating the portlet application containing the c2a portlet, the
PortletWrapper throws a NullPointerException upon logout.

LogEntry:
Nested Exception is java.lang.NullPointerException
at com.ibm.wps.pb.wrapper.PortletWrapper.logout(PortletWrapper.java:716)
at org.apache.jetspeed.portlet.Portlet.dispatch(Portlet.java:574)
at org.apache.jetspeed.portlet.Portlet.doGet(Portlet.java:510)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at org.apache.jetspeed.portlet.Portlet.service(Portlet.java:491)
at
com.ibm.wps.pe.pc.legacy.impl.PortletSessionData.valueUnbound(PortletSession
Data.java:224)
at
com.ibm.ws.webcontainer.httpsession.SessionData.processListeners(SessionData
..java:912)
.....

Any hints on these problems?

Thanks
Benno


bryan

2005-07-19, 5:56 pm

Benno Tschanz wrote:

> Hi all


> I have developed a c2a target portlet which is working fine. However,
> looking at the portal log I see 2 entries indicating some problem:


> 1. Every time a portlet action other than the c2a-action is fired on the
> portlet (eg. normal portlet action), the PortletWrapper tries to propagate
> an output property although no output property is defined in the wsdl-file.
> The wrapper does not find an apropriate action an throws a protocol error.


> Log entry (sendAction is my ordinary portlet action):
> 2004.10.12 13:11:44.078 m com.ibm.wps.pb.wrapper.PortletWrapperUtils
> propagateOutParameters Servlet.Engine.Transports : 0
> Action name:sendAction.


> 2. When updating the portlet application containing the c2a portlet, the
> PortletWrapper throws a NullPointerException upon logout.


> LogEntry:
> Nested Exception is java.lang.NullPointerException
> at com.ibm.wps.pb.wrapper.PortletWrapper.logout(PortletWrapper.java:716)
> at org.apache.jetspeed.portlet.Portlet.dispatch(Portlet.java:574)
> at org.apache.jetspeed.portlet.Portlet.doGet(Portlet.java:510)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
> at org.apache.jetspeed.portlet.Portlet.service(Portlet.java:491)
> at
> com.ibm.wps.pe.pc.legacy.impl.PortletSessionData.valueUnbound(PortletSession
> Data.java:224)
> at
> com.ibm.ws.webcontainer.httpsession.SessionData.processListeners(SessionData
> ..java:912)
> .....


> Any hints on these problems?


> Thanks
> Benno



Did you have any luck fixing this problem?

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com