Before you enable data collection, complete the following steps:
- Shut down the BEA Server, following the instructions in the product
documentation. You can use the Administration Console or the BEA WebLogic
Administrative utility.
- Modify the BEA application server classpath. To
modify the classpath for all domains, edit the commEnv.cmd (or,
for UNIX operating systems, commEnv.sh)
script file in WebLogic_HOME/common/bin and append the kd4dcagent.jar file
to the WEBLOGIC_CLASSPATH environment variable. For
example:
- On Windows operating
systems, edit the commEnv.cmd script:
set WEBLOGIC_CLASSPATH=
%JAVA_HOME%\lib\tools.jar;...;C:\IBM\ITM\tmaitm6\KD4\lib\kd4dcagent.jar
- On AIX® operating systems,
edit the commEnv.sh script:
WEBLOGIC_CLASSPATH=
"${JAVA_HOME}/lib/tools.jar...
${CLASSPATHSEP}/candle/aix513/d4/KD4/lib/kd4dcagent.jar"
export WEBLOGIC_CLASSPATH
- On Solaris operating systems, edit the commEnv.sh script:
WEBLOGIC_CLASSPATH=
"${JAVA_HOME}/lib/tools.jar...
${CLASSPATHSEP}/candle/sol283/d4/KD4/lib/kd4dcagent.jar"
export WEBLOGIC_CLASSPATH
To modify the Classpath for a specific BEA WebLogic
Server domain, edit the setDomainEnv.cmd or setDomainEnv.sh script,
in the \bin directory for the domain, and prepend
the kd4dcagent.jar file onto the PRE_CLASSPATH environment
variable.
- Start the BEA WebLogic Server, following the instructions in the
product documentation. You can use the Administration Console or the
BEA WebLogic Administrative utility.