TIBCO iProcess Workspace (Browser) Client - ActionProcessor is throwing java.lang.NoClassDefFoundError

TIBCO iProcess Workspace (Browser) Client - ActionProcessor is throwing java.lang.NoClassDefFoundError

book

Article ID: KB0083204

calendar_today

Updated On:

Products Versions
TIBCO iProcess Workspace (Browser) 11.4.1

Description

TIBCO Workspace (Browser) ActionProcessor is throwing java.lang.NoClassDefFoundError: Could not initialize class com.staffware.sso.jbase.sSession. This is happening with the correct classpath and java.library.path settings TIBCO Workspace (Browser) is unable to load and initialize the com.staffware.sso.jbase.sSession class.
 
SSO: 11.4.1 32-bit sso lib used (Installation directory /opt/software/tibco/sso with 32 bit libssoJNI.so)
JRE: 1.7.0_35 32-bit
Tomcat: 7.0.59
 
Note that additional 32-bit libraries were installed as per iProcess 11.5 Installation Guide for 64-bit RHEL 7 Linux.
 
Tomcat Environment:

java.library.path=/opt/auditlibs/lib:/opt/cracklib/lib:/opt/db4-4/lib:/opt/libselinux/lib:/opt/ncurseslibs/lib:/opt/pam/lib:/opt/auditlibs/usr/lib:/opt/cracklib/usr/lib:/opt/db4-4/usr/lib:/opt/libselinux/usr/lib:/opt/ncurseslibs/usr/lib:/opt/pam/usr/lib:/opt/software/tibco/sso:/opt/software/oracle/product/12.1.0/client_1/lib:/opt/software/tibco/iprocess/swnode1/libs:/opt/stdc++5/lib:/opt/stdc++5/usr/lib
 
CLASSPATH:/opt/software/tibco/iprocess/swnode1/tomcat/bin/bootstrap.jar:/opt/software/tibco/iprocess/swnode1/tomcat/bin/tomcat-juli.jar:/opt/software/tibco/sso/ssoJBase.jar:/opt/software/tibco/sso/ssoRMI.jar:/opt/software/tibco/sso/ssoXMLSerializer.jar:/opt/software/tibco/sso/xercesImpl.jar:/opt/software/tibco/sso/commons-logging.jar

Issue/Introduction

TIBCO Workspace (Browser) ActionProcessor is throwing java.lang.NoClassDefFoundError: Could not initialize class com.staffware.sso.jbase.sSession.This is happening with correct classpath and java.library.path settings. TIBCO Workspace (Browser) is unable to load and initialize the com.staffware.sso.jbase.sSession class.

Environment

TIBCO iProcess Engine 11.5.0 Hot Fix 16 iProces Workspace (Browser) Client 11.4.1 iProcess Server Objects 11.4.1 32-bit Oracle Java JRE 1.7.0_35 32-bit Tomcat 7.0.59 RedHat Enterprise Linux 7.3

Resolution

Update the Tomcat configuration file catalina.sh

Add the following to the lines that start the tomcat server
        -Djava.library.path="$CATALINA_BASE"/lib \

This enables Tomcat to reference the libraries installed in the directory

Example from a catalina.sh file:
      exec "$_RUNJDB" "$LOGGING_CONFIG" $LOGGING_MANAGER $JAVA_OPTS $CATALINA_OPTS \
        -Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" -classpath "$CLASSPATH" \
        -sourcepath "$CATALINA_HOME"/../../java \
        -Djava.security.manager \
        -Djava.security.policy=="$CATALINA_BASE"/conf/catalina.policy \
        -Djava.library.path="$CATALINA_BASE"/lib \
        -Dcatalina.base="$CATALINA_BASE" \
        -Dcatalina.home="$CATALINA_HOME" \
        -Djava.io.tmpdir="$CATALINA_TMPDIR" \
        org.apache.catalina.startup.Bootstrap "$@" start

Additional Information

TIBCO iProcess Workspace (Browser) Client Installation Guide
TIBCO iProcess Server Objects (Java) Installation Guide