Error KCIIN0198E and problem loading JVM library
A recent issue was seeing the error:
KCIIN0198E Unable to start agent. Please, check log file.
on the start up of the Summarization and Pruning Agent.
although this type of error can be seen on any agent type.
The first stage in the investigation of this is to check the log file, as this should show what the issue is.
The log was the \IBM\ITM\logs\<hostname>_sy_*-01.log
In this case in the logs it showed:
kszjvm.cpp,593,"initialize") Java Library= (/bin/classic/libjvm.so)
kszjvm.cpp,643,"initialize") Problem loading JVM library
kszjvm.cpp,647,"initialize") Error= (/bin/classic/libjvm.so: cannot open shared object file: No such file or directory)
Note here that the path for the Java Library is not an ITM path.
It would normally be: /opt/IBM/ITM/JRE/lx8266
or the equivalent for the operating system that is being run.
A check of the sy.config showed there was no JAVA_HOME value set; however it is not enough to reset it in this file.
At the start of an agent the xx.config file (where xx is the two letter code for the agent) is
generated in the <ITMHOME>config by applying the values in the file <ITMHOME>/config/.ConfigData/kxxenv
Therefore the file /opt/IBM/ITM/config/.ConfigData/ksyenv was reviewed.
In this file there was no JAVAHOME line so the line below was added:
and the agent then started correctly.
The JAVA_HOME could now be seen as set in the sy.config file as well.
Not all KCIIN0198E errors will be a java issue, the key to finding the issue is to review
the start up log and see what error is reported.
Check out all our other posts and updates:
Academy Blogs: http://ow.ly/FezGi
Academy Videos: http://bit.ly/1wFKveY
Academy Google+: http://bit.ly/1sR5QTV
Academy Twitter Handle: http://bit.ly/1CknfoF