IBM Support

Receive "Could not load form from disk cache" error when loading form.

Troubleshooting


Problem

Receive "Could not load form from disk cache" error when loading form.

Symptom

Receive an error message when trying to open a form:


You can also check the error.xml log under <webform server install location>\LotusForms\Server\3.5\WebformServer\LogServer\logs\portlet\ the portlet that displays the form throws a nullpointer exception.

<logEvent level="SEVERE" time="2010-03-02 13:35:32,702">


<error>
<context><url goes here></context>
<message>java.lang.NullPointerException</message>
<errorHistory>java.lang.NullPointerException
at FormViewPortlet.doViewEx(FormViewPortlet.java:312)
at com.ibm.form.webform.framework.portlet.IBMWorkplaceFormsServerPortlet.callApplication(IBMWorkplaceFormsServerPortlet.java:733)
at com.ibm.form.webform.framework.portlet.IBMWorkplaceFormsServerPortlet.doView(IBMWorkplaceFormsServerPortlet.java:583)
at ca.gwl.group.gnpm.eclaims.FormViewPortlet.doView(FormViewPortlet.java:268)
at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:235)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:163)

Resolving The Problem

One possible reason you are receiving this error is that the web.xml and portlet.xml have not been correctly configured to point to the correct translator server URL or web server URL if a load balancer is being used.

It is important to note that PWSforwarder is a servlet that passes specific requests to the Webform Server framework so they can be processed. This means that the translatorLocation and logServerName parameters will need to point to the correct locations for PWSForwarder servlet found in the web.xml.


http://publib.boulder.ibm.com/infocenter/forms/v3r5m1/topic/com.ibm.form.webform.developing.doc/i_wfsws_g_sample_portlet_modifying.html

Note: The logServerName and logServerPort are no longer relevant in 4.x and should be removed from the web.xml and portlet.xml files.

[{"Product":{"code":"SS4BP3","label":"Lotus Forms Server"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Webform server","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"4.0;3.5.1;3.5;3.0.1","Edition":"","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]

Document Information

Modified date:
16 June 2018

UID

swg21424235