iProcess background processes go into a "SUSPENDED" state on startup
book
Article ID: KB0081466
calendar_today
Updated On:
Products
Versions
TIBCO iProcess Technology Plug-ins
11.5.0
Description
iProcess background processes (BG, RPCBG & BGPREDICT) go into a "SUSPENDED" state on startup
[pro]$ swsvrmgr status -v Machine ID Proc Name Proc Inst Status Comment ---------------------------------------------------------------------- 1 BG 1 SUSPENDED Process restart suspended by process manager 1 BG 2 SUSPENDED Process restart suspended by process manager 1 BG 3 SUSPENDED Process restart suspended by process manager 1 BG 4 SUSPENDED Process restart suspended by process manager 1 BGPREDICT 1 SUSPENDED Process restart suspended by process manager 1 DIRECTOR 1 NOT RUNNING 1 DLMGR 1 RUNNING DLMGR process started 1 IAPJMS 1 NOT RUNNING 1 RPCBG 1 SUSPENDED Process restart suspended by process manager 1 RPC_TCP_LI 1 RUNNING RPC listener process started 1 RPC_UDP_LI 1 RUNNING RPC listener process started 1 SPO 1 RUNNING SPO Server process started 1 WIS 1 RUNNING WIS process started 1 WIS 2 RUNNING WIS process started 1 WISMBD 1 RUNNING WISMBD process started 1 WISMBD 2 RUNNING WISMBD process started 1 WQS 1 RUNNING WQS process started
Current System Status : 'RUNNING'
The sw_error.log indicates that the background processes failed. No eaijava logs are generated under SWDIR/logs
The background process stderr logs under SWDIR/logs/process contain the exception: java.io.FileNotFoundException: /staffware/installs/ipe/phil114111/libs/eaijava/log4j.properties (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:146) at java.io.FileInputStream.<init>(FileInputStream.java:101) at com.staffware.eaijava.bootstrap.library.SWEAIJavaClassLoader.resetLoggingContext(SWEAIJavaClassLoader.java:664) at com.staffware.eaijava.bootstrap.library.SWEAIJavaClassLoader.initialize(SWEAIJavaClassLoader.java:234) log4j:WARN No appenders could be found for logger (com.staffware.eaijava.bootstrap.library.SWEAIJavaClassLoader). log4j:WARN Please initialize the log4j system properly.
Issue/Introduction
iProcess background processes (BG, RPCBG & BGPREDICT) go into a "SUSPENDED" state on startup
Environment
TIBCO iProcess Engine (Oracle) 11.4.1 - Linux
TIBCO iProcess Technology Plug-ins 11.5.0 - Linux
Resolution
The error indicates that the plug-in is unable to locate the file: /opt/staffw_nod1/libs/eaijava/log4j.properties
The correct location of the log4j.properties file is: $SWDIR/eaijava/log4j.properties
iProcess is configured with the wrong location of the SWDIR/eaijava directory.
The path is configured in the iProcess registry information for the EAIJAVA plug-in.
The output from the iProcess command “sweaierg list” contained the following for the EAIJAVA plugin:
EAI Type: EAIJAVA On Machine: 1 Version: 11.5.0 Copyright: Copyright (c) 2002-2015 TIBCO Software Inc. Library: /opt/staffw_nod1/lib/EAI_JAVA_i11_5_0_0.ear Init Params: /opt/staffw_nod1/libs/eaijava
The “Init Params” setting was incorrect.
Resolution is to unregister the EAIJAVA plugin and re-register using the correct path.