|How do I resolve the ?ERROR: SamplerManager::_addSamplers Failed to load JVMManager because of a component version mismatch? error?
The component version mismatch occurs when the version of the libraries are not compatible with the Netprobe.
The error occurs when only certain libraries are swapped in, as opposed to swapping in the whole NetProbe package. Libraries can differ a lot from version to version; the rule of thumb is to swap all the probe libraries included the tar file.
It is possible to have these libraries installed in a folder other than where the Netprobe is installed or even have the execution of the start script in a different directory. You can set GENEOS_JARS and GENEOS_LIBS environment variable. This is an extract from the manual:
The Netprobe checks for these environment variables and uses their values if they are specified to find the jar files and shared library. Otherwise, the default behaviour of the netprobe is to look into it's working directory.
Also verify that the paths are set correctly:
export JAVA_HOME=<java directory>/jre (ex: /home/user1/apps/ jdk1.6/jre)