IBM Support

Unable to access Sterling webservices when using WebSphere Application Server 8.5.5

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

[{"Product":{"code":"SS6PEW","label":"Sterling Order Management"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"}],"Version":"9.4;9.3","Edition":"All Editions","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
16 June 2018

UID

swg21979941