Guest User ???????????????????????????????????????????????????????????????????? C:\Program Files\JenniferAgent>lwst40.bat -sun “c:\Program Files\Java\jre1.5.0_06\lib\rt.jar” I typed the above command message and ahs the below result. ???????????????????????????????????????????????????????????????????? C:\Program Files\JenniferAgent>java -Djvm=-sun -Dbuild_jdbc=true -Dbuild_classloader=true -Db uild_thread=false -Dbuild_collection=false -Dbuild_file=true -Dbuild_socket=true -Dbuild_xml= true -cp .\lwst.setup.jar com.javaservice.lwst.setup.Main “c:\Program Files\Java\jre1.5.0 _06\lib\rt.jar” ########################################################## Jennifer LWST ver 4.0.3.3
  1. build properties ###########################
  1. Want to change build-options, check the lwst.sh/lwst.bat
  2. ex) -Dbuild_collection=false
  3. if the OS is TRU64 , set -Dtype_collection=tru64
  4. —> Support JAVA5 since LWST3.20 ########################################################## build_jdbc = true build_classloader = true build_thread = false build_collection = false build_file = true build_socket = true build_xml = true ########################################################## build classes… [c:\Program Files\Java\jre1.5.0_06\lib\rt.jar] java/lang/ClassLoader$1.class copy… javax/xml/parsers/SAXParser.class patch… javax/xml/parsers/DocumentBuilder.class patch… java/net/Socket.class patch… java/lang/ClassLoader$2.class copy… java/lang/ClassLoader$NativeLibrary.class copy… java/lang/ClassLoader$3.class copy… java/io/FileOutputStream.class patch… java/io/FileInputStream.class patch… JVM TYPE is SUN15…major=49 minor=0 java/lang/ClassLoader.class patch… ########################################################## build new lwst.jar and make configure … copy files from old-jar to new-jar … ########################################################## build ok… C:\Program Files\JenniferAgent>move lwst.out.jar lwst.jdk.jar

???????????????????????????????????????????????????????????????????? C:\Program Files\JenniferAgent>lwst40.bat -sun “c:\Program Files\Java\jre1.5.0_06\lib\rt.jar” I typed the above command message and ahs the below result. ???????????????????????????????????????????????????????????????????? C:\Program Files\JenniferAgent>java -Djvm=-sun -Dbuild_jdbc=true -Dbuild_classloader=true -Db uild_thread=false -Dbuild_collection=false -Dbuild_file=true -Dbuild_socket=true -Dbuild_xml= true -cp .\lwst.setup.jar com.javaservice.lwst.setup.Main “c:\Program Files\Java\jre1.5.0_06\lib\rt.jar”

???????????????????????????????????????????????????????????????????? C:\Program Files\Apache Software Foundation\Tomcat 6.0\bin\bin\catrina.bat I corrected the file as follows. ???????????????????????????????????????????????????????????????????? rem JAVA_OPTS (Optional) Java runtime options used when the “start”, rem “stop”, or “run” command is executed.

set JAVA_OPTS=-Djennifer.config=C:\Program Files\JenniferAgent\w11.conf -Xbootclasspath/p:C:\Program Files\JenniferAgent\jennifersys.jar;C:\Program Files\JenniferAgent\lwst40_batch.bat ????????????????????????????????????????????????????????????????????

When I execute tomcat, it runs well without any problem. But I couldn’t see the any performance data on the JENNIFER server.

2009. 3. 13 ?? 12:59:38 org.apache.catalina.core.StandardEngine start Infa: Starting Servlet Engine: Apache Tomcat/6.0.18 Jennifer TimeZoneOffset:32400000 2009. 3. 13 ?? 12:59:39 org.apache.coyote.http11.Http11Protocol start Info: Starting Coyote HTTP/1.1 on http-8080

Khalid Saeed

The JENNIFER agent is not installed properly.

1. Please confirm that you copied jennifer.jar in the C:\Program Files\Apache Software Foundation\Tomcat 6.0\common\lib directory properly.

2. You need to rebuild lwst by using JDK rt.jar on Tomcat6 and if you use JDK1.5 or newer, set it as a jdk15 option. (Please recheck the directory setting JAVA_HOME. I think you make a mistake while setting jdk.)

lwst40 jdk15 c:/jdk15/jre/rt.jar

3. You have to put the following in the catarina.bat file as a java option. Please input ” ”.

- -Djennifer.config=C:\Program Files\JenniferAgent\w11.conf
- -Xbootclasspath/p:C:\Program Files\JenniferAgent\lwst.boot.jar;C:\Program Files\JenniferAgent\lwst.jdk.jar
- -javaagent:C:\Program Files\JenniferAgent\lwst.javaagent.jar
Set as belows.
set JAVA_OPTS="-Djennifer.config=C:\Program Files\JenniferAgent\w11.conf" "-Xbootclasspath/p:C:\Program Files\JenniferAgent\lwst.boot.jar;C:\Program Files\JenniferAgent\lwst.jdk.jar" "-javaagent:C:\Program Files\JenniferAgent\lwst.javaagent.jar"