Troubleshooting
Problem
WAP browser receives HTTP 404 error.
Symptom
WAP browser receives HTTP 404 error. SystemOut.log contains:
... Servlet E
com.ibm.wps.engine.Servlet handleException EJPEJ0069E: URL parsing
problem, URL=
http://portalhost/wps/portal/. ... Servlet 1
com.ibm.wps.engine.Servlet handleException An exception occurred while processing the request. com.ibm.portal.state.phases.exceptions.PhaseException:EJPEI0105E: An error occurred during the rendering in phase
com.ibm.wps.engine.phases.WPRenderPhase@15d715d7.
....
Caused by: java.lang.NullPointerException
at
com.ibm.wps.engine.phases.WPRenderPhase.getThemeTemplate(WPRenderPhase.java:128)
at
com.ibm.wps.engine.phases.WPRenderPhase.processRendering(WPRenderPhase.java:375)
Cause
To render a WML page for requested URL /wps/portal, at least one page must meet the following criteria:
- the page and its parent pages/labels are active
- the page is enabled for WML
- the anonymous portal user has at least USER role on that page
Diagnosing The Problem
Inspect an exported release (ExportRelease.xml/XMLAccess) and verify that at least one page exists that meets the criteria above (in bold below). For example:
<content-node ... active="true" objectid="6_18B9GDGQAGGT50I06246O10GB2" ... type="label" ...>
...
<supported-markup markup="wml" update="set"/>
...
<access-control ...>
<role actionset="User" update="set">
...
<mapping subjectid="anonymous portal user" subjecttype="user" update="set"/>
</role>
</access-control>
</content-node>
...
<content-node ... active="true" ... content-parentref="6_18B9GDGQAGGT50I06246O10GB2" ... type="page" ...>
<supported-markup markup="wml" update="set"/>
...
</content-node>
In this example, the child page inherits the role assignment from the parent label.
Resolving The Problem
Correct the configuration that prevents the page from meeting the criteria. For example, if the parent label above (6_18B9GDGQAGGT50I06246O10GB2) were inactive, the child page could not be displayed. Activiating the parent label would resolve the problem.
[{"Product":{"code":"SSHRKX","label":"WebSphere Portal"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF012","label":"IBM i"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"},{"code":"PF035","label":"z\/OS"}],"Version":"6.1","Edition":"Enable;Extend;Server;Express","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]
Was this topic helpful?
Document Information
Modified date:
03 December 2021
UID
swg21445260