The JVM may have crashed due to running out of memory (or it could have 
died due to a problem in the JVM).  Did you look to see if a system core 
file (e.g. with filename core* or core*.dmp) was created (probably in the 
directly from which STAFProc was started) and/or a javacore*.txt file was 
created when the JVM crashed.  Javacore*.txt files are readable text files 
containing thread dumps.  Note that these files get created when a JVM 
crashed (depending on the system's configuration) and that that these 
files tend to be quite large, depending on the JVM's heap settings.. 

Did you increase the maximum heap size when you configured the STAX 
service?  If not, you should try increasing it in case the JVM ran out of 
memory.  For example, the following sets the maximum heap size for the JVM 
that the STAX service runs in to 1024m:

SERVICE STAX  LIBRARY JSTAF EXECUTE {STAF/Config/STAFRoot}\lib\STAX.jar \
              OPTION JVMName=STAX OPTION J2=-Xmx1024m

You can also enable JVM debugging options if you wanted using the the J2 
option when configuring the STAX service.

Note that the information in the STAFProc console are errors that occur 
when you submit a request to a STAF Java service that is running in the 
JVM that as crashed.

--------------------------------------------------------------
Sharon Lucas
IBM Austin,   luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313




Strösser, Bodo <bodo.stroes...@ts.fujitsu.com> 
07/22/2009 11:47 AM

To
"'staf-users@lists.sourceforge.net'" <staf-users@lists.sourceforge.net>
cc

Subject
[staf-users] STAX-Service gives RC: 6






Hi,
 
yesterday I installed and started STAF/STAX (3.3.4 / 3.3.7) on a Linux 
32bit.
Java is Sun 1.6.0_14.
 
After a few hours, STAX does no longer work:
 
# staf local service list
Response
--------
Name      Library    Executable
--------- ---------- -------------------------------------------
DELAY     <Internal> <None>
DIAG      <Internal> <None>
ECHO      <Internal> <None>
EVENT     JSTAF      /usr/local/staf/services/stax/STAFEvent.jar
FS        <Internal> <None>
HANDLE    <Internal> <None>
HELP      <Internal> <None>
LIFECYCLE <Internal> <None>
LOG       STAFLog    <None>
MISC      <Internal> <None>
MONITOR   STAFMon    <None>
PING      <Internal> <None>
PROCESS   <Internal> <None>
QUEUE     <Internal> <None>
SEM       <Internal> <None>
SERVICE   <Internal> <None>
SHUTDOWN  <Internal> <None>
STAX      JSTAF      /usr/local/staf/services/stax/STAX.jar
TRACE     <Internal> <None>
TRUST     <Internal> <None>
VAR       <Internal> <None>
 
# staf local stax help
Error submitting request, RC: 6
When doing "ps -ef | grep -i staf", the JVM is gone.
 
/usr/local/staf/data/STAF/lang/java/jvm/STAFJVM1/JVMLog.1 doesn't
contain any error messages.
 
Maybe, there is a problem regarding this JRE, as another Machine
running the same STAF/STAX, but Java 1.6.0_12 doesn't show this
problem. But it is another linux version also.
 
What can I do to get debug info?
 
Regards, Bodo 
------------------------------------------------------------------------------
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

------------------------------------------------------------------------------
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to