Error on Websphere Application after restart

Viewed 696

Can someone please advise how I can solve this issue. I am getting this error on my websphere application after restart.

SystemErr     R Thread[server.startup : 1,5,main] java.io.FileNotFoundException: /opt/IBM/WebSphere/AppServer/derby/derby.log (Permission denied)
Booting Derby version The Apache Software Foundation - Apache Derby - 10.8.3.1 - (1452645): instance a816c00e-0170-ce1a-1169-ffff86094069 
on database directory /opt/IBM/WebSphere/AppServer/profiles/AppNode/databases/EJBTimers/peoplemember02/EJBTimerDB  with class loader com.ibm.ws.bootstrap.ExtClassLoader@9096b0eb 
Loaded from file:/opt/IBM/WebSphere/AppServer/derby/lib/derby.jar
java.runtime.version=pxa6470sr10fp5-20170421_01 (SR10 FP5)
java.fullversion=JRE 1.7.0 IBM J9 2.6 Linux amd64-64 Compressed References 20170407_343227 (JIT enabled, AOT enabled)
1 Answers

The error indicates that it lacks permission to the log file for the Apache Derby database that is used for EJB Persistent Timers. Have you tried checking the permissions of the file and granting read/write access?

For example, to grant read & write access to all, you could do,

chmod a+rw /opt/IBM/WebSphere/AppServer/derby/derby.log

If this doesn't work, it is possible that permissions might be lacking to the folder which contains derby.log

Related