Disable JIT to Obtain Line Number in Stack Trace
IBM JVM can optimize a Java class. In this case, when an exception's stack trace is printed, you may find there is no line number for some classes. It is diffuclt for you to figure out the problem:
at com.vitria.bpe.runtime.EventUtil.isTimerEvent(Compiled Code)
at com.vitria.bpe.process.states.BPBasicStateImpl.applyRulesRegular(Compiled Code)
at com.vitria.bpe.process.states.BPActionStateImpl.onEntry(Compiled Code)
at com.vitria.bpe.process.states.BPBasicStateImpl.applyPolicy(Compiled Code)
We can disable JVM's JIT feature in following way:
Go to WebSphere's console: Application servers > server1 > Process Definition > Java Virtual Machine
And select the check box of "Disable JIT".
Save the new configuration and restart WebSphere.

0 Comments:
Post a Comment
<< Home