Monday, August 31, 2015

ADMR0104E: The system is unable to read document

Error: ADMR0104E: The system is unable to read document /cells/Cell01/nodes/Node01/servers/Node01/server.xml: java.io.IOException: Permission denied

Caused by: com.ibm.websphere.management.exception.DocumentIOException: Unable to create temp file for document: cells/Cell01/nodes/Node01/node-metad

ata.properties

WSVR0009E: Error occurred during startup

com.ibm.ws.exception.RuntimeError: Could not obtain managed object metadata from Config Repository.

Caused by: com.ibm.websphere.management.exception.DocumentIOException: Unable to create temp file for document: cells/Cell01/nodes/Node01/node-metadata.properties

00000001 ConfigManager E   com.ibm.ws.xd.agent.repository.RepositoryException: com.ibm.websphere.management.exception.DocumentIOException: Unable to create temp file for document: /cells/Cell01/nodes/Node01/servers/Node01/server.xml

The above errors will generally be seen while starting the servers with non root id, immediately after installation of servers and deployment or Incase if any of the folder permissions are changed.

Solution:

Do not be mislead-ed with the path seen in the error message. Since the error message says, Unable to create temp file, Go to the following directory.

/WAS/appserver/profiles/AppServer/config/temp/download/cells/Cell01/nodes/Node01/servers/Node01

Ensure that the temp folder under the config directory has sufficient permissions for the userid that is being used to start the server.

keep checking the folder permissions in the above hierarchy and ensure the non root id has the write permissions for the above folder structure.

Once the permissions are corrected, Server can be restarted and the errors will not be seen in the logs.

1 comment: