Kbase P13053: StackOverflowError on SCO Unixware with WebSpeed 3.1C
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  1/15/2004 |
|
Status: Verified
FACT(s) (Environment):
WebSpeed 3.1C
FACT(s) (Environment):
SCO UnixWare 7.1.1
SYMPTOM(s):
Agent hangs in STARTING
WS broker hangs
Error 8419 and java stack found in the ws broker log
Unhandled exception caught in <threadName>. (8419)
Java.lang.StackOverflowError
at Java.lang.Integer.toString(Integer.java, Compiled Code)
at java.lang.Integer.toString(Integer.java, Compiled Code)
at java.lang.String.valueOf(String.java, Compiled Code)
at java.lang.StringBuffer.append(StringBuffer.java, Compiled Code)
at com.progress.ubroker.broker.ubServerThread.pollServerIPCMsg(ubServerThread.java, Compiled Code)
at com.progress.ubroker.broker.ubServerThread.getQueueEvent(ubServerThread.java, Compiled Code)
at com.progress.ubroker.broker.ubServerThread.solicitEvent(ubServerThread.java, Compiled Code)
at com.progress.ubroker.broker.ubServerThread.mainline(ubServerThread.java, Compiled Code)
com.progress.ubroker.broker.ubServerThread.run(ubServerThread.java, Compiled Code)
No errors or exceptions present in any other logs
Using Java 1.2.2
Requested SCO patches ptf7410, ptf7631, ptf7715 installed
AdminServer and WS broker starts okay
wtbman -i <brokername> -stop will not stop the broker
Broker must be killed to recover
CAUSE:
Problem related to JIT and native thread in Java
FIX:
Disable JIT and native thread.
The Steps to disable both JIT and native thread are as follows:
1) To disable JIT, set environment variable JAVA_COMPILER to nothing prior to starting admin server
2) To disable native thread, comment out THREAD_FLAG line for UnixWare in java_env. "UnixWare") # UnixWare we ship No jdk, jre # THREADS_FLAG=native