KB Article #176027

JVM set verbosely in Integrator; java

Problem

-- how to set JVM to provide verbosely information in log during startup & running ?

Resolution

* this:

ALL:Append '-Xverbose'

should be appended in

$CORE_LOCAL/config/java/jvm.cfg

with these mentions:


1. restart Integrator;

2. Use for limited time in PRODUCTION;

3. This is global settings for all PEs;

4. You may put in $CORE_ROOT/config/java/jvm.cfg but it will be overwritten next time when update/remove with a patch/SP; in $CORE_LOCAL the settings are persistent;

5. In order to activate (and see it how it works in $CORE_DATA/log/starter.log, you have to have at least an object which use/create JVM (JMC, TA with JVM - like JMS, etc).

* output after this setup:



[s45@merlot ~]$ tail -f app/s45/Integrator/data/log/starter.log

jvm_common: INFO: XDK: -Xverbose

jvm_common: INFO: XDK: -Dcom.axway.xib.core.root=/home/s45/app/s45/Integrator

jvm_common: INFO: XDK: -Dcom.axway.xib.core.local=/home/s45/app/s45/Integrator/local

jvm_common: INFO: XDK: -Dlog4j.configuration=file:///home/s45/app/s45/Integrator/config/java/log4j.properties

jvm_common: INFO: XDK: -Dlog4j.configuratorClass=com.axway.integrator.bootstrap.log4j.CustomConfigurator

jvm_common: INFO: XDK: -Djava.endorsed.dirs=:/home/s45/app/s45/Integrator/java/lib/endorsed

jvm_common: INFO: XDK: succeeded to create virtual machine