To enable WebSphere® CE
applications for data collection, complete the following steps:
- Before enabling the application for data collection, increase
the WebSphere CE JVM maximum
heap size (Xmx) to 256 MB, and the JVM maximum permanent generation
size (MaxPermSize) to 128 MB. You can set these values in the JAVA_OPTS
keyword:
- For supported Windows operating
systems, edit the WASCE_HOME\bin\setenv.bat script
file:
set JAVA_OPTS=-Xms128m -Xmx256m -XX:PermSize=64m -XX:MaxPermSize=128m
"-Djava.endorsed.dirs=%GERONIMO_BASE%/lib/endorsed" %JAVA_OPTS%
- For supported AIX® and Linux operating systems, edit the WASCE_HOME/bin/setenv.sh script
file:
export JAVA_OPTS=-Xms128m -Xmx256m -XX:PermSize=64m -XX:MaxPermSize=128m
-Djava.endorsed.dirs=$GERONIMO_BASE/lib/endorsed %JAVA_OPTS%
- Ensure that the application server is running before enabling
the application for data collection. Follow the procedures in your WebSphere CE documentation
for starting the server.
- (Optional) Run the KD4configDC command using
the –list parameter to create a list of applications
to be enabled with subsequent runs of the KD4configDC command.
- (Optional) Review and manually modify the file (specified by the –file filename argument
specified when you ran the KD4configDC command) containing
the list of applications to be enabled, to exclude those applications
that must not be enabled.
- Run the KD4configDC command again to enable the
applications in the file list, this time not specifying the –list parameter.
As a result of enabling the applications, each Java™ EE services application is redeployed automatically.
- During this process, each Java EE
application is backed up as name.date.hour.min.sec.bak.type (where type is
the file type, such as jar, war,
or ear), and stored in the WASCE_HOME/temp/KD4 directory,
where WASCE_HOME is the location where WebSphere CE is installed.
These
backup files are not automatically removed during the enable or disable
process. You should consider removing them when they are no longer
needed, to conserve available disk storage.