Kbase 21742: WebSpeed Broker Error java.lang.StackOverflowError
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  01/02/2002 |
|
SUMMARY:
This Knowledge Base Solution applies to WebSpeed 3.1C on SCO UnixWare 7.1.1. It describes a solution to address a WebSpeed broker hang and WebSpeed agents not starting problem.
EXPLANATION:
With Java 1.2.2 and requested SCO patches ptf7410, ptf7631, ptf7715 installed, AdminServer starts OK, the WebSpeed broker starts OK, but when querying the status, only 1 out of 5 agents has been started. The other agents will remain in starting state forever such that -kill has to be used to shut down the WebSpeed broker. Using -stop on the broker won't shut it down.
The following errors are seen in the WebSpeed broker lg file. There are no other errors in adm server lg file or WebSpeed server lg files and no exceptions files.
S-0001>(Jan 30, 2002 04:01:11:190) Unhandled exception caught in S-0001. (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)
at com.progress.ubroker.broker.ubServerThread.run(ubServerThread.java,
Compiled Code)
S-0005>(Jan 30, 2002 04:01:20:190) Unhandled exception caught in S-0005. (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)
at com.progress.ubroker.broker.ubServerThread.run(ubServerThread.java,
Compiled Code)
SOLUTION:
You have to disable both JIT and native thread.
1) To disable JIT, set environment variable JAVA_COMPILER to nothing
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