You can install JENNIFER by following below 6 steps on WAS(Web Application Server).
1. To set jennifer.jar
- jennifer.jar should be set prior to javax.servlet.http.HttpServlet class
2. To set jenifer agent config
- Set it in JVM OPTION but each WAS type has different setting value.
3. To set jennifersys.jar
- When you connect JDBC, prepend jennifersys.jar to bootclasspath if you get Connection from DataSource.
You don't need to set the value except for this.
4. To Creat and set LWST
- To creat LWST : jre/lib/rt(core,vm).jar OF JDK that is used by lwst30.sh <alias> <was
- To set LWST : Created lwst30.<alias>.jar file
5. To test and set JNI
6. To confirm license and register.
< How to install InterStage 5.x >
In the Interstage 5.x, you can adjust JENNIFER installation process and LWST setting on INTERSTAGE_HOME>/conf/swatch.conf file. (Waring : jennifer.jar should be prior to servlet.jar.)
This is swatch.conf data.
sample.ipaddress=localhost
sample.port=8009
sample.log=true
sample.containerconf=/etc/opt/FJSVjs2/jscontainer.xml
sample.bin=/opt/FJSVawjbk/jdk14/bin/java
sample.bin.parameters=-Dcom.fujitsu.interstage.jservlet.j2ee=true
-Xbootclasspath/p:/home/jennifer/agent/jennifersys.jar:/home/jennifer/agent/lwst30.sun.jar
-Djennifer.config=/home/jennifer/agent/w11.conf
sample.env=CLASSPATH=/opt/FJSVawjbk/jdk14/lib/tools.jar
sample.env=CLASSPATH=/opt/FJSVjs2/classes/jsboot.jar
sample.env=CLASSPATH=/home/jennifer/agent/jennifer.jar
sample.env=CLASSPATH=/opt/FJSVjs2/classes/servlet.jar
sample.env=SHLIB_PATH=/home/jennifer/agent/jni/hp
Refer to the JENNIFER installation guide, if you want to learn how to creat LWST and get extra setting information.
< How to install InterStage 7.x >
InterStage 7.x
Copy jennifer.jar into [INTERSTAGE_HOME]/var/deployment/ijserver/[instance name]/ext directory. (JENNIFER Installation Process 1)
Move to Administration Console ->System -> WorkUnit -> instanmeName -> WorkUnit Settings Settings and there is Java VM Options. Then, set -Djennifer.config=/jennifer/agent/w11.conf and
-Xbootclasspath/p:/jennifer/agent/jennifersys.jar:/jennifer/agent/lwst30.sun.jar option.
(JENNIFER Installation Process 2,3,4)
Refer to the JENNIFER installation guide, if you want to learn how to creat LWST and get extra setting information (JENNIFER Installation Process 5,6).
Even you installed JENNIFER sucessfully, you may not see the cpu and system memory data.
Then, check java.library.path in the Problem Determination -> Utility -> System Property tap and copy libjennifer20.so on the registered path.
|