Skip to main content

Remote collect of WAS 7.x fails


Technote (troubleshooting)


Problem(Abstract)

WAS 7.x installed on Unix platform. Remote collect by TCIM 8.5 might fail due to wrong libraries.

Symptom

Remote collect of events from WAS 7.x installed on an Unix machine fails


Cause

This happens due to a change in the location of the required library files which are used for a remote collect from WAS 7.x.

Environment

WAS 7.x running on Unix platform

Diagnosing the problem

Errors in Event source log file:

Exception in thread "main" java.lang.NoClassDefFoundError: nl.consul.cea.gensub.iwas.java.GetWASLogs
Caused by: java.lang.ClassNotFoundException: nl.consul.cea.gensub.iwas.java.GetWASLogs
        at java.net.URLClassLoader.findClass(URLClassLoader.java:434)


Resolving the problem

The getwaslogs.sh script needs to be modified to include the .jar name in the WAS_HOME/plugins/com.ibm.wsfp.main.jar:


$JAVA_HOME/bin/java" -Djava.security.auth.login.config="$WAS_HOME/properties/wsjaas_client.conf" -Dws.ext.dirs="$WAS_EXT_DIRS;$WAS_USER_DIRS:." -Djava.naming.factory.initial=com.ibm.websphere.naming.WsnInitialContextFactory -Dserver.root="$WAS_HOME" "$CLIENTSAS" "$CLIENTSSL" -Duser.install.root="$USER_INSTALL_ROOT" -classpath "../bin/getwaslogs.jar:$WAS_CLASSPATH:$WAS_HOME/plugins/com.ibm.ws.security.crypto_6.1.0.jar:$WAS_HOME/bin/ProfileManagement/plugins/com.ibm.websphere.v61_6.1.0/ws_runtime.jar:$WAS_HOME/plugins/com.ibm.ws.runtime_6.1.0.jar:$WAS_HOME/runtimes/com.ibm.ws.webservices.thinclient_6.1.0.jar:$WAS_HOME/plugins/com.ibm.ws.admin.core.jar:$WAS_HOME/plugins/com.ibm.ws.prereq.soap.jar:$WAS_HOME/plugins/com.ibm.ws.runtime.jar:$WAS_HOME/plugins/com.ibm.ws.security.crypto.jar:$WAS_HOME/runtimes/com.ibm.ws.webservices.thinclient_7.0.0.jar:$WAS_HOME/plugins/com.ibm.ws.admin.services.jar:$WAS_HOME/plugins/com.ibm.wsfp.main.jar:." nl.consul.cea.gensub.iwas.java.GetWASLogs -host $HOST -port $PORT -username $USER_NAME -password $PASSWORD -showlog $SHOWLOG_PATH -chunk $TEMP_FILE -propsfile $PROPS_FILE 2>>$act_log_file 1>>$act_log_file


You can also use the attached getwaslogs.sh script where the above modification has been done. You need to replace the existing getwaslogs.sh script with the one attached and rerun the collect


Product Alias/Synonym

ITSIEM

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

Tivoli Compliance Insight Manager


Software version:
8.5


Operating system(s):
AIX, Windows


Reference #:
1613765


Modified date:
2012-10-24

Translate my page

Content navigation