An RC 6 when submitting a request to a STAF Java service usually means that the JVM that the Java service (e.g. STAX) is running in has crashed. You need to check the JVM Log for the STAX service to see if there is additional information on the problem. See section "3.1.8 Why am I having problems (such as an RC 6) submitting a request to a Java service?" in the STAF/STAX FAQ at http://staf.sourceforge.net/current/STAFFAQ.htm#d0e1133 for more information.
Sometimes, the JVM can crash due to running out of memory in which case you can increase the maximum heap size for the JVM when registering the STAX service. For example, to increase the maximum heap size to 512M: service STAX library JSTAF execute {STAF/Config/STAFRoot}/services/stax/STAX.jar OPTION JVMName=STAX OPTION J2=-Xmx512m -------------------------------------------------------------- Sharon Lucas IBM Austin, luc...@us.ibm.com (512) 286-7313 or Tieline 363-7313 "Sai Ram Purandhar-B22305" <sairam...@freescale.com> 05/04/2009 07:11 AM To <staf-users@lists.sourceforge.net> cc Subject [staf-users] STAFConnectionProviderException help Hi, I?m getting RC 6 when I try `staf local stax help` In FAQ?s document it was written to check for No. of filehandles opened, but I see there is not difference in the count when the error came and after the STAF is restarted. I?m getting the following error in stafproc.out when executing the XML file: 20090504-17:08:52;115321744;00000100;Caught STAFException in JSTAF.STAFServiceAcceptRequest(), Endpoint: local://local, Service: STAX, Request: execute file /opt/lampp/tmp/STAX.xml test, Exception: STAFConnectionProviderException, Location: /opt/dev/autobuild/build/src/staf/stafif/STAFConnectionProviderInlImpl.cpp(219), Text: STAFConnectionProviderConnect: Error connecting to endpoint: connect() RC=2, Error code: 22 Regards, Sairam ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users
'Purandhar Sairam-B22305'.vcf
Description: Binary data
------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users