Troubleshooting
Problem
Attempts to access WSDL after building the EAR with webservices enabled in IBM Sterling Order Management leads to the Permission denied error
Symptom
Below error message in buildEAR.log:
!MESSAGE Error reading configuration: /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/configuration/org.eclipse.osgi/.manager/.fileTableLock (Permission denied)
[exec] !STACK 0
[exec] java.io.FileNotFoundException: /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/configuration/org.eclipse.osgi/.manager/.fileTableLock (Permission denied)
[exec] at java.io.RandomAccessFile.open(Native Method)
[exec] at java.io.RandomAccessFile.<init>(RandomAccessFile.java:244)
[exec] at org.eclipse.core.runtime.internal.adaptor.Locker_JavaNio.lock(Locker_JavaNio.java:33)
[exec] at org.eclipse.osgi.storagemanager.StorageManager.lock(StorageManager.java:388)
[exec] at org.eclipse.osgi.storagemanager.StorageManager.open(StorageManager.java:701)
[exec] at org.eclipse.osgi.internal.baseadaptor.BaseStorage.initFileManager(BaseStorage.java:213)
Cause
Due to permission issue yantrawebservices.war is not created during build
Environment
WebSphere Application Server 8.5.5 is used in Unix platform.
Resolving The Problem
Ensure the user who runs buildEAR.sh has write permission to file:
/<WAS_INSTALL_DIR>/profiles/<profilename>/configuration/org.eclipse.osgi/.manager/.fileTableLock
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21979941