Products | Versions |
---|---|
TIBCO BPM Enterprise (formerly TIBCO ActiveMatrix BPM) | 3.0.0, 3.1.0, 4.0.0, 4.1.0, 4.2.0 |
amx.bpm.app fails to start, with the component Openspace/gadgetserver in Start Failed state. Runtime state of application components/bindings can be seen from TIBCO ActiveMatrix Administrator by clicking the "Start Failed" in the Application State column.
The BPM node log shows the following error :
.. [ERROR] [amx.bpm.app] com.tibco.amx.cf.logger.lifecycle - "TIBCO-AMX-CF-000022: Error stopping ApplicationName=amx.bpm.app ComponentName=Openspace/gadgetserver Version=1.3.0.001 ComponentURI=urn:amx:BPMEnvironment/amx.bpm.app/Openspace/gadgetserver_1.3.0.001. Component caused by: Exception occurred during webApp un-deployment of component 'Openspace/gadgetserver'" (ActionID="[amxbpmadmin:Component-Start:57399]")
java.lang.IllegalArgumentException: Exception occurred during webApp un-deployment of component 'Openspace/gadgetserver'
at com.tibco.amf.runtime.implementationtype.webapp.WebAppImplementationAdapter.destroyImplementation(WebAppImplementationAdapter.java:313)
.....
Caused by: java.lang.Exception: Could not create cache directory "/jsecurity-ehcache/ehcache_auto_created_1462385941124".
at net.sf.ehcache.store.DiskStore.initialiseFiles(DiskStore.java:189)
at net.sf.ehcache.store.DiskStore.<init>(DiskStore.java:164)
... 47 more
Cause:
Openspace gadget server creates a temporary directory named as /jsecurity-ehcache/ehcache_auto_created_<unique number> in the Java Virtual Machine's (JVM) temporary location. This error indicates the JVM temporary location is being detected as "/".
The default temporary-file directory is specified by the system property java.io.tmpdir. On UNIX, the default value of this property is typically "/tmp" or "/var/tmp". On Microsoft Windows, it is in the user's temp location (echo %TEMP%). The out of the box BPM node does not have the JVM property java.io.tmpdir explicitly set. It defaults as per the operating system (OS).
The problem here is that the BPM node's OS user does not have permissions to create a directory in the JVM's temporary location.