Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

"This portlet is not available": on first run of login portlet

9 views
Skip to first unread message

wimbi...@telenet.be

unread,
Feb 26, 2008, 5:49:44 AM2/26/08
to
Hello,<br />
<br />
I have a problem each time I restart my WPS 5.1.<br />
<br />
To access the portal, I am using a index.html with a frameset showing the wps/myportal page. The first thing shown in wps/myportal is the login portlet.<br />
<br />
Each time I restart my portal and access the login portlet for the first time, the error message "This portlet is not available" is shown. <br />
The problem can be solved by accessing the /wps/portal page, after that, the portlet on the index.html works fine. <br />
So to me this just sounds like a problem with initialising the login portlet. The (shortened) stacktrace from the wps.log are listed below, they are not really telling me a lot.<br />
Please let me know if somebody had this problem before.<br />
<br />
Thanks,<br />
<br />
Wim<br />
<br />
Stacktrace from wps.log:<br />
<br />
2008.02.26 11:31:25.651 W com.ibm.wps.engine.Servlet doGet()<br />
Invalid URL 'http://staa168l.lu.fortis.bank/wps/portal/!ut/p/.scr/Login'<br />
<br />
2008.02.26 11:31:25.651 W com.ibm.wps.engine.Servlet doGet()<br />
class com.ibm.wps.state.nls.exceptions.NlsCannotInterpretCodecException: EJPEI0073E: The input mediator class com.ibm.wps.state.inputmediators.WPInputMediator@1925116807 could not interpret codec .scr for request com.ibm.wps.engine.PortalRequestWrapper@298f3cd.<br />
<br />
2008.02.26 11:31:25.789 E com.ibm.wps.engine.tags.PortletRenderTag doStartTag<br />
EJPEJ0066E: The portlet could not be rendered. - StackTrace follows...<br />
<br />
2008.02.26 11:31:25.789 E com.ibm.wps.engine.tags.PortletRenderTag doStartTag<br />
javax.portlet.PortletException<br />
at org.apache.pluto.core.impl.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:133)<br />
at com.ibm.wps.portlets.login.Login.doView(Login.java:268)<br />
at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:235)<br />
at javax.portlet.GenericPortlet.render(GenericPortlet.java:163)<br />
at com.ibm.wps.pe.pc.std.cmpf.impl.PortletFilterChainImpl.render(PortletFilterChainImpl.java:144)<br />
at com.ibm.wps.pe.pc.std.invoker.impl.PortletServlet.dispatch(PortletServlet.java:131)<br />
...<br />
<br />
Caused by: java.lang.NullPointerException<br />
at com.ibm.wps.state.accessors.action.manager.SimpleActionIdHandler.generateActionID(SimpleActionIdHandler.java:88)<br />
at com.ibm.wps.state.accessors.portlet.PortletTargetAccessorControllerImpl.internalSetActionTarget(PortletTargetAccessorControllerImpl.java:144)<br />
at com.ibm.wps.state.accessors.portlet.PortletTargetAccessorControllerImpl.setActionTarget(PortletTargetAccessorControllerImpl.java:222)<br />
at com.ibm.wps.state.information.PortletURLProviderImpl.setAction(PortletURLProviderImpl.java:229)<br />
....<br />
<br />
Nested Exception is java.lang.NullPointerException<br />
at com.ibm.wps.state.accessors.action.manager.SimpleActionIdHandler.generateActionID(SimpleActionIdHandler.java:88)<br />
at com.ibm.wps.state.accessors.portlet.PortletTargetAccessorControllerImpl.internalSetActionTarget(PortletTargetAccessorControllerImpl.java:144)<br />
at com.ibm.wps.state.accessors.portlet.PortletTargetAccessorControllerImpl.setActionTarget(PortletTargetAccessorControllerImpl.java:222)<br />
at com.ibm.wps.state.information.PortletURLProviderImpl.setAction(PortletURLProviderImpl.java:229)<br />
at org.apache.pluto.core.impl.PortletURLImpl.initProvider(PortletURLImpl.java:235)<br />
....

Suren

unread,
Feb 26, 2008, 6:11:26 AM2/26/08
to
Did you do any customizations? Usually, " NO Portlet available " comes when the custom code logic is somewhere wrong as far as I know.<br />
<br />
May be there can be some other mistake too.

wimbi...@telenet.be

unread,
Feb 26, 2008, 7:55:18 AM2/26/08
to
There is one servlet filter on the portal, but that shouldn't have any impact.<br />
<br />
What kind of code logic specifications are you talking about exactly?<br />
<br />
Wim

Oliver Then

unread,
Feb 26, 2008, 9:32:47 AM2/26/08
to
The problem seems to be this URL:
'http://staa168l.lu.fortis.bank/wps/portal/!ut/p/.scr/Login'
This seems to be an invalid URL, therefore you get the exception you
pasted in your post. Where does this URL come from? Is this from your
index.html file?

Oliver

Suren

unread,
Feb 27, 2008, 12:49:33 AM2/27/08
to
<div class="jive-quote"><span class="jive-quote-header">WimBijnens wrote:</span><br />
Wim</div>
<p />
Sorry, I thought that you have developed some custom portlet where generally that error msg(Portlet Unavailable) on the screen will come if our code logic goes wrong. <br />
<br />
Anyways, it seems that similar problem has occured to few in 5.1 Version.<br />
<br />
<i>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&#38;f=46&#38;t=007672</i><br />
<br />
<i>http://www.ibm.com/developerworks/forums/thread.jspa?threadID=94495</i><br />
<br />
<i>http://www.webservertalk.com/message2286421.html</i><br />
<br />
Hope the above links might give some idea.<br />
<p />
<br />
<ul class="jive-dash">
<li>Suren</li>
</ul>

0 new messages