Академический Документы
Профессиональный Документы
Культура Документы
JS-0810-04
Copyright 2008 by JENNIFERSOFT, Inc. All Rights Reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or other-
wise, without the prior written permission of the publisher. Printed in Korea.
Table of Contents
1. JENNIFER Overview ............................................................................. 1
Element Package for JENNIFER ..................................................................................... 1 JENNIFER Directory Structure.......................................................................................... 2 JENNIFER Network Structure ........................................................................................... 2
Communication between the JENNIFER Agent and Server................................ 4 Setting of the UDP Communication Option .............................................. 4 Setting of the TCP Communication Option .............................................. 4 Setting of the JENNIFER IP ..................................................................... 4 Communication between the JENNIFER Server and Client................................ 5 Administration Console Connection Port.................................................. 5 Applet Communication Port...................................................................... 5 Cautions for Network Organization...................................................................... 5
2.
3.
Windows.......................................................................................................................... 21
Installation Environment for WebSphere....................................................................... 21 Pre Installation Works ................................................................................................... 22 Post Installation Works ................................................................................................. 26 Finalizing Process ......................................................................................................... 27 Registering the License Key .............................................................................. 27 Checking the Monitoring Data ........................................................................... 28 Removing the JENNIFER Agent Configuration............................................................. 28
Table of Contents
4.
Windows .......................................................................................................................... 36
Installation Environment for WebLogic .......................................................................... 36 Pre Installation Works.................................................................................................... 37 Post Installation Works .................................................................................................. 42 Finalizing Process ......................................................................................................... 43 Registering the License Key .............................................................................. 43 Checking the Monitoring Data............................................................................ 43 Removing the JENNIFER Agent Configuration ............................................................. 44
5.
Windows Environment..................................................................................................... 53
Installation Environment for Tomcat .............................................................................. 53 Pre Installation Works.................................................................................................... 54 Post Installation Works .................................................................................................. 59 Finalizing Process ......................................................................................................... 60 Registering License Key .................................................................................... 60 Checking the Monitoring Data............................................................................ 61 Removing the JENNIFER Agent Configuration ............................................................. 61
6.
Checking the Monitoring Data ........................................................................... 70 Removing the JENNIFER Agent Configuration............................................................. 71
Windows.......................................................................................................................... 71
Installation Environment for Resin ................................................................................ 72 Pre Installation Works ................................................................................................... 72 Post Installation Works ................................................................................................. 77 Resin 3.1.x Java option setting.......................................................................... 77 Resin 2.x/3.0.x Java option setting .................................................................... 78 Resin 4.x Java option setting............................................................................. 78 Finalizing Process ......................................................................................................... 79 Registering the License Key .............................................................................. 79 Checking the Monitoring Data ........................................................................... 79 Removing the JENNIFER Agent Configuration............................................................. 80
7.
Windows.......................................................................................................................... 89
Installation Environment for JBoss................................................................................ 89 Installation Environment for JBoss................................................................................ 90 Pre Installation Steps .................................................................................................... 90 Post Installation Works ................................................................................................. 95 Finalizing Process ......................................................................................................... 96 Registering the License Key .............................................................................. 96 Checking the Monitoring Data ........................................................................... 96 Removing the JENNIFER Agent Configuration............................................................. 97
8.
Windows........................................................................................................................ 106
Installation Environment for Oracle Application Server............................................... 106 Pre Installation Works ................................................................................................. 106
Table of Contents
Post Installation Works ................................................................................................ 110 Finalizing Process ....................................................................................................... 111 Registering the License Key ............................................................................ 111 Checking the Monitoring Data.......................................................................... 111 Removing the JENNIFER Agent Configuration ........................................................... 112
9.
Using the env.jsp Program.......................................................................................... 145 Checking the JENNIFER Native Library ..................................................................... 146 Checking the Firewall.................................................................................................. 147 Request for On-line Supports for Installation .............................................................. 147
Table of Contents
Preface
This document comprehensively provides the details of installation guide for installing JENNIFER v4 on widely used Java Application Server(WebSphere, WebLogic, Tomcat, JBoss, JEUS, Resin, Oracle Application Server, Glassfish, Sun Application Server, etc). In addition, this document describes the details of the default configuration options about JENNIFER architecture, the directory structure and network ports. The information about how to configure Java Aapplication Server under UNIX and Windows O/S environment is also included. People who should read this document include technical support engineers for JenniferSoft, customers who operates JENNIFER on a regular basis, as well as people who simply wish to understand the detailed functions of JENNIFER. JENNIFER is an application performance management solution. We believe that JENNIFER can deliver special values and results to people who are in charge of performance tuning for capacity estimation and problem analysis, database performance tuning and the extraction of SQL queries from an application, as well as WAS operators for J2EE/WAS performance management and application developers for application performance improvements. Before reading this document, it is essential for you to have an understanding of the basic environment for the Java Virtual Machine (JVM), be able to develop Java applications and analyze source code, and have sufficient knowledge regarding the installation, organization and operation of the Java Application Server (JAS). In addition, a basic knowledge of TCP/IP and UDP communication network protocols for inter-system communication is required, as well as a minimal understanding of TCP/UDP port setting for systems. In addition, readers should fully understand the concept of a JDBC connection between the Java Application Server and the database and have sufficient knowledge of the specific JDBC connections applied to the system. Readers should have basic knowledge regarding the preparation of database SQL queries. Furthermore, readers should have some general understanding of the architecture of the Web, Java Application Server and DB servers operating in a web-based system and fundamental terminologies for performance analysis, such as visitors, concurrent users, throughputs and response time. This document does not include any content related to operation and management of JENNIFER v4. For specifics on operation and management, you are recommended to refer to the JENNIFER v4 Manual. For further details of the application or specific case studies, you are recommended to refer to an additional guideline or technical notes provided on the JenniferSoft website. Finally, I would like to thank all our customers and supporters, who have given positive feedback on JenniferSoft and its products prior to the release of JENNIFER v4 to the
xv
market, as well as the engineers at our partner companies who are fully devoted to providing technical support.
The team that wrote this book NoMin Park Team Manager JenniferSoft Technical Support Team
No-Min Park is an expert in IBM WebSphere troubleshooting and system analysis. He is currently responsible for overall technical support at JenniferSoft. He also provides Jennifer training, repair and maintenance services for engineers for our partner and customer companies on-site. He verifies all technical issues arising in various OS, from installation to actual operation. He is doing his best to improve product and service quality.
In addition, JenniferSoft R&D center have also made significant contributions by summarizing the Jennifer options and verifying, proofreading and testing the content of this document. In addition, I would like to offer my sincere gratitude for the efforts of Assistant Manager Amie Song from the marketing division, who helped to prepare and edit this manual as a coordinator.
Comments welcome
Your comments will be most beneficial to us! Issues, concerns, and/or any other comments that you have regarding this book can be mailed to:
xvi
E-mail: manual@jennifersoft.com Mail your comments to: 360 Fairview Way Milpitas, CA 95035
Chapter introduction
This document is organized in a certain sequence to help readers to understand the concepts. However, you may skip to the chapters that are most relevant to you if you wish, as each chapter is independent from each other. This document has the following chapters. 1, "JENNIFR Overview" This chapter describes JENNIFER s elements and its archtecture that is needed to install or configure the JENNIFER server and agent.. 2, "JENNIFR Server Installation" This chapter describes installation and configuration of the JENNIFER server. 3, "Set up for WebSphere" This chapter describes pre installation, configuration and option setting works for WebSphere under UNIX and Windows O/S environment. 4, "Set up for WebLogic" This chapter describes pre installation, configuration and option setting works for WebLogic under UNIX and Windows O/S environment. 5, "Set up for Tomcat" This chapter describes pre installation, configuration and option setting works for Tomcat under UNIX and Windows O/S environment. 6, "Set up for Resin" This chapter describes pre installation, configuration and option setting works for Resin under UNIX and Windows O/S environment. 7, "Set up for JBoss" This chapter describes pre installation, configuration and option setting works forJBoss under UNIX and Windows O/S environment. 8, "Set up for Oracle Application Server" This chapter describes pre installation, configuration and option setting works for Oracle Application Server under UNIX and Windows O/S environment. 9, "Set up for GlassFish" This chapter describes pre installation, configuration and option setting works for GlassFish under UNIX and Windows O/S environment. 10, "Set up for Sun Application Server" This chapter describes pre installation, configuration and option setting works for Sun Application Server under UNIX and Windows O/S environment. 11, "Troubleshooting for Installation" It is recommended to follow the procedures of troubleshooting on this chapter if you have exceptions and errors in registering the JENNIFER agent in the JENNIFER server.
xvii
About marks
The following marks are commonly used in this document. Before reading this document, it is essential for you to have an understanding of these marks.
Mark
Arial (Bold) Body Box Courier
Description
Main font, method/class/file/directory name, Code font Ex)
http_service_class = mysys.AServlet;mysys.BServlet
Courier Bold Code bold Ex)
http_service_class = mysys.AServlet;mysys.BServlet
[Menu]-Bold JENNIFER Dashboard menu Ex)
Notice/Warning Reference
Tipbox Ex)
config_refresh_check_interval
xviii
1
JENNIFER Overview
This chapter briefly describes about JENNIFER s elements and its archtecture that is needed to install or configure the JENNIFER server and agent. Please refer to the JENNIFER User Guide for more details not mentioned here.
1.1.
The REMON:Collects performance and business data from IT resources other than the Java application server where the JENNIFER agent is installed, and helps the JENNIFER server to manage the data.
1.2.
1.3.
1. JENNIFER Overview
1.3.0.1. Communication between the JENNIFER Agent and Server Setting of the UDP Communication Option
The JENNIFER agent sends performance data to the JENNIFER server in UDP. The JENNIFER server receives the performance data through three separate UDP ports. The following three UDP ports are used in the JENNIFER agent configuration file and the server configuration file as well. If you change the port because of the environmental limitation on your system, you also have to change the port information in the both configuration files.
Notice: When you bulild the JENNIFER servr/agent, use the default port as possible. server_udp_runtime_port = 6901
The JENNIFER agent sends the data related to the beginning and end of every transaction through the UDP port set by the server_udp_runtime_port option of the JENNIFER server.
server_udp_listen_port = 6902
The JENNIFER agent sends general performance data such as the service request rate and the mean response time through the UDP port set by the server_udp_listen_port option of the JENNIFER server once every second.
server_udp_lwst_call_stack_port = 6703
The JENNIFER agent sends X-View transaction profile data once every two seconds.
The JENNIFER agent has TCP port to provide the real-time performance data to the JENNIFER server and change the properties. If you set the multiple agents on a server, set the only one port. The default port number is 7750.
If the JENNIFER server is set to a seperated server without the JENNIFER agent, set the IP of the JENNIFER server where the data will be transmitted.
1.3.0.2. Communication between the JENNIFER Server and Client Administration Console Connection Port
The JENNIFER client provides the web-based user interface. You access to the JENNIFER client through 7900 port. When you want to change the port number, set the SARTUP_PORT environment variable into the different port. Then run the JENNIFER server.(startup.sh, startup.bat)
UNIX export STARTUP_PORT=7901 startup.sh WINDOWS set STARTUP_PORT=7901 startup.bat
1. JENNIFER Overview
1
JENNIFER Server Installation
This chapter briefly describes about how to install or configure the JENNIFER server.
1.1.
Recommended Specifications
Pentium 4 or higher(Intel) More than 2GB More than 10GB - depending on the system size. Windows, Linux, AIX, HP, Solaris 1.5 or higher Derby(Defalut), Oracle, DB2
The JENNIFER server operates on the most system installed JAVA and the above hardware specification can be changed depending on the system size and data amount.
1.2.
1.2.1. UNIX
To help users understand how to install the JENNIFER server, the following table that contains environment information necessary for installation is presented. This installation guide describes following environment values, and it is recommended to adjust settings customized for each server environment information. Table 1-2: System Environment Variables for Installation of the JENNIFER Server
Environment Variables
Home directory for the JENNIFER server [JAVA_HOME] JENNIFER server s IP Address
Values
/home/jennifer/server
/usr/java15 192.168.0.139
1. Create a new jennifer account and check the /home/jennifer directory. 2. Uncompress the Jennifer zip file in the created directory.
# gzip -d jennifer4.0.3.tar.gz # tar -xvf jennifer4.0.3.tar
5. Using the startup.sh file, start the JENNIFER server and check your log.
Notice: When the JENNIFER server is started for the first time, the database table is created. For this reason, it may take a very long time depending on the server specifications. Check the below log in the jennifer.log.yyyymmdd file of the /home/ jennifer/server/logs directory Checking database.....20081014/211023:S017:java.sql.SQLException: Schema 'JENNIFER' does not exist Checking Adm database.....20081014/211024:S020:java.sql.SQLException: Schema 'JENNIFER' does not exist 20081014/211024:INF: Creating new tables with: 20081014/211024:INF:The database URL is jdbc:derby:jennifer 20081014/211024:INF:Apache Derby Embedded JDBC Driver Version 10.4.1.3 - (648739) 20081014/211024:INF:Database: Apache Derby 10.4.1.3 - (648739) 20081014/211024:INF:Database table creating ..... Notice: When it is started for the second time and on, it checks the database as follows before starting the JENNIFER server. Checking database.....20081014/220513:done Checking Adm database.....20081014/220513:INF:done 20081014/220513:INF:XViewProfileManager ISAM index generated : 0 20081014/220513:INF:UdpRuntimeListener: udp listening on port 6901 20081014/220514:INF:UdpRuntimeWorkerPool started 10 20081014/220514:INF:UdpSummaryListener: udp listening on port 6902 20081014/220514:INF:XViewCProfileManager ISAM index generated : 0 20081014/220514:INF:UdpSummaryWorkerPool started : 10 20081014/220514:INF:UdpXViewProfileListener: udp listening on port 6703 20081014/220514:INF:DbWorkTxStatManager ISAM index generated : 0 20081014/220514:INF:UdpXViewProfileWorkerPool started 30 20081014/220515:INF:TcpSocketServer: listening port: 6701 20081014/220515:INF:Jennifer4.0.1(2008-10-13) started. 20081014/220515:INF:TcpServerWorkerPool started 80
6. Log-in.
If you enter the following URL, which consists of the port number and the domain address or the IP address of the server where the JENNIFER server is installed, the log-in screen will appear. All of the JENNIFER functions can be used after you log in. The default port number for the JENNIFER server is 7900..
http://jennifer_server_ip:7900
If you want to log in, you need to enter your password and click the [Log-in] button. The administrator s ID is admin, and its password is also admin. After you log in for the first time, you are strongly recommended to change the password. In addition, since the grid is implemented in flash files, Adobe Flash Player 9.0 or higher is requird.
1.2.2. Windows
1.2.2.1. JENNIFER Server Installation
The JENNIFER server runs based on Tomcat5.5. You can operates the JENNIFER server after setting the JAVA_HOME environment variables. Table 1-3: System Environment Variables for Installation of the JENNIFER Server
Environment Variables
Home directory for the JENNIFER server [JAVA_HOME] JENNIFER server s IP Address
Values
/home/jennifer/server
/usr/java15 192.168.0.139
1. Uncompress the Jennifer zip file that you downloaded in the JENNIFER installation directory(ex:c:\jennifer). 2. Execute cmd [ Start |Run | cmd input and execute] 3. Check that the JAVA_HOME is set in the Windows environment variables.
C:\Java>echo %JAVA_HOME% C:\Java\jdk16u13
4. If not, set JAVA_HOME environment variables in the [Clicking the right mouse button on the MY Computer icon| Properties |Advanced | Environment Variables].
5. In the cmd, move to the JENNIFER server directory (ex:c:\jennifer\server\bin)and execute the startup.bat file. If you input the new environment variables, reexecute the cmd. You can execute the startup.bat directly in the Explorer.exe. When the JENNIFER server is started for the first time, the database table is created. For this reason, it may take a very long time depending on the server specifications. 6. Log-in. If you enter the following URL, which consists of the port number and the domain address or the IP address of the server where the JENNIFER server is installed, the log-in screen will appear. All of the JENNIFER functions can be used after you log in. The default port number for the JENNIFER server is 7900..
http://jennifer_server_ip:7900
If you want to log in, you need to enter your password and click the [Log-in] button. The administrator s ID is admin, and its password is also admin. After you log in for the first time, you are strongly recommended to change the password. In addition, since the grid is implemented in flash files, Adobe Flash Player 9.0 or higher is requird.
1.3.
Operating System
The JENNIFER client supports Microsoft windows XP and Vista. If you choose Windows classic theme on the windows XP, JENNIFER Black skin staly does not displayed properly. You can check the current theme on the [Properties] menu of the context menu by clicking the right mouse button.
Notice: Officially, the JENNIFER client does not support Linux or Mac OS. However, if your operating system can allow the installation of Firefox 3.0 or higher, with the Java plug-in 1.6.0_10 or higher, you should be able to use the JENNIFER client.
Web Browser
Various web browsers are supported, including Microsoft IE 7.0 and 8.0, and Mozilla firefox 3.0.
Warning: IE 6.0 will not be supported. IE 6.0 does not fully meet the web standard inclusing CSS and not support PNG image file clearly. Therefore, JENNIFER does not support IE 6.0. We recommend you to use Firefox 3.0 unless you upgrade it into IE 7.0 or 8.0.
If you want to user JENNIFER, you should set the web browser in such that it can use cookies and Java scripts. Most of web browsers are basically set to use these functions.
Java Plug-in
Since some aspects of the JENNIFER client are implemented via Java applets, you must install the Sun Java plug-in1.6.0_10 or higher.
Warning: JENNIFER 4.0 or higher does not support Microsoft Java VM.
Memory Setting
The default amount of maximum Java heap memory that Java applets can use is 96 MB(64 MB up to Java 1.6.0_6 ). You have to set the max/min value of the Java heap memory in order to use the JENNIFER client more stable. In most cases, the default setting is sufficient, but if there are too many agents or if the amount of processing is too great, then you need to set the maximum Java heap memory to a higher amount. In Windows OS, you can set the Java heap memory amount of your Java plug-in as follows. 1. Move to the control panel. 2. Double-click on the Java icon in the control panel, and the Java control panel will appear. Click the Java tab.
3. If you click the [View] button in the Java applet runtime setting menu, the Java runtime setting screen will appear. If you set multiple Java, select the one that is to be used.
4. For instance, if you want to set the minimum and maximum Java heap memory to 100MB and 150MB, you should enter the following in the Java runtime variable column as follows:
-Xms100m -Xmx150m
The maximum Java heap memory is affected by the computer specifications and environment. If you exceed the maximum setting, the web browser will be shut down or the following error message will appear: Since there is no clear limit for the maximum permissible Java heap memory, a user must find the optimum setting for his or her needs through a process of trial and error.
If you use Mozilla Firefox 3.0, you should activate the Java script by selecting [Tools |Internet Option| Security|Custom Level] from the menu. By default, this option should be activated.
Flash Player
Some aspects of the JENNIFER client are implemented through flash files. This requires the installation of Adobe Flash Player 9.0 or higher.
10
The service 'JenniferServer' has been installed. Notice : Set the 3rd parameter to be selected by [JENNIFER_SERVER_HOME]\bin.
2. Move to the [ Control pannel | Tool | Service ] menu and check that the JENNIFER server is registered in Window server and start JennfierServer.
11
12
2
Setup for WebSphere
2.1.
UNIX Environment
The JENNIFER agent installation process has three steps: Pre-installation, Post-installation and Checking process.
13
This installation guide describes the following environment values, and it is recommended to adjust settings customized for each server environment information before proceeding with installation. Table 2-1: Environment for JENNIFER Agent Configuration
Classification
WebSphere s home directory JENNIFER directory agent s home
Directory
/was/WebSphere61/AppServer /home/jennifer/agent
/was/WebSphere61/AppServer/java 192.168.0.139
14
1. Select a type of web application server where the JENNIFER agent is installed. Select 1 for WebSphere.
jennifer@jennifer1:~/agent$ ./preinstall.sh ######################################## ##### Jennifer Agent Pre Installation ## ##### Select Web Application Server ## ######################################## If you could not find your Web Application Server on the below list, contact us via an e-mail: tech@jennifersoft.com 1. WebSphere 5.x / 6.x 2. WebLogic 6.x / 7.x / 8.x / 9.x 3. JEUS 4.x / 5.x 4. Oracle AS 10g 5. Tomcat 4.x / 5.x 6. Tomcat 6.x 7. Resin 8. Jboss 3 9. Jboss 4 10. Sun App Server 11. Glassfish (Q:Quit) ===>> 1
2.
15
2. Set the home directory for WebSphere and press the Enter key. In the event of WebSphere, the jennifer.jar file is not copied into a specific directory. Therefore, only the method for setting the class path is presented at this point.
######################################## ##### WAS Home Directory ######## ######################################## This process is for configuring the jennifer.jar file. Type the exact path of the directory for the WAS that you selected. 1)Do you want to use the default WAS HOME [ /usr/WebSphere/AppServer ]? /was/WebSphere61/AppServer WAS Home Directory : /was/WebSphere61/AppServer Access to the admin console --> select the Web Application Server that you want to install JENNIFER agent --> select process definition --> select java virtual machine --> specify the path of jennifer.jar
16
3. After checking the Java home used by WebSphere, you must create the lwst.jdk.jar file. Set the Java home used by WebSphere. In most cases, WebSpherei includes jdk. Check the default value and press the Enter key.
######################################## ##### JDK Home Directory ######## ######################################## 2) Specify the JAVA_HOME directory which is currently used by Web Application Server. Do you want to use the default JAVA_HOME [/was/WebSphere61/AppServer/ java]? [JDK HOME] : /was/WebSphere61/AppServer/java 3) Preinstaller is creating the JENNIFER LWST file. /was/WebSphere61/AppServer/java/jre/lib/core.jar The lwst.jdk.jar file is created successfully. Add the JVM Option. -Xbootclasspath/p:/home/jennifer/agent/lwst.jdk.jar:/home/jennifer/agent/lwst.boot.jar Add the JVM Option. -javaagent:/home/jennifer/agent/lwst.javaagent.jar
4. The native library is used to collect the system CPU and memory information from the Jennfier agent. You must find the native library file suitable for the system, and test it. If the -d64 Java option of WebSphere is used, enter y and press the enter key. Otherwise, just press the Enter key.
4) Set the JENNIFER Native Library. Is Web Application Server running with -d64 option? [y/n] The libjennifer20_linux_32_32.so test is succeeded. The /was/WebSphere61/AppServer/java/bin/libjennifer20.so file is copied successfully. Notice: In this phase, you should check the JENNIFER native library suitable for the system, and copy it unto the directory that can load it. If all the JENNIFER native library fails, you should collect the information on OS/JDK types and versions, and send it to the JENNIFER technical support team at(tech@jennifersoft.com).
2.
17
5. Now you must set the JENNIFER agent setting files. You need to assign an agent name, and it must be three letters long. The setting file will be named as you wish. For other setting information, press the Enter key. Then the default setting will be used.
5) Do you want to customize an agent configuration file? [y/n] Input Agent Name [exactly 3 char] ex) W11 ===>> W11
license_filename [ /home/jennifer/agent/license.txt ] ? logfile [ /home/jennifer/agent/jennifer_W11.log ] ? lwst_logfile [ /home/jennifer/agent/lwst_W11.log ] ? agent_tcp_port [ 7750 ] ? udp_server_host [ localhost ] ? 192.168.0.139 server_udp_runtime_port [ 6901 ] ? server_udp_listen_port [ 6902 ] ? server_udp_lwst_call_stack_port [ 6703 ] ? Agent configuration is completed...
Description
An agent name. A combination of Alphabets and numbers (3 digits). Set the license file and its path to store the license key. Set the JENNIFER agent s log file and its path. Set the JENNIFER transaction analysis module (LWST) s log file and path Set the bining port for the JENNIFER agent. Set the IP address for the JENNIFER server
18
3. Enter following values in the booth class path. /home/jennifer/agent/lwst.jdk.jar /home/jennifer/agent/lwst.boot.jar 4. Enter following values in the general JVM.
-Djennifer.config=/home/jennifer/agent/W11.conf Warning: For JDK 1.5 or higher, you must add -javaagent:/home/jennifer/agent/ lwst.javaagent.jar(WebSphere 6.1 or higher supports JDK 1.5).
2.
19
1. Check whether the JENNIFER agent log is recorded in the designated file. Check the following messages that signify the start of the JENNIFER agent in the log file.
--------------------------------------Jennifer4.0.0.2(2008-09-22) started. agent_name=W11 jennifer.config=/home/jennifer/agent/W11.conf agent_tcp_port=7750 udp_server_host=192.168.0.139 ... Omiitted ... java.library.path=/was/WebSphere61/AppServer/java/jre/bin:/was/ WebSphere61/AppServer/java/jre/bin/j9vm:/was/WebSphere61/AppServer/ java/jre/bin:/was/WebSphere61/AppServer/bin The libjennifer20.so(sl) shared library is loaded successfully. --------------------------------------Notice: As shown above, if the libjennifer20.so(sl) shared library loaded successfully. message does not appear, refer to [Troubleshotting for Installation].
3. See if the classes loaded in the [ Problem Determination | Utility | Loading Class List ] menu appear properly.
20
2. Delete the jennifer.jar file in the class path. 3. Delete the lwst.boot.jar and lwst.jdk.jar file in the boot class. 4. Delete the -Djennifer.conf file in the general JVM.
Notice: For JDK 1.5 or higher, delete the -javaagent item in the general JVM.
2.2.
Windows
The JENNIFER agent installation process has three steps: Pre-installation, Post-installation and Checking process.
Directory
/was/WebSphere61/AppServer /home/jennifer/agent
/was/WebSphere61/AppServer/java 192.168.0.139
2. Windows
21
22
2. Set the home directory for WebSphere and press the Enter key. In the event of WebSphere, the jennifer.jar file is not copied into a specific directory. Therefore, only the method for setting the class path is presented at this step.
#################################################### Step 2. Type Java Application Server Home Directory ##################################################### "This process is for configuring jennifer.jar." Example : c:\JavaApplicationServer\WebSphere60\AppServer\java Type the exact path of directory for selected Java Application Server: c:\JavaApplicationServer\websphere60\appserver Java Application Server Home Directory : c:\JavaApplicationServer\websphere60\appserver "Java Application Server Home Directory Check Success"
3. After checking the Java home used by WebSphere, you must create the lwst.jdk.jar file. Set the Java home used by WebSphere. In most cases, WebSpherei includes jdk. Check the default value and press the Enter key.
##################################################### Step 3. Type JAVA Home Directory ##################################################### Input [JAVA_HOME] which is used for Java Application Server: c:\JavaApplicationServer\websphere60\appserver\java c:\JavaApplicationServer\websphere60\appserver\java is set as JAVA_HOME "Creating lwst.jdk.jar..." "LWST build success"
2. Windows
23
4. The native library is used to collect the system CPU and memory information from the Jennfier agent. You must find the native library file suitable for the system, and test it. If the -d64 Java option of WebLogic is used, enter y and press the enter key. Otherwise, just press the Enter key.
#################################################### Step 4. JENNIFER NATIVE LIBRARY SETTING #################################################### Does your system have 2GB or more MEMORY? (Y/N) : n jennifer20.dll has been copied to c:\JavaApplicationServer\websphere60\appserver\java\bin successfully.
5. Now you must set the JENNIFER agent setting files. You need to assign an agent name, and it must be three letters long. The setting file will be named as you wish. For other setting information, press the Enter key. Then the default setting will be
24
used. If you don t want to this working(In case of choosing n ), the new setting file is not created. In this case, modify the w11.conf or jennifer.conf file based on the environment and use them.
#################################################### Step 5 JENNIFER AGENT CONFIGURATION SETTING #################################################### Do you want to customize agent configuration file ? (Y/N) : y license_filename [ex: c:\jennifer\license.txt] : c:\jennifer\jenniferagent\license.txt agent_name - only 3 char [W11] : A11 logfile [ex: c:\jennifer\logs\W11.log] : c:\jennifer\jenniferagent\A11.log lwst_logfile [ex: c:\jennifer\logs\lwst_W11.log] : c:\jennifer\jenniferagent\lwst_A11.log agent_tcp_port [7750] : udp_server_host [localhost] : 192.168.0.139 server_udp_runtime_port [6901] : server_udp_listen_port [6902] : server_udp_lwst_call_stack_port [6703] : Will you have any option that you need to change? If "Don't", continue to make configuration file. (Y/N)n "Creating A11.conf..." Agent configuration is completed... Please, proceed with Post - Installation tasks [Pre-Installation is finished]
Description
An agent name. A combination of Alphabets and numbers (3 digits). Set the license file and its path to store the license key. Set the JENNIFER agent s log file and its path.
2. Windows
25
Option
lwst_logfile agent_tcp_port udp_server_host
Description
Set the JENNIFER transaction analysis module (LWST) s log file and path Set the bining port for the JENNIFER agent. Set the IP address for the JENNIFER server
26
1. Check whether the JENNIFER agent log is recorded in the designated file. Check the following messages that signify the start of the JENNIFER agent in the log file.
--------------------------------------Jennifer4.0.5.0(2009-06-05) started. agent_name=A11 jennifer.config=c:/jennifer/jenniferagent/A11.conf agent_tcp_port=7750 udp_server_host=192.168.0.139 ... Omitted ... java.library.path=... jennifer20.dll shared library loaded successfully. --------------------------------------Notice: As shown above, if the libjennifer20.so(sl) shared library loaded successfully. message does not appear, refer to [Troubleshotting for Installation].
2. Windows
27
2. Register the vaild license number in the [Properties | License Key Management] menu.
3. See if the classes loaded in the [ Problem Determination | Utility | Loading Class List ] menu appear properly.
6. Restart WebSphere.
28
3
Setup for WebLogic
3.1.
UNIX
Directory
/was/bea/weblogic92 /home/jennifer/agent
29
Directory
/was/bea/jdk150_11 192.168.0.139
30
2. In the event of WebLogic, the jennifer.jar file is not copied into a specific directory. Therefore, only the method for setting the class path is presented at this point. Set the home directory for WebLogic and press the Enter key.
######################################################## Step 2. Type Java Application Server Home Directory ######################################################## This process is for configuring the jennifer.jar . Type the exact path of directory for the selected Application Server. WebLogic
Do you want to use the default Java Application Server HOME [ /usr/ bea/weblogic ]? /was/bea/weblogic92 WebLogic Application Server Home Directory : /was/bea/weblogic92 Add the /home/jennifer/agent/jennifer.jar classpath on the domain startup script
3. After checking the Java home used by WebLogic, you must create the lwst.jdk.jar file. Set the Java home used by WebLogic.
######################################################## Step 3. Type JAVA Home Directory ######################################################## Specify the JAVA_HOME directory which is used by Java Application Server. There is no default JAVA_HOME directory. Input the JAVA_HOME of the Java Application Server. ===>> /was/bea/jdk150_11 [/was/bea/jdk150_11] is set as JAVA_HOME Creating lwst.jdk.jar .... lwst.jdk.jar is created successfully
31
4. The native library is used to collect the system CPU and memory information from the Jennfier agent. You must find the native library file suitable for the system, and test it. If the -d64 Java option of WebLogic is used, enter y and press the enter key. Otherwise, just press the Enter key
######################################################## Step 4. Jennifer Native library setting ######################################################## Is Web Application Server running with the -d64 option? [y/n] libjennifer20_ibm_ppc64.so test fail libjennifer20_linux_32_32.so test success /was/bea/jdk150_11/jre/lib/i386/server/libjennifer20.so file is copied successfully
32
5. Now you must set the JENNIFER agent setting files. You need to assign an agent name, and it must be three letters long. The setting file will be named as you wish. For other setting information, press the Enter key. Then the default setting will be used.
######################################################## Step 5. Jennifer Agent Configuration setting ######################################################## Do you want to customize an agent configuration file ? [y/n] Input the Agent Name [exactly 3 char] ex) W11 ===>> WL1
license_filename [ /home/jennifer/agent/license.txt ] ? logfile [ /home/jennifer/agent/jennifer_WL1.log ] ? lwst_logfile [ /home/jennifer/agent/lwst_WL1.log ] ? agent_tcp_port [ 7750 ] ? udp_server_host [ localhost ] ? 192.168.0.139 server_udp_runtime_port [ 6901 ] ? server_udp_listen_port [ 6902 ] ? server_udp_lwst_call_stack_port [ 6703 ] ? The Agent configuration is completed... Please, proceed with Post Installation tasks
Description
An agent name. A combination of Alphabets and numbers (3 digits). Set the license file and its path to store the license key. Set the JENNIFER agent s log file and its path. Set the JENNIFER transaction analysis module (LWST) s log file and path Set the bining port for the JENNIFER agent. Set the IP address for the JENNIFER server
33
34
35
5. See if the classes loaded in the [ Problem Determination | Utility | Loading Class List ] menu appear properly.
3.2.
Windows
The JENNIFER agent installation process has three steps: Pre-installation, Post-installation and Checking process.
Directory
c:/was/weblogic8
36
Directory
c:/JenniferAgent
c:/jdk/sun/java15 192.168.0.139
37
1. Select a type of web application server where the JENNIFER agent is installed. Select 2 for WebLogic.
################################################### ######### Jennifer Agent Pre-Installation ######### ################################################### ################################################### Step 1. Select Java Application Server ################################################### Send me e-mail at tech@jennifersoft.com, if you can't find Java Application Serv er you would like to install. 1. WebSphere 5.x / 6.x 2. WebLogic 6.x / 7.x / 8.x / 9.x / 10.x 3. JEUS 4.x / 5.x 4. OracleAS 10gR3 5. Tomcat 4.x / 5.x 6. Tomcat 6.x 7. Resin 2.x/3.0.x/3.1.x/ 4.0.x 8. Jboss 3.x 9. Jboss 4.x 10. Sun App Server 7.x/8.x/9.x 11. Glassfish 1.x/2.x Select : 2
38
2. In the event of WebLogic, the jennifer.jar file is not copied into a specific directory. Therefore, only the method for setting the class path is presented at this point. Set the home directory for WebLogic and press the Enter key.
################################################### Step 2. Type Java Applicatiion Server Home Directory ################################################### "This process is for configuring jennifer.jar." Example : c:\bea\WebLogic Type the exact path of directory for selected JAS : c:\JavaApplicationServer\weblogic Java Application Server Home Directory : c:\JavaApplicationServer\weblogic "Add classpath $DIR_HOME/jennifer.jar in start script"
3. After checking the Java home used by WebLogic, you must create the lwst.jdk.jar file. Set the Java home used by WebLogic.
################################################### Step 3. Type JAVA Home Directory ################################################### Input [JAVA_HOME] which is used for Java Application Server: C:\Java\jdk16u13 C:\Java\jdk16u13 is set as JAVA_HOME "Creating lwst.jdk.jar..." "LWST build success"
39
4. The native library is used to collect the system CPU and memory information from the Jennfier agent. You must find the native library file suitable for the system, and test it. If the memore size is over 2GB, choose y and if the memory size is less than 2GB, press the n key. .
################################################### Step 4. JENNIFER NATIVE LIBRARY SETTING ################################################### Does your system have 2GB or more MEMORY? (Y/N) : n jennifer20.dll has been copied to C:\Java\jdk16u13\bin successfully.
5. Now you must set the JENNIFER agent setting files. You need to assign an agent name, and it must be three letters long. The setting file will be named as you wish. For other setting information, press the Enter key. Then the default setting will be
40
used. If you dont want to this working(In case of choosing n), the new setting file is not created. In this case, modify the w11.conf or jennifer.conf file based on the environment and use them
################################################### Step 5 JENNIFER AGENT CONFIGURATION SETTING ################################################### Do you want to customize agent configuration file ? (Y/N) : y license_filename [ex: c:\jennifer\license.txt] : c:\jennifer\jenniferagent\license.txt agent_name - only 3 char [W11] : A11 logfile [ex: c:\jennifer\logs\W11.log] : c:\jennifer\jenniferagent\A11.log lwst_logfile [ex: c:\jennifer\logs\lwst_W11.log] : c:\jennifer\jenniferagent\lwst_A11.log agent_tcp_port [7750] : udp_server_host [localhost] : 192.168.0.139 server_udp_runtime_port [6901] : server_udp_listen_port [6902] : server_udp_lwst_call_stack_port [6703] : Will you have any option that you need to change? If "Don't", continue to make configuration file. (Y/N)n "Creating A11.conf..." Agent configuration is completed... Please, proceed with Post - Installation tasks [Pre-Installation is finished]
Description
An agent name. A combination of Alphabets and numbers (3 digits). Set the license file and its path to store the license key. Set the JENNIFER agent s log file and its path.
41
Option
lwst_logfile agent_tcp_port udp_server_host
Description
Set the JENNIFER transaction analysis module (LWST) s log file and path Set the bining port for the JENNIFER agent. Set the IP address for the JENNIFER server
42
Warning: For JDK 1.5 or higher, you must add -javaagent:/home/jennifer/agent/ lwst.javaagent.jar but don t set this option for the JDK 1.4 or lower).
ex)-Djennifer.config=c:\jennifer\jenniferagent\\A11.conf
2. Register the vaild license number in the [Properties | License Key Management] menu.
43
5. See if the classes loaded in the [ Problem Determination | Utility | Loading Class List ] menu appear properly.
44
4
Setup for Tomcat
4.1.
UNIX Environment
The JENNIFER agent installation process has three steps: Pre-installation, Post-installation and Checking process.
45
This installation guide describes the following environment values, and it is recommended to adjust settings customized for each server environment information before proceeding with installation. Table 4-1: Environment for JENNIFER Agent Configuration
Classification
tomcat5 s home directory JENNIFER directory agent s home
Directory
/was/tomcat5 /home/jennifer/agent
/jdk/sun/java15 192.168.0.139
6 for Tomcat 6.
46
jennifer@jennifer1:~/agent$ ./preinstall.sh ######################################## ##### Jennifer Agent Pre Installation ## ##### Select Web Application Server ## ######################################## Send me e-maile via tech@jennifersoft.com, if you can't find Web Application Server you would like to install. 1. WebSphere 5.x / 6.x 2. WebLogic 6.x / 7.x / 8.x / 9.x 3. JEUS 4.x / 5.x 4. Oracle AS 10g 5. Tomcat 4.x / 5.x 6. Tomcat 6.x 7. Resin 8. Jboss 3 9. Jboss 4 10. Sun App Server 11. Glassfish
(Q:Quit)
===>> 5
47
2. Copy the jennifer.jar file into the common/lib directory of the Tomcat home directory. Set the home directory for Tomcat. Input the /was/tomcat5 in the preinstall.sh file and press the Enter.
######################################################## Step 2. Type Java Application Server Home Directory ######################################################## This process is for configuring the jennifer.jar . Type the exact path of directory for the selected Jakarta Tomcat.
Do you want to use the default ava Application Server HOME [ /usr/ local/apache/tomcat ]? /was/tomcat5 Tomcat Home Directory : /was/tomcat5 /was/tomcat5/common/lib/jennifer.jar is copied successful Notice: In case of Tomcat 6, copy jennifer.jar into the /was/tomcat6/lib directory.
3. After checking the JAVA HOME directory of Tomcat, you need to create the lwst.jdk.jar file. Assign the JAVA HOME directory for Tomcat. Input the /jdk/sun/ java15 in the preinstall.sh file and press the Enter.
######################################################## Step 3. Type JAVA Home Directory ######################################################## Specify the JAVA_HOME directory which is used by Java Application Server. There is no default JAVA_HOME directory. Input the JAVA_HOME of the Java Application Server. ===>> /jdk/sun/java15 [/jdk/sun/java15] is set as JAVA_HOME Creating lwst.jdk.jar .... lwst.jdk.jar is created successfully
48
4. The native library is used to collect the system CPU and memory information from the Jennfier agent. You must find the native library file suitable for the system, and test it. If the -d64 Java option of Tomcat is used, enter y and press the enter key. Otherwise, just press the Enter key..
######################################################## Step 4. Jennifer Native library setting ######################################################## Is Web Application Server running with the -d64 option? [y/n] libjennifer20_AMDx86.64.so test fail libjennifer20_linux_32_32.so test success /jdk/sun/java15/jre/lib/i386/server/libjennifer20.so file is copied successfully Notice: After selecting the most appropriate JENNIFER native library to the system, copy the native library to the loadable directory. If every JENNIFER library is not loaded, send an e-mail including OS and JDK information such as type and version(tech@jennifersoft.com).
5. Now you must set the JENNIFER agent setting files. You need to assign an agent name, and it must be three letters long. The setting file will be named as you wish. For other setting information, press the Enter key. Then the default setting will be
49
used. If you don t want to create new configuration file(choose n ), the file is not generated. In this case, you can use the w11.conf or jennifer.conf file offered by the JENNIFER after modifying them to the environment.
######################################################## Step 5. Jennifer Agent Configuration setting ######################################################## Do you want to customize an agent configuration file ? [y/n] Input the Agent Name [exactly 3 char] ex) W11 ===>> T11
license_filename [ /home/jennifer/agent/license.txt ] ? logfile [ /home/jennifer/agent/jennifer_T11.log ] ? lwst_logfile [ /home/jennifer/agent/lwst_T11.log ] ? agent_tcp_port [ 7750 ] ? udp_server_host [ localhost ] ? 192.168.0.139 server_udp_runtime_port [ 6901 ] ? server_udp_listen_port [ 6902 ] ? server_udp_lwst_call_stack_port [ 6703 ] ? The Agent configuration is completed... Please, proceed with Post Installation tasks
Description
An agent name. A combination of Alphabets and numbers (3 digits). Set the license file and its path to store the license key. Set the JENNIFER agent s log file and its path. Set the JENNIFER transaction analysis module (LWST) s log file and path Set the bining port for the JENNIFER agent. Set the IP address for the JENNIFER server
50
51
Check whether the JENNIFER agent log is recorded in the designated file. Check the following messages that signify the start of the JENNIFER agent in the log file 1. Check whether the JENNIFER agent log is recorded in the designated file. Check the following messages that signify the start of the JENNIFER agent in the log file.
--------------------------------------Jennifer4.0.5.0(2009-06-05) started. agent_name=T11 jennifer.config=/home/jennifer/agent/T11.conf agent_tcp_port=7750 udp_server_host=192.168.0.139 ... Omiitted ... sun.boot.library.path=/jdk/sun/java15/jre/lib/i386 java.library.path=/jdk/sun/java15/jre/lib/i386/client:/jdk/sun/java15/ jre/lib/i386:/jdk/sun/java15/jre/../lib/i386 libjennifer20.so(sl) shared library loaded successfully. --------------------------------------Notice: As shown above, if the libjennifer20.so(sl) shared library loaded successfully. message does not appear, refer to [Troubleshotting for Installation].
2. Register the JENNIFER license key in the [Properties | License Management] menu and check whether the JENNIFER license is okay.
52
2. Check if the profile data such as method and SQL is displayed properly when a dot on the X-View is selected.
Notice: If there is no SQL, refer to manual. Resource and JDBC Monitoring of the JENNIFER 4.0
3. See if the classes loaded in the [ Problem Determination | Utility | Loading Class List ] menu appear properly.
3. Delete the JENNIFER agent options in the catalina.sh file which is Tomcat configuration file. 4. Delete the JENNIFER native library file(ex:/jdk/sun/java15/jre/lib/i386/ server/libjennifer20.so). 5. Restart Tomcat.
4.2.
Windows Environment
The JENNIFER agent installation process has three steps: Pre-installation, Post-installation and Checking process.
53
This installation guide describes following environment values, and it is recommended to adjust settings customized for each server environment information. Table 4-3: Environments for JENNIFER Agent Configuration
Classification
Tomcat s home directory JENNIFER directory agent s home
Directory
c:/was/tomcat4 c:/JenniferAgent
c:/jdk/sun/java15 192.168.0.139
6 for Tomcat 6.
54
jennifer@jennifer1:~/agent$ ./preinstall.sh ######################################## ##### Jennifer Agent Pre Installation ## ##### Select Web Application Server ## ######################################## Send me e-maile via tech@jennifersoft.com, if you can't find Web Application Server you would like to install. 1. WebSphere 5.x / 6.x 2. WebLogic 6.x / 7.x / 8.x / 9.x 3. JEUS 4.x / 5.x 4. Oracle AS 10g 5. Tomcat 4.x / 5.x 6. Tomcat 6.x 7. Resin 8. Jboss 3 9. Jboss 4 10. Sun App Server 11. Glassfish
(Q:Quit)
===>> 5
55
2. Set the home directory for Tomcat. Copy the jennifer.jar file into the common/lib directory of the Tomcat home directory. Input the c:\JavaApplicationServer\tomcat4 in the preinstall.bat file and press the Enter.
################################################### Step 2. Type Java Application Server Home Directory ################################################### "This process is for configuring jennifer.jar." Example : c:\JavaApplicationServer\tomcat4 Type the exact path of directory for selected Java Application Server: c:\JavaApplicationServer\tomcat4 Java Application Server Home Directory : c:\JavaApplicationServer\tomcat4 "c:\JavaApplicationServer\tomcat4"\common\lib\jennifer.jar copy successful" Notice: In case of Tomcat 6, the jennifer.jar copied in lib directory.
3. Assign the JAVA HOME directory for Tomcat. The lwst.jdk.jar file is created. Input the c:\Java\jdk16u13 and press the Enter.
################################################### Step 3. Type JAVA Home Directory ################################################### Input [JAVA_HOME] which is used for JAS : C:\Java\jdk16u13 C:\Java\jdk16u13 is set as JAVA_HOME "Creating lwst.jdk.jar..." "LWST build success"
56
4. The native library is used to collect the system CPU and memory information from the Jennfier agent. You must find the native library file suitable for the system, and test it. If the -d64 Java option of Tomcat is used, enter y and press the enter key. Otherwise, just press the Enter key..
################################################### Step 4. JENNIFER NATIVE LIBRARY SETTING ################################################### Does your system have 2GB or more MEMORY? (Y/N) : n jennifer20.dll has been copied to C:\Java\jdk16u13\bin successfully.
5. Now you must set the JENNIFER agent setting files. You need to assign an agent name, and it must be three letters long. The setting file will be named as you wish. For other setting information, press the Enter key. Then the default setting will be
57
used. If you don t want to create new configuration file(choose n ), the file is not generated. In this case, you can use the w11.conf or jennifer.conf file offered by the JENNIFER after modifying them to the environment.
################################################### Step 5. JENNIFER AGENT CONFIGURATION SETTING ################################################### Do you want to customize agent configuration file ? (Y/N) : y license_filename [ex: c:\jennifer\license.txt] : c:\jennifer\jenniferagent\license.txt agent_name - only 3 char [W11] : A11 logfile [ex: c:\jennifer\logs\W11.log] : c:\jennifer\jenniferagent\A11.log lwst_logfile [ex: c:\jennifer\logs\lwst_W11.log] : c:\jennifer\jenniferagent\lwst_A11.log agent_tcp_port [7750] : udp_server_host [localhost] : 192.168.0.139 server_udp_runtime_port [6901] : server_udp_listen_port [6902] : server_udp_lwst_call_stack_port [6703] : Will you have any option that you need to change? If "Don't", continue to make configuration file. (Y/N)n "Creating A11.conf..." Agent configuration is completed... Please, proceed with Post - Installation tasks [Pre-Installation is finished]
Description
An agent name. A combination of Alphabets and numbers (3 digits). Set the license file and its path to store the license key.
58
Option
logfile lwst_logfile agent_tcp_port udp_server_host
Description
Set the JENNIFER agent s log file and its path. Set the JENNIFER transaction analysis module (LWST) s log file and path Set the bining port for the JENNIFER agent. Set the IP address for the JENNIFER server
59
Warning: For JDK 1.5 or higher, you must add -javaagent:/home/jennifer/agent/ lwst.javaagent.jar but don t set this option for the JDK 1.4 or lower). Notice: We recommand you backup the original file before modifying the catalina.sh file.
Check whether the JENNIFER agent log is recorded in the designated file. Check the following messages that signify the start of the JENNIFER agent in the log file 1. Check whether the JENNIFER agent log is recorded in the designated file. Check the following messages that signify the start of the JENNIFER agent in the log file.
--------------------------------------Jennifer4.0.5.0(2009-06-05) started. agent_name=A11 jennifer.config=c:/jennifer/jenniferagent/A11.conf agent_tcp_port=7750 udp_server_host=192.168.0.139 ... Omitted ... java.library.path= jennifer20.dll shared library loaded successfully. --------------------------------------Notice: As shown above, if the libjennifer20.so(sl) shared library loaded successfully. message does not appear, refer to [Troubleshotting for Installation].
2. Register the JENNIFER license key in the [Properties | License Management] menu and check whether the JENNIFER license is okay.
60
3. See if the classes loaded in the [ Problem Determination | Utility | Loading Class List ] menu appear properly.
4. Delete the JENNIFER agent options in the catalina.sh file which is Tomcat configuration file. 5. Delete the JENNIFER native library file(C:\Java\jdk16u13\bin\jennifer20.dll).
61
62
5
Setup for Resin
5.1.
UNIX
Directory
/was/resin315 /home/jennifer/agent
63
Directory
/jdk/sun/java15 192.168.0.139
64
2. Copy the jennifer.jar file into the common/lib directory of the Resin home directory. Set the home directory for Resin. Input the /was/resin315 in the preinstall.sh file and press the Enter.
######################################## ##### WAS Home Directory ######## ######################################## This process is for configuring the jennifer.jar file. Type the exact path of the directory for the WAS that you selected. 1) Do you want to use the default WAS HOME [ /usr/local/resin ]? /was/resin315
65
3. After checking the JAVA HOME directory of Resin, you need to create the lwst.jdk.jar file. Assign the JAVA HOME directory for Resin. Input the /jdk/sun/java15 in the preinstall.sh file and press the Enter.
######################################## ##### JDK Home Directory ######## ######################################## 2) Specify the JAVA_HOME directory which is currently used by Web Application Server. There is no default JAVA_HOME. Input JAVA_HOME of WAS Directory. /jdk/sun/java15 [JDK HOME] : /jdk/sun/java15 3) Preinstaller is creating the JENNIFER LWST file. /jdk/sun/java15/jre/lib/rt.jar lwst.jdk.jar is created successfully Add the JVM Option -Xbootclasspath/p:/home/jennifer/agent/lwst.jdk.jar:/home/jennifer/agent/lwst.boot.jar Add the JVM Option -javaagent:/home/jennifer/agent/lwst.javaagent.jar
66
4. The native library is used to collect the system CPU and memory information from the Jennfier agent. You must find the native library file suitable for the system, and test it. If the -d64 Java option of Resin is used, enter y and press the enter key. Otherwise, just press the Enter key..
######################################################## Step 4. Jennifer Native library setting ######################################################## Is Web Application Server running with the -d64 option? [y/n] libjennifer20_ibm_ppc64.so test fail libjennifer20_linux_32_32.so test success /jdk/sun/java15/jre/lib/i386/server/libjennifer20.so file is copied successfully
67
5. Now you must set the JENNIFER agent setting files. You need to assign an agent name, and it must be three letters long. The setting file will be named as you wish. For other setting information, press the Enter key. Then the default setting will be used.
######################################################## Step 5. Jennifer Agent Configuration setting ######################################################## Do you want to customize an agent configuration file ? [y/n] Input the Agent Name [exactly 3 char] ex) W11 ===>> W13
license_filename [ /home/jennifer/agent/license.txt ] ? logfile [ /home/jennifer/agent/jennifer_W13.log ] ? lwst_logfile [ /home/jennifer/agent/lwst_W13.log ] ? agent_tcp_port [ 7750 ] ? udp_server_host [ localhost ] ? 192.168.0.139 server_udp_runtime_port [ 6901 ] ? server_udp_listen_port [ 6902 ] ? server_udp_lwst_call_stack_port [ 6703 ] ? The Agent configuration is completed... Please, proceed with Post Installation tasks
Description
An agent name. A combination of Alphabets and numbers (3 digits). Set the license file and its path to store the license key. Set the JENNIFER agent s log file and its path. Set the JENNIFER transaction analysis module (LWST) s log file and path Set the bining port for the JENNIFER agent. Set the IP address for the JENNIFER server
68
69
Warning: For JDK 1.5 or higher, you must add -javaagent:/home/jennifer/agent/ lwst.javaagent.jar but don t set this option for the JDK 1.4 or lower).
1. Check whether the JENNIFER agent log is recorded in the designated file. Check the following messages that signify the start of the JENNIFER agent in the log file.
--------------------------------------JENNIFER 4.0.0.2(2008-09-22) started. agent_name=W13 jennifer.config=/home/jennifer/agent/W13.conf agent_tcp_port=7750 udp_server_host=192.168.0.139 Omiitted sun.boot.library.path=/jdk/sun/java15/jre/lib/i386 java.library.path=/jdk/sun/java15/jre/lib/i386/client:/jdk/sun/java15/ jre/lib/i386:/jdk/sun/java15/jre/../lib/i386 The libjennifer20.so(sl) shared library is loaded successfully. --------------------------------------Notice: As shown above, if the libjennifer20.so(sl) shared library loaded successfully. message does not appear, refer to [Troubleshotting for Installation].
70
2. Check if the profile data such as method and SQL is displayed properly when a dot on the X-View is selected.
Notice: If there is no SQL, refer to Resource and JDBC Monitoringof the JENNIFER 4.0 manual.
3. See if the classes loaded in the [ Problem Determination | Utility | Loading Class List ] menu appear properly.
3. In case of Resin 3.1.x, delete the JENNIFER agent configuration options in the /was/ resin315/conf/resin.conf file..
Notice: In case of Resin 2.1.x and 3.0.x, delete JENNIFER agent options in the start script. <jvm-arg>-Xbootclasspat/p:/home/jennifer/agent/lwst.jdk.jar:/home/ jennifer/agent/lwst.boot.jar</jvm-arg> <jvm-arg>-javaagent:/home/jennifer/agnet/lwst.javaagent.jar</jvm-arg> <jvm-arg>-Djennifer.config=/home/jennifer/agent/w13.conf</jvm-arg>
5.2.
Windows
The JENNIFER agent installation process has three steps: Pre-installation, Post-installation and Checking process.
71
Directory
c:/was/Resin c:/JenniferAgent
c:/jdk/sun/java15 192.168.0.139
72
1. Select a type of web application server where the JENNIFER agent is installed. Select 7 for Resin.
################################################### ######### Jennifer Agent Pre-Installation ######### ################################################### ################################################### Step 1. Select Java Application Server ###################################################
Send me e-mail at tech@jennifersoft.com, if you can't find Java Application Serv er you would like to install.
1. WebSphere 5.x / 6.x 2. WebLogic 6.x / 7.x / 8.x / 9.x / 10.x 3. JEUS 4.x / 5.x 4. OracleAS 10gR3 5. Tomcat 4.x / 5.x 6. Tomcat 6.x 7. Resin 2.x/3.0.x/3.1.x/ 4.0.x 8. Jboss 3 9. Jboss 4 10. Sun App Server 7.x/8.x/9.x 11. Glassfish 1.x/2.x
Select : 7
73
2. Set the home directory for Resin. Copy and input the jennifer.jar file in the %RESIN_HOME%\lib. Input the c:\JavaApplicationServer\resin3 and press the Enter.
################################################### Step 2. Type Java Application Server Home Directory ################################################### "This process is for configuring jennifer.jar." Example : c:\JavaApplicationServer\resin3 Type the exact path of directory for selected Java Application Server: c:\JavaApplicationServer\resin3 Java Application Server Home Directory : c:\JavaApplicationServer\resin3 "c:\JavaApplicationServer\resin3"\lib\jennifer.jar copy successful"
3. Set the JAVA HOME directory of Resin, then the lwst.jdk.jar file will be created. Input theC:\Java\jdk16u13 in the preinstall.sh file and press the Enter..
################################################### Step 3. Type JAVA Home Directory ################################################### Input [JAVA_HOME] which is used for JavaApplicationServer : C:\Java\jdk16u13 C:\Java\jdk16u13 is set as JAVA_HOME "Creating lwst.jdk.jar..." "LWST build success"
74
4. The native library is used to collect the system CPU and memory information from the Jennfier agent. You must find the native library file suitable for the system, and test it. If the memore size is over 2GB, choose y and if the memory size is less than 2GB, press the n key..
################################################### Step 4. JENNIFER NATIVE LIBRARY SETTING ################################################### Does yjennifer20.dll has been copied to C:\Java\jdk16u13\bin successfully.our system have 2GB or more MEMORY? (Y/N) : n
5. Now you must set the JENNIFER agent setting files. You need to assign an agent name, and it must be three letters long. The setting file will be named as you wish. For other setting information, press the Enter key. Then the default setting will be
75
used. If you dont want to this working(In case of choosing n), the new setting file is not created. In this case, modify the w11.conf or jennifer.conf file based on the environment and use them.
################################################### Step 5 JENNIFER AGENT CONFIGURATION SETTING ################################################### Do you want to customize agent configuration file ? (Y/N) : y license_filename [ex: c:\jennifer\license.txt] : c:\jennifer\jenniferagent\license.txt agent_name - only 3 char [W11] : A11 logfile [ex: c:\jennifer\logs\W11.log] : c:\jennifer\jenniferagent\A11.log lwst_logfile [ex: c:\jennifer\logs\lwst_W11.log] : c:\jennifer\jenniferagent\lwst_A11.log agent_tcp_port [7750] : udp_server_host [localhost] : 192.168.0.139 server_udp_runtime_port [6901] : server_udp_listen_port [6902] : server_udp_lwst_call_stack_port [6703] : Will you have any option that you need to change? If "Don't", continue to make configuration file. (Y/N)n "Creating A11.conf..." Agent configuration is completed... Please, proceed with Post - Installation tasks [Pre-Installation is finished]
Description
An agent name. A combination of Alphabets and numbers (3 digits). Set the license file and its path to store the license key. Set the JENNIFER agent s log file and its path.
76
Option
lwst_logfile agent_tcp_port udp_server_host
Description
Set the JENNIFER transaction analysis module (LWST) s log file and path Set the bining port for the JENNIFER agent. Set the IP address for the JENNIFER server
77
78
2. Check the JENNIFER agen log file is created and the following message.
--------------------------------------Jennifer4.0.5.0(2009-06-05) started. agent_name=A11 jennifer.config=c:/jennifer/jenniferagent/A11.conf agent_tcp_port=7750 udp_server_host=192.168.0.139 ... Omiitted ... java.library.path= jennifer20.dll shared library loaded successfully. --------------------------------------Notice: As shown above, if the libjennifer20.so(sl) shared library loaded successfully. message does not appear, refer to [Troubleshotting for Installation].
3. Register the vaild license number in the [Properties | License Key Management] menu.
6. See if the classes loaded in the [ Problem Determination | Utility | Loading Class List ] menu appear properly.
79
3. Delete c:\JavaApplicationServer\resin3\lib\jennifer.jar. 4. Delete the JENNIFER native library file.(.C:\Java\jdk16u13\bin\jennifer20.dll) 5. Restart Resin.
80
6
Setup for JBoss
6.1.
UNIX
Directory
/was/jboss3 /was/jboss4
81
Directory
/home/jennifer/agent
/jdk/sun/java15 192.168.0.139
82
jennifer@jennifer1:~/agent$ ./preinstall.sh ######################################## ##### Jennifer Agent Pre Installation ## ##### Select Web Application Server ## ######################################## If you could not find your Web Application Server on the below list, contact us via an e-mail: tech@jennifersoft.com 1. WebSphere 5.x / 6.x 2. WebLogic 6.x / 7.x / 8.x / 9.x 3. JEUS 4.x / 5.x 4. Oracle AS 10g 5. Tomcat 4.x / 5.x 6. Tomcat 6.x 7. Resin 8. Jboss 3 9. Jboss 4 10. Sun App Server 11. Glassfish
(Q:Quit)
===>> 8
83
2. Copy the jennifer.jar file into the /was/jboss3/server/default/deploy/ jbossweb-tomcat50.sar directory of the JBoss home directory. Set the home directory for JBoss. Input the /was/jboss3 in the preinstall.sh file and press the Enter.
######################################## ##### WAS Home Directory ######## ######################################## This process is for configuring the jennifer.jar file. Type the exact path of the directory for the WAS that you selected. 1) Do you want use default WAS HOME [ /usr/local/jboss ]? /was/jboss3
WAS Home Directory : /was/jboss3 The /was/jboss3/server/default/deploy/jbossweb-tomcat50.sar/ jennifer.jar is copid successfully. Notice: In case of JBoss 4.x, copy jennifer.jar into the /was/jboss4/server/default/lib
directory.
84
3. After checking the JAVA HOME directory of JBoss, you need to create the lwst.jdk.jar file. Assign the JAVA HOME directory for JBoss. Input the /jdk/sun/java15 in the preinstall.sh file and press the Enter.
######################################## ##### JDK Home Directory ######## ######################################## 2) Specify the JAVA_HOME directory which is currently used by Web Application Server. There is no default JAVA_HOME. Input JAVA_HOME of WAS Directory. / jdk/sun/java15 [JDK HOME] : /jdk/sun/java15 3) Preinstaller is creating the JENNIFER LWST file. /jdk/sun/java15/jre/lib/rt.jar The lwst.jdk.jar is created successfully. Add the JVM Option -Xbootclasspath/p:/home/jennifer/agent/lwst.jdk.jar:/home/jennifer/agent/lwst.boot.jar Add the JVM Option -javaagent:/home/jennifer/agent/lwst.javaagent.jar
4. The native library is used to collect the system CPU and memory information from the Jennfier agent. You must find the native library file suitable for the system, and test it. If the -d64 Java option of JBoss is used, enter y and press the enter key. Otherwise, just press the Enter key..
4) Set the JENNIFER Native Library. Is Web Application Server running with -d64 option ? [y/n] The libjennifer20_linux_32_32.so test is succeeded.
5. Now you must set the JENNIFER agent setting files. You need to assign an agent name, and it must be three letters long. The setting file will be named as you wish. For other setting information, press the Enter key. Then the default setting will be
85
used. If you dont want to this working(In case of choosing n), the new setting file is not created. In this case, modify the w11.conf or jennifer.conf file based on the environment and use them.
######################################################## Step 5. Jennifer Agent Configuration setting ######################################################## Do you want to customize an agent configuration file ? [y/n] Input the Agent Name [exactly 3 char] ex) W11 ===>> JB3
license_filename [ /home/jennifer/agent/license.txt ] ? logfile [ /home/jennifer/agent/jennifer_JB3.log ] ? lwst_logfile [ /home/jennifer/agent/lwst_JB3.log ] ? agent_tcp_port [ 7750 ] ? udp_server_host [ localhost ] ? 192.168.0.139 server_udp_runtime_port [ 6901 ] ? server_udp_listen_port [ 6902 ] ? server_udp_lwst_call_stack_port [ 6703 ] ? The Agent configuration is completed... Please, proceed with Post Installation tasks
Description
An agent name. A combination of Alphabets and numbers (3 digits). Set the license file and its path to store the license key. Set the JENNIFER agent s log file and its path. Set the JENNIFER transaction analysis module (LWST) s log file and path Set the bining port for the JENNIFER agent. Set the IP address for the JENNIFER server
86
87
1. Check whether the JENNIFER agent log is recorded in the designated file. Check the following messages that signify the start of the JENNIFER agent in the log file.
--------------------------------------JENNIFER 4.0.0.2(2008-09-22) started. agent_name=JB4 jennifer.config=/home/jennifer/agent/JB3.conf agent_tcp_port=7750 udp_server_host=192.168.0.139 Omitted sun.boot.library.path=/jdk/sun/java15/jre/lib/i386 java.library.path=/jdk/sun/java15/jre/lib/i386/client:/jdk/sun/java15/ jre/lib/i386:/jdk/sun/java15/jre/../lib/i386 The libjennifer20.so(sl) shared library is loaded successfully. --------------------------------------Notice: As shown above, if the libjennifer20.so(sl) shared library loaded successfully. message does not appear, refer to [Troubleshotting for Installation].
2. Register the vaild license number in the [Properties | License Key Management] menu.
3. See if the classes loaded in the [ Problem Determination | Utility | Loading Class List ] menu appear properly.
88
6.2.
Windows
The JENNIFER agent installation process has three steps: Pre-installation, Post-installation and Finalizing process.
Directory
c:/was/jboss3 c:/JenniferAgent
c:/jdk/sun/java15 192.168.0.139
89
Directory
/was/jboss3 /was/jboss4
JENNIFER directory
agent s
home
/home/jennifer/agent
/jdk/sun/java15 192.168.0.139
90
################################################### ######### Jennifer Agent Pre-Installation ######### ################################################### ################################################### Step 1. Select Java Application Server ###################################################
Send me e-mail at tech@jennifersoft.com, if you can't find Java Application Serv er you would like to install.
1. WebSphere 5.x / 6.x 2. WebLogic 6.x / 7.x / 8.x / 9.x / 10.x 3. JEUS 4.x / 5.x 4. OracleAS 10gR3 5. Tomcat 4.x / 5.x 6. Tomcat 6.x 7. Resin 2.x/3.0.x/3.1.x/ 4.0.x 8. Jboss 3.x 9. Jboss 4.x 10. Sun App Server 7.x/8.x/9.x 11. Glassfish 1.x/2.x
Select : 8
91
2. Copy the jennifer.jar file into the %JBOSS_HOME%\server\default\deploy\jbossweb-tomcat50.sar directory of the JBoss home directory. Set the home directory for JBoss. Input the c:\JavaApplicationServer\jboss3 in the preinstall.sh file and press the Enter.
################################################### Step 2. Type Java Application Server Home Directory ################################################### "This process is for configuring jennifer.jar." Example : c:\JavaApplicationServer\jboss3 Type the exact path of directory for selected Java Application Server: c:\JavaApplicationServer\jboss3 Java Application Server Home Directory : c:\JavaApplicationServer\jboss3
/JavaApplicationServer/jboss3 /server/default/deploy/jbossweb-tomcat50.sar
jennifer.jar copy successful"
3. After checking the JAVA HOME directory of JBoss, you need to create the lwst.jdk.jar file. Assign the JAVA HOME directory for JBoss. Input the C:\Java\jdk16u13 in the preinstall.sh file and press the Enter..
################################################### Step 3. Type JAVA Home Directory ################################################### Input [JAVA_HOME] which is used for Java Application Server : C:\Java\jdk16u13 C:\Java\jdk16u13 is set as JAVA_HOME "Creating lwst.jdk.jar..." "LWST build success"
92
4. The native library is used to collect the system CPU and memory information from the Jennfier agent. You must find the native library file suitable for the system, and test it. If the -d64 Java option of JBoss is used, enter y and press the enter key. Otherwise, just press the Enter key.
################################################### Step 4. JENNIFER NATIVE LIBRARY SETTING ################################################### Does your system have 2GB or more MEMORY? (Y/N) : n
5. Now you must set the JENNIFER agent setting files. You need to assign an agent name, and it must be three letters long. The setting file will be named as you wish. For other setting information, press the Enter key. Then the default setting will be
93
used. If you dont want to this working(In case of choosing n), the new setting file is not created. In this case, modify the w11.conf or jennifer.conf file based on the environment and use them.
################################################### Step 5 JENNIFER AGENT CONFIGURATION SETTING ################################################### Do you want to customize agent configuration file ? (Y/N) : y license_filename [ex: c:\jennifer\license.txt] : c:\jennifer\jenniferagent\license.txt agent_name - only 3 char [W11] : A11 logfile [ex: c:\jennifer\logs\W11.log] : c:\jennifer\jenniferagent\A11.log lwst_logfile [ex: c:\jennifer\logs\lwst_W11.log] : c:\jennifer\jenniferagent\lwst_A11.log agent_tcp_port [7750] : udp_server_host [localhost] : 192.168.0.139 server_udp_runtime_port [6901] : server_udp_listen_port [6902] : server_udp_lwst_call_stack_port [6703] : Will you have any option that you need to change? If "Don't", continue to make configuration file. (Y/N)n "Creating A11.conf..." Agent configuration is completed... Please, proceed with Post - Installation tasks [Pre-Installation is finished]
Description
An agent name. A combination of Alphabets and numbers (3 digits). Set the license file and its path to store the license key. Set the JENNIFER agent s log file and its path.
94
Option
lwst_logfile agent_tcp_port udp_server_host
Description
Set the JENNIFER transaction analysis module (LWST) s log file and path Set the bining port for the JENNIFER agent. Set the IP address for the JENNIFER server
-Djenni-
95
1. Check whether the JENNIFER agent log is recorded in the designated file. Check the following messages that signify the start of the JENNIFER agent in the log file.
--------------------------------------Jennifer 4.0.5.0(2009-06-05) started. agent_name=A11 jennifer.config=c:/jennifer/jenniferagent/A11.conf agent_tcp_port=7750 udp_server_host=192.168.0.139 ... Omitted... java.library.path= The libjennifer20.dll shared library is loaded successfully. --------------------------------------Notice: As shown above, if the libjennifer20.so(sl) shared library loaded successfully. message does not appear, refer to [Troubleshotting for Installation].
2. Register the vaild license number in the [Properties | License Key Management] menu.
96
3. See if the classes loaded in the [ Problem Determination | Utility | Loading Class List ] menu appear properly.
97
98
7
Setup for Oracle Application Server
7.1.
UNIX
Directory
/was/OracleAS /home/jennifer/agent
99
Directory
/was/OracleAS/jdk 192.168.0.139
100
2. Copy the jennifer.jar file into the $ORACLE_WAS/j2ee/home/lib/api-ext directory of the Oracle Applciation Server. Set the home directory for Oracle Application Server. Input the /was/OracleAS in the preinstall.sh file and press the Enter.
######################################################## Step 2. Type Java Application Server Home Directory ######################################################## This process is for configuring the jennifer.jar . Type the exact path of directory for the selected Server. Oracle Application
Do you want to use the default Java Application Server HOME [ /usr/ OracleAS ]? /was/OracleAS Oracle Application Server Home Directory : /was/OracleAS /was/OracleAS/j2ee/home/lib/api-ext/jennifer.jar is copied successfully
101
3. After checking the JAVA HOME directory of Oracle Application Server, you need to create the lwst.jdk.jar file. Assign the JAVA HOME directory for Oracle Application Server. Input the /was/OracleAS/jdk in the preinstall.sh file and press the Enter.
######################################## ##### JDK Home Directory ######## ######################################## 2) Specify the JAVA_HOME directory which is currently used by Web Application Server. Do you want to use default JAVA_HOME [/was/OracleAS/jdk] ? [JDK HOME] : /was/OracleAS/jdk 3) Preinstaller is creating the JENNIFER LWST file. /was/OracleAS/jdk/jre/lib/rt.jar The lwst.jdk.jar is created successfully. Add the JVM Option -Xbootclasspath/p:/home/jennifer/agent/lwst.jdk.jar:/home/jennifer/agent/lwst.boot.jar Add the JVM Option -javaagent:/home/jennifer/agent/lwst.javaagent.jar
4. The native library is used to collect the system CPU and memory information from the Jennfier agent. You must find the native library file suitable for the system, and test it. If the -d64 Java option of JBoss is used, enter y and press the enter key. Otherwise, just press the Enter key.
4) Set the JENNIFER Native Library. Is Web Application Server running with -d64 option? [y/n] The libjennifer20_linux_32_32.so test is succeeded. The /was/OracleAS/jdk/jre/lib/i386/server/libjennifer20.so file is copied successfully.
5. Now you must set the JENNIFER agent setting files. You need to assign an agent name, and it must be three letters long. The setting file will be named as you wish. For other setting information, press the Enter key. Then the default setting will be
102
used. If you dont want to this working(In case of choosing n), the new setting file is not created. In this case, modify the w11.conf or jennifer.conf file based on the environment and use them.
5) Do you want to customize an agent configuration file? [y/n] Input Agent Name [exactly 3 char] ex) W11 ===>> OR1
license_filename [ /home/jennifer/agent/license.txt ] ? logfile [ /home/jennifer/agent/jennifer_OR1.log ] ? lwst_logfile [ /home/jennifer/agent/lwst_OR1.log ] ? agent_tcp_port [ 7750 ] ? udp_server_host [ localhost ] ? 192.168.0.139 server_udp_runtime_port [ 6901 ] ? server_udp_listen_port [ 6902 ] ? server_udp_lwst_call_stack_port [ 6703 ] ? Agent configuration is completed...
Description
An agent name. A combination of Alphabets and numbers (3 digits). Set the license file and its path to store the license key. Set the JENNIFER agent s log file and its path. Set the JENNIFER transaction analysis module (LWST) s log file and path Set the bining port for the JENNIFER agent. Set the IP address for the JENNIFER server
103
104
1. Check whether the JENNIFER agent log is recorded in the designated file. Check the following messages that signify the start of the JENNIFER agent in the log file.
--------------------------------------JENNIFER 4.0.0.2(2008-09-22) started. agent_name=OR1 jennifer.config=/home/jennifer/agent/OR1.conf agent_tcp_port=7750 udp_server_host=192.168.0.139 ... Omitted... sun.boot.library.path=/was/OracleAS/jdk/jre/lib/i386 java.library.path=/was/OracleAS/jdk/jre/lib/i386/client:/was/OracleAS/ jdk/jre/lib/i386 The libjennifer20.so(sl) shared library is loaded successfully. --------------------------------------Notice: As shown above, if the libjennifer20.so(sl) shared library loaded successfully. message does not appear, refer to [Troubleshotting for Installation].
3. See if the classes loaded in the [ Problem Determination | Utility | Loading Class List ] menu appear properly.
105
3. Delete the JENNIFER agent configuration options in the /was/OracleAS/opmn/conf/ opmn.xml file. 4. Delete the JENNIFER native library file. 5. Restart Oracle Application Server.
7.2.
Windows
The JENNIFER agent installation process has three steps: Pre-installation, Post-installation and Checking process.
Directory
c:/was/oracleas
106
1. Select a type of web application server where the JENNIFER agent is installed. Select 4 for Oracle Application Server.
################################################### ######### Jennifer Agent Pre-Installation ######### ################################################### ################################################### Step 1. Select Java Application Server ###################################################
Send me e-mail at tech@jennifersoft.com, if you can't find Java Application Serv er you would like to install.
1. WebSphere 5.x / 6.x 2. WebLogic 6.x / 7.x / 8.x / 9.x / 10.x 3. JEUS 4.x / 5.x 4. OracleAS 10gR3 5. Tomcat 4.x / 5.x 6. Tomcat 6.x 7. Resin 2.x/3.0.x/3.1.x/ 4.0.x 8. Jboss 3.x 9. Jboss 4.x 10. Sun App Server 7.x/8.x/9.x 11. Glassfish 1.x/2.x
Select : 4
107
2. Copy the jennifer.jar file into the j2ee\home\lib\api-ext directory of the Oracle Applciation Server. Set the home directory for Oracle Application Server. Input the c:\JavaApplicationServer\oraas in the preinstall.sh file and press the Enter.
################################################### Step 2. Type Java Application Server Home Directory ################################################### "This process is for configuring jennifer.jar." Example : c:\JavaApplicationServer\oraas Type the exact path of directory for selected Java Application Server: c:\JavaApplicationServer\oraas Java Application Server Home Directory : c:\JavaApplicationServer\oraas
3. After checking the JAVA HOME directory of Oracle Application Server, you need to create the lwst.jdk.jar file. Assign the JAVA HOME directory for Oracle Application Server. Input the c:\JavaApplicationServer\oraas\jdk in the preinstall.sh file and press the Enter.
################################################### Step 3. Type JAVA Home Directory ################################################### Input [JAVA_HOME] which is used for JavaApplicationServer : C:\JavaApplicationServer\oraas\jdk c:\JavaApplicationServer\oraas\jdk is set as JAVA_HOME "Creating lwst.jdk.jar..." "LWST build success"
4. The native library is used to collect the system CPU and memory information from the Jennfier agent. You must find the native library file suitable for the system, and test it. If the -d64 Java option of JBoss is used, enter y and press the enter key. Otherwise, just press the Enter key..
################################################### Step 4. JENNIFER NATIVE LIBRARY SETTING ################################################### Does your system have 2GB or more MEMORY? (Y/N) : n
108
5. Now you must set the JENNIFER agent setting files. You need to assign an agent name, and it must be three letters long. The setting file will be named as you wish. For other setting information, press the Enter key. Then the default setting will be used. If you dont want to this working(In case of choosing n), the new setting file is not created. In this case, modify the w11.conf or jennifer.conf file based on the environment and use them.
################################################### Step 5 JENNIFER AGENT CONFIGURATION SETTING ################################################### Do you want to customize agent configuration file ? (Y/N) : y license_filename [ex: c:\jennifer\license.txt] : c:\jennifer\jenniferagent\license.txt agent_name - only 3 char [W11] : A11 logfile [ex: c:\jennifer\logs\W11.log] : c:\jennifer\jenniferagent\A11.log lwst_logfile [ex: c:\jennifer\logs\lwst_W11.log] : c:\jennifer\jenniferagent\lwst_A11.log agent_tcp_port [7750] : udp_server_host [localhost] : 192.168.0.139 server_udp_runtime_port [6901] : server_udp_listen_port [6902] : server_udp_lwst_call_stack_port [6703] : Will you have any option that you need to change? If "Don't", continue to make configuration file. (Y/N)n "Creating A11.conf..." Agent configuration is completed... Please, proceed with Post - Installation tasks [Pre-Installation is finished]
Description
An agent name. A combination of Alphabets and numbers (3 digits).
109
Option
license_filename logfile lwst_logfile agent_tcp_port udp_server_host
Description
Set the license file and its path to store the license key. Set the JENNIFER agent s log file and its path. Set the JENNIFER transaction analysis module (LWST) s log file and path Set the bining port for the JENNIFER agent. Set the IP address for the JENNIFER server
110
1. Check whether the JENNIFER agent log is recorded in the designated file. Check the following messages that signify the start of the JENNIFER agent in the log file.
--------------------------------------Jennifer 4.0.5.0(2009-06-05) started. agent_name=A11 jennifer.config=c:/jennifer/jenniferagent/A11.conf agent_tcp_port=7750 udp_server_host=192.168.0.139 ... Omitted... java.library.path= The libjennifer20.dll shared library is loaded successfully. --------------------------------------Notice: As shown above, if the libjennifer20.so(sl) shared library loaded successfully. message does not appear, refer to [Troubleshotting for Installation].
2. Register the vaild license number in the [Properties | License Key Management] menu.
111
3. See if the classes loaded in the [ Problem Determination | Utility | Loading Class List ] menu appear properly.
112
8
Setup for GlassFish
8.1.
UNIX
Directory
/was/glassfish /home/jennifer/agent
113
Directory
/jdk/sun/java15 192.168.0.139
114
2. Copy the jennifer.jar file into the $GLASSFISH_HOME//lib directory of the GlassFish. Set the home directory for GlassFish. Input the /was/glassfish in the preinstall.sh file and press the Enter.
######################################################## Step 2. Type Java Application Server Home Directory ######################################################## This process is for configuring the jennifer.jar . Type the exact path of directory for the selected Sun Glassfish.
Do you want to use the default Java Application Server HOME [ /usr/ local/glassfish ]? /was/glassfish Sun Glassfish Home Directory : /was/glassfish /was/glassfish/lib/jennifer.jar is copied successfully
115
3. After checking the JAVA HOME directory of GlassFish, you need to create the lwst.jdk.jar file. Assign the JAVA HOME directory for GlassFish. Input the /jdk/sun/ java15 in the preinstall.sh file and press the Enter.
######################################## ##### JDK Home Directory ######## ######################################## 2) Specify the JAVA_HOME directory which is currently used by Web Application Server. There is no default JAVA_HOME. Input JAVA_HOME of WAS Directory. /jdk/sun/java15 [JDK HOME] : /jdk/sun/java15 3) Preinstaller is creating the JENNIFER LWST file. /jdk/sun/java15/jre/lib/rt.jar The lwst.jdk.jar file is created successfully Add the JVM Option. -Xbootclasspath/p:/home/jennifer/agent/lwst.jdk.jar:/home/jennifer/agent/lwst.boot.jar Add the JVM Option. -javaagent:/home/jennifer/agent/lwst.javaagent.jar
4. The native library is used to collect the system CPU and memory information from the Jennfier agent. You must find the native library file suitable for the system, and test it. If the -d64 Java option of JBoss is used, enter y and press the enter key. Otherwise, just press the Enter key.
4) Set the JENNIFER Native Library. Is Web Application Server running with -d64 option ? [y/n] The libjennifer20_linux_32_32.so test is succeeded. /was/glassfish/lib/libjennifer20.so file is copied successfully.
5. Now you must set the JENNIFER agent setting files. You need to assign an agent name, and it must be three letters long. The setting file will be named as you wish. For other setting information, press the Enter key. Then the default setting will be
116
used. If you dont want to this working(In case of choosing n), the new setting file is not created. In this case, modify the w11.conf or jennifer.conf file based on the environment and use them..
######################################################## Step 5. Jennifer Agent Configuration setting ######################################################## Do you want to customize an agent configuration file ? [y/n] Input the Agent Name [exactly 3 char] ex) W11 ===>> G01
license_filename [ /home/jennifer/agent/license.txt ] ? logfile [ /home/jennifer/agent/jennifer_G01.log ] ? lwst_logfile [ /home/jennifer/agent/lwst_G01.log ] ? agent_tcp_port [ 7750 ] ? udp_server_host [ localhost ] ? 192.168.0.139 server_udp_runtime_port [ 6901 ] ? server_udp_listen_port [ 6902 ] ? server_udp_lwst_call_stack_port [ 6703 ] ? The Agent configuration is completed... Please, proceed with Post Installation tasks
Description
An agent name. A combination of Alphabets and numbers (3 digits). Set the license file and its path to store the license key. Set the JENNIFER agent s log file and its path. Set the JENNIFER transaction analysis module (LWST) s log file and path Set the bining port for the JENNIFER agent. Set the IP address for the JENNIFER server
117
118
1. Check whether the JENNIFER agent log is recorded in the designated file. Check the following messages that signify the start of the JENNIFER agent in the log file.
--------------------------------------JENNIFER 4.0.0.2(2008-09-22) started. agent_name=G01 jennifer.config=/home/jennifer/agent/G01.conf agent_tcp_port=7750 udp_server_host=192.168.0.139 Omitted sun.boot.library.path=/jdk/sun/java15/jre/lib/i386 java.library.path=/jdk/sun/java15/jre/lib/i386/client:/jdk/sun/java15/ jre/lib/i386:/jdk/sun/java15/jre/../lib/i386 The libjennifer20.so(sl) shared library is loaded successfully. --------------------------------------Notice: As shown above, if the libjennifer20.so(sl) shared library loaded successfully. message does not appear, refer to [Troubleshotting for Installation].
2. Register the vaild license number in the [Properties | License Key Management] menu.
3. See if the classes loaded in the [ Problem Determination | Utility | Loading Class List ] menu appear properly.
119
2. Delete the jennifer.jar file in the /was/GlassFish/lib directory. 3. Delete the JENNIFER native library file. 4. Restart GlassFish.
8.2.
Windows
The JENNIFER agent installation process has three steps: Pre-installation, Post-installation and Finalizing process.
Directory
c:\was\glassfish c:\JenniferAgent
c:\jdk\sun\java15 192.168.0.139
120
1. Select a type of web application server where the JENNIFER agent is installed. Select 11 for GlassFish.
################################################### ######### Jennifer Agent Pre-Installation ######### ################################################### ################################################### Step 1. Select Java Application Server ###################################################
Send me e-mail at tech@jennifersoft.com, if you can't find Java Application Serv er you would like to install.
1. WebSphere 5.x / 6.x 2. WebLogic 6.x / 7.x / 8.x / 9.x / 10.x 3. JEUS 4.x / 5.x 4. OracleAS 10gR3 5. Tomcat 4.x / 5.x 6. Tomcat 6.x 7. Resin 2.x/3.0.x/3.1.x/ 4.0.x 8. Jboss 3.x 9. Jboss 4.x 10. Sun App Server 7.x/8.x/9.x 11. Glassfish 1.x/2.x
Select : 11
121
2. Copy the jennifer.jar file into the $GLASSFISH_HOME//lib directory of the GlassFish. Set the home directory for GlassFish. Input the c:\JavaApplicationServer\glassfish in the preinstall.sh file and press the Enter.
################################################### Step 2. Type Java Application Server Home Directory ################################################### "This process is for configuring jennifer.jar." Example : c:\JavaApplicationServer\glassfish Type the exact path of directory for selected Java Application Server: c:\JavaApplicationServer\glassfish Java Application Server Home Directory : c:\JavaApplicationServer\glassfish
c:\JavaApplicationServer\glassfish \lib jennifer.jar copy successful" 3. After checking the JAVA HOME directory of GlassFish, you need to create the lwst.jdk.jar file. Assign the JAVA HOME directory for GlassFish. Input theC:\Java\jdk16u13 in the preinstall.sh file and press the Enter..
################################################### Step 3. Type JAVA Home Directory ################################################### Input [JAVA_HOME] which is used for JavaApplicationServer : C:\Java\jdk16u13 C:\Java\jdk16u13 is set as JAVA_HOME "Creating lwst.jdk.jar..." "LWST build success"
122
4. The native library is used to collect the system CPU and memory information from the Jennfier agent. You must find the native library file suitable for the system, and test it. If the -d64 Java option of JBoss is used, enter y and press the enter key. Otherwise, just press the Enter key..
################################################### Step 4. JENNIFER NATIVE LIBRARY SETTING ################################################### Does your system have 2GB or more MEMORY? (Y/N) : n
5. Now you must set the JENNIFER agent setting files. You need to assign an agent name, and it must be three letters long. The setting file will be named as you wish. For other setting information, press the Enter key. Then the default setting will be
123
used. If you dont want to this working(In case of choosing n), the new setting file is not created. In this case, modify the w11.conf or jennifer.conf file based on the environment and use them.
################################################### Step 5 JENNIFER AGENT CONFIGURATION SETTING ################################################### Do you want to customize agent configuration file ? (Y/N) : y license_filename [ex: c:\jennifer\license.txt] : c:\jennifer\jenniferagent\license.txt agent_name - only 3 char [W11] : A11 logfile [ex: c:\jennifer\logs\W11.log] : c:\jennifer\jenniferagent\A11.log lwst_logfile [ex: c:\jennifer\logs\lwst_W11.log] : c:\jennifer\jenniferagent\lwst_A11.log agent_tcp_port [7750] : udp_server_host [localhost] : 192.168.0.139 server_udp_runtime_port [6901] : server_udp_listen_port [6902] : server_udp_lwst_call_stack_port [6703] : Will you have any option that you need to change? If "Don't", continue to make configuration file. (Y/N)n "Creating A11.conf..." Agent configuration is completed... Please, proceed with Post - Installation tasks [Pre-Installation is finished]
Description
Set the agent name. A combination of Alphabets and numbers. Set the license file path where the license key is stored. Set the JENNIFER agent s log file and path.
124
Option
lwst_logfile udp_server_host
Description
Set the JENNIFER transaction analysis module s (LWST) log file and path. Set the IP address for the JENNIFER server where the JENNIFER agent is installed.
125
1. Check whether the JENNIFER agent log is recorded in the designated file. Check the following messages that signify the start of the JENNIFER agent in the log file.
--------------------------------------JENNIFER 4.0.0.2(2008-09-22) started. agent_name=A11 jennifer.config=c:/JenniferAgent/A11.conf agent_tcp_port=7750 udp_server_host=192.168.0.139 ... Omitted... java.library.path= The libjennifer20.dll shared library is loaded successfully. --------------------------------------Notice: .As shown above, if the libjennifer20.so(sl) shared library loaded successfully. message does not appear, refer to [Troubleshotting for Installation].
2. Register the vaild license number in the [Properties | License Key Management] menu.
3.See if the cllases loaded in the [ Problem Determination | Utility | Loading Class List] menu appears properly.
126
5. Restart GlassFish.
127
128
9
Setup for SUN Application Server
9.1.
UNIX
Directory
/was/SUNWappserver9 /home/jennifer/agent
129
Directory
/jdk/sun/java15 192.168.0.139
130
2. Copy the jennifer.jar file into the /was/SUNWappserver9/lib directory of the SUN Application Server. Set the home directory for SUN Application Server. Input the / was/SUNWappserver9 in the preinstall.sh file and press the Enter.
######################################## ##### WAS Home Directory ######## ######################################## This process is for configuring the jennifer.jar file. Type the exact path of the directory for the WAS that you selected. 1) Do you want use default WAS HOME [ /usr/local/SunAppServer ] was/SUNWappserver9 WAS Home Directory : /was/SUNWappserver9 The /was/SUNWappserver9/lib/jennifer.jar file is copied successfully. ? /
131
3. After checking the JAVA HOME directory of SUN Application Server, you need to create the lwst.jdk.jar file. Assign the JAVA HOME directory for SUN Application Server. Input the /jdk/sun/java15 in the preinstall.sh file and press the Enter.
######################################## ##### JDK Home Directory ######## ######################################## 2) Specify the JAVA_HOME directory which is currently used by Web Application Server. There is no default JAVA_HOME. Input JAVA_HOME of WAS Directory. /jdk/sun/java15 [JDK HOME] : /jdk/sun/java15 3) Preinstaller is creating the JENNIFER LWST file. /jdk/sun/java15/jre/lib/rt.jar The lwst.jdk.jar file is created successfully Add the JVM Option. -Xbootclasspath/p:/home/jennifer/agent/lwst.jdk.jar:/home/jennifer/agent/lwst.boot.jar Add the JVM Option. -javaagent:/home/jennifer/agent/lwst.javaagent.jar
4. The native library is used to collect the system CPU and memory information from the Jennfier agent. You must find the native library file suitable for the system, and test it. If the -d64 Java option of JBoss is used, enter y and press the enter key. Otherwise, just press the Enter key.
4) Set the JENNIFER Native Library. Is Web Application Server running with -d64 option? [y/n] The libjennifer20_linux_32_32.so test is succeeded. The /was/SUNWappserver9/lib/libjennifer20.so file is copied successfully.
5. Now you must set the JENNIFER agent setting files. You need to assign an agent name, and it must be three letters long. The setting file will be named as you wish. For other setting information, press the Enter key. Then the default setting will be
132
used. If you dont want to this working(In case of choosing n), the new setting file is not created. In this case, modify the w11.conf or jennifer.conf file based on the environment and use them.
5) Do you want to customize an agent configuration file? [y/n] Input Agent Name [exactly 3 char] ex) W11 ===>> SW1
license_filename [ /home/jennifer/agent/license.txt ] ? logfile [ /home/jennifer/agent/jennifer_SW1.log ] ? lwst_logfile [ /home/jennifer/agent/lwst_SW1.log ] ? agent_tcp_port [ 7750 ] ? udp_server_host [ localhost ] ? 192.168.0.139 server_udp_runtime_port [ 6901 ] ? server_udp_listen_port [ 6902 ] ? server_udp_lwst_call_stack_port [ 6703 ] ? Agent configuration is completed...
Description
An agent name. A combination of Alphabets and numbers (3 digits). Set the license file and its path to store the license key. Set the JENNIFER agent s log file and its path. Set the JENNIFER transaction analysis module (LWST) s log file and path Set the bining port for the JENNIFER agent. Set the IP address for the JENNIFER server
133
134
1. Check whether the JENNIFER agent log is recorded in the designated file. Check the following messages that signify the start of the JENNIFER agent in the log file.
--------------------------------------JENNIFER 4.0.0.2(2008-09-22) started. agent_name=SW1 jennifer.config=/home/jennifer/agent/SW1.conf agent_tcp_port=7750 udp_server_host=192.168.0.139 Omitted sun.boot.library.path=/jdk/sun/java15/jre/lib/i386 java.library.path=/jdk/sun/java15/jre/lib/i386/client:/jdk/sun/java15/ jre/lib/i386:/jdk/sun/java15/jre/../lib/i386 The libjennifer20.so(sl) shared library is loaded successfully. --------------------------------------Notice: As shown above, if the libjennifer20.so(sl) shared library loaded successfully. message does not appear, refer to [Troubleshotting for Installation].
135
2. Check if the profile data such as method and SQL is displayed properly when a dot on the X-View is selected.
Notice: If there is no SQL, refer to Resource and JDBC Monitoringof the JENNIFER 4.0 manual.
3. See if the classes loaded in the [ Problem Determination | Utility | Loading Class List ] menu appear properly.
4. Delete the JENNIFER native library file. 5. Restart SUN Application Server.
9.2.
Windows
The JENNIFER agent installation process has three steps: Pre-installation, Post-installation and Finalizing process.
136
This installation guide describes following environment values, and it is recommended to adjust settings customized for each server environment information Table 9-3: Environments for JENNIFER Agent Configuration
Classification
SUN AS s home directory JENNIFER directory agent s home
Directory
c:/was/sunas8 c:/JenniferAgent
c:/jdk/sun/java15 192.168.0.139
137
1. Select a type of web application server where the JENNIFER agent is installed. SUN Select 10 for Application Server.
################################################### ######### Jennifer Agent Pre-Installation ######### ################################################### ################################################### Step 1. Select Java Application Server ###################################################
Send me e-mail at tech@jennifersoft.com, if you can't find Java Application Serv er you would like to install.
1. WebSphere 5.x / 6.x 2. WebLogic 6.x / 7.x / 8.x / 9.x / 10.x 3. JEUS 4.x / 5.x 4. OracleAS 10gR3 5. Tomcat 4.x / 5.x 6. Tomcat 6.x 7. Resin 2.x/3.0.x/3.1.x/ 4.0.x 8. Jboss 3.x 9. Jboss 4.x 10. Sun App Server 7.x/8.x/9.x 11. Glassfish 1.x/2.x
Select : 10
138
2. Copy the jennifer.jar file into the %SUN_WAS%\lib directory of the SUN Application Server. Set the home directory for SUN Application Server. Input the c:\JavaApplicationServer\sunas8 in the preinstall.sh file and press the Enter. .
################################################### Step 2. Type Java Application Server Home Directory ################################################### "This process is for configuring jennifer.jar." Example : c:\JavaApplicationServer\sunas Type the exact path of directory for selected Java Application Server: c:\JavaApplicationServer\sunas8 Java Application Server Home Directory : c:\JavaApplication Server\sunas8
c:\JavaApplicationServer\sunas8 \lib jennifer.jar copy successful" 3. After checking the JAVA HOME directory of SUN Application Server, you need to create the lwst.jdk.jar file. Assign the JAVA HOME directory for SUN Application Server. Input the C:\Java\jdk16u13 in the preinstall.sh file and press the Ente Sun Application Server..
################################################### Step 3. Type JAVA Home Directory ################################################### Input [JAVA_HOME] which is used for JavaApplicationServer : C:\Java\jdk16u13 C:\Java\jdk16u13 is set as JAVA_HOME "Creating lwst.jdk.jar..." "LWST build success"
139
4. The native library is used to collect the system CPU and memory information from the Jennfier agent. You must find the native library file suitable for the system, and test it. If the -d64 Java option of JBoss is used, enter y and press the enter key. Otherwise, just press the Enter key..
################################################### Step 4. JENNIFER NATIVE LIBRARY SETTING ################################################## Does your system have 2GB or more MEMORY? (Y/N) : n
5. Now you must set the JENNIFER agent setting files. You need to assign an agent name, and it must be three letters long. The setting file will be named as you wish. For other setting information, press the Enter key. Then the default setting will be
140
used. If you dont want to this working(In case of choosing n), the new setting file is not created. In this case, modify the w11.conf or jennifer.conf file based on the environment and use them.
################################################### Step 5 JENNIFER AGENT CONFIGURATION SETTING ################################################### Do you want to customize agent configuration file ? (Y/N) : y license_filename [ex: c:\jennifer\license.txt] : c:\jennifer\jenniferagent\license.txt agent_name - only 3 char [W11] : A11 logfile [ex: c:\jennifer\logs\W11.log] : c:\jennifer\jenniferagent\A11.log lwst_logfile [ex: c:\jennifer\logs\lwst_W11.log] : c:\jennifer\jenniferagent\lwst_A11.log agent_tcp_port [7750] : udp_server_host [localhost] : 192.168.0.139 server_udp_runtime_port [6901] : server_udp_listen_port [6902] : server_udp_lwst_call_stack_port [6703] : Will you have any option that you need to change? If "Don't", continue to make configuration file. (Y/N)n "Creating A11.conf..." Agent configuration is completed... Please, proceed with Post - Installation tasks [Pre-Installation is finished]
Description
Set the agent name. A combination of Alphabets and numbers. Set the license file path where the license key is stored. Set the JENNIFER agent s log file and path.
141
Option
lwst_logfile udp_server_host
Description
Set the JENNIFER transaction analysis module s (LWST) log file and path. Set the IP address for the JENNIFER server where the JENNIFER agent is installed.
142
2. Enter the following options in the configuration file for SUN Application Server.][
<jvm-options>-Xms128m -Xmx256m</jvm-options> <jvm-options>-Djennifer.config=c:\JenniferAgent\A11.conf</jvm-options> <jvm-options>-Xbootclasspath/ p:c:\JenniferAgent\lwst.boot.jar;c:\JennfierAgent\lwst.jdk.jar</ jvm-options> <jvm-options>-javaagent:c:\JenniferAgent\lwst.javaagent.jar</jvm-options> Warning: For JDK 1.5 or higher used by Sun Application Server, you must add -javaagent:c:\JenniferAgent\lwst.javaagent.jar but don t set this option for the JDK 1.4 or lower).
1. Check whether the JENNIFER agent log is recorded in the designated file. Check the following messages that signify the start of the JENNIFER agent in the log file.
--------------------------------------JENNIFER 4.0.0.2(2008-09-22) started. agent_name=A11 jennifer.config=c:/JenniferAgent/A11.conf agent_tcp_port=7750 udp_server_host=192.168.0.139 ... Omitted... java.library.path= The libjennifer20.dll shared library is loaded successfully. --------------------------------------Notice: .As shown above, if the libjennifer20.so(sl) shared library loaded successfully. message does not appear, refer to [Troubleshotting for Installation].
143
2. Register the vaild license number in the [Properties | License Key Management] menu.
3.See if the cllases loaded in the [ Problem Determination | Utility | Loading Class List] menu appears properly.
144
10
Troubleshooting for Installation
145
- Check if the jennifer.config option exists. Check if the path for the agent setting file is correctly set. -Check if the libjennifer20.so(sl) file is copied into the directory registered in java.library.path.
If the JENNIFER native library is abnormal, then the following message will be shown in the JENNIFER agent log file. In this case, you must select the agent in the [Problem Determination | Utilities | System Env.] menu, and check if the key is assigned to the ava.library.path directory and the libjennifer20.so(sl) file is copied into the directory..
libjennifer20.so(sl) shared library loaded failed: java.lang.UnsatisfiedLinkError: no jennifer20 in java.library.path
If you failed to copy the JENNIFER agents native directory into your pre-installation works, or the message says that you do not have an authority, you can log in as a user who has the authority to copy the directory.
4) Jennifer Native Library Settings. Does Web Application Server run with -d64 option ? [y/n] libjennifer20_linux_32_32.so test success cp: cannot create regular file `/jdk/sun/java15/jre/lib/i386/server/ libjennifer20.so': Permission denied MESSAGE: Check if you have permission at the /jdk/sun/java15/jre/lib/ i386/server directory
146
-->
Notice: Using the udptest.sh command in the JENNIFER agent directory, you can check whether the UDP port is opened properly.
147
148