IBM Support

Getting an error when attempting to upload a document in FileNet WorkplaceXT

Troubleshooting


Problem

Documents fail to upload in Workplace XT. The following error is received: Site Administrator must set valid 'uploadDir' in web.xml

Cause

In this situation disk space became an issue and files were deleted to gain more disk space. One of the directories where the contents were removed was the Upload directory.

Diagnosing The Problem

The following items were verified prior to finding the resolution:

  1. Verified the Web.xml on both the deployed and install directories contained the following entry:

    <context-param>
    <param-name>uploadDir</param-name>
    <param-value>/opt/IBM/FileNet/AE/Upload</param-value>
    </context-param>

  2. Verified that directory structure exists

  3. Verified the WAS startup user could read and write to that directory

Resolving The Problem

Chose to clear the Application Temp directories which resolved the issue:

  1. Backup the deployed Workplace directory:

  2. <WAS_HOME>/profiles/AppSrv01/installedApps/<node_name>/<instance>.ear/app_engine.war

  3. Stop the Workplace Application from the WebSphere administration console.

  4. Delete the temp Workplace directory (default: app_engine.war) from:


    <WAS_HOME>/profiles/AppSrv01/temp/<node_name>/<Server>/<instance>/app_engine.war

    <WAS_HOME>/profiles/<profile_name>/wstemp

  5. Restart the Workplace Application from the WebSphere administration console.

  6. See if documents can be retrieved. If not provide the logs above along with the GUID of the document that failed to retrieve.
[{"Product":{"code":"SSNW2F","label":"FileNet P8 Platform"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Content Engine","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"5.1;5.2;5.2.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

More support for:
FileNet P8 Platform

Software version:
5.1, 5.2, 5.2.1

Operating system(s):
AIX, HP-UX, Linux, Solaris, Windows

Document number:
274373

Modified date:
17 June 2018

UID

swg21972791