"ScratchDir: <WSAS root>/temp/<application server>/<web application> is not usable" when running as non-root

Technote (FAQ)
Problem
After configuring an Application Server in WebSphereŽ Application Server to run as non-root, messages similar to the following appear in the Application Server's stderr file:

ScratchDir: <WAS_ROOT>/temp/<application_server>/<web_application> is not usable
Cause
The temp files created by the Application Server when it was running as root are inaccessible to an Application Server process that is running as a non-root (or non-Administrator) user.
Solution
  1. Either:
    • Change the permissions of the temp files and directories at
      WAS_ROOT/temp/application_server/web_application to be accessible by the non-root user

      or

    • Delete theWAS_ROOT/temp/application_serverdirectory, including the files in the directory.

  2. Insure that the non-root user has read and write access to the WAS_ROOT/temp directory.

  3. Restart the Application Server.











Document Information

Product categories: Software, Application Servers, Distributed Application & Web Servers, WebSphere Application Server, Security
Operating system(s): Multi-Platform
Software version: 3.0.2.x, 3.5, 4.0.1
Software edition: Advanced Edition, Advanced Single Server Edition, Standard & Advanced Editions
Reference #: 1046940
IBM Group: Software Group
Modified date: 2004-08-30