Hi Sharon,
Thanks for all the help. You were exactly right. We are getting an error
in the stafproc window (below). Where would the server's named pipe be
located? How is that set?
20120626-17:19:41;140;00000100;Caught STAFException in
JSTAF.STAFServiceAcceptRe
quest(), Endpoint: local://local, Service: STAX, Request: EXECUTE FILE
D:\work\S
taf_Trunk_XPS_ECN_BRD_CLT_Swabra_Test\stafTests\stax-script-runner.xml
MACHINE l
ocal FUNCTION main ARGS
'./TestSuite/KP/KP_ECN4_Abort01_Long_Shuffle.properties'
JOBNAME KP_ECN4_Abort01_Long_Shuffle WAIT 900000 CLEARLOGS Enabled,
Exception:
STAFConnectionProviderException, Location:
c:\dev\autobuild\build\src\staf\stafi
f\STAFConnectionProviderInlImpl.cpp(219), Text:
STAFConnectionProviderConnect: T
here is no STAFProc instance running with
STAF_INSTANCE_NAME=STAFJSTAF_STAFJVM1
on the local machine. Verify that STAFProc is running and set this
environment v
ariable to the value that STAFProc is using. Could not connect to the
server nam
ed pipe, osRC=2, Error code: 10
-T
On Mon, Jun 25, 2012 at 7:21 AM, Sharon Lucas <luc...@us.ibm.com> wrote:
> See the answer for question "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#d0e1179.
> If you are having a problem accessing a Java service, such as getting an
> RC 6 for any request you make to a Java service, the Java service's JVM may
> have encountered an error or may have been killed. Check the Java service's
> JVM log to see if any errors were logged. The JVM logs are stored in the
> {STAF/DataDir}/lang/java/jvm/<JVMName> directory on the system where the
> Java service is registered. The current JVM log is named JVMLog.1.
>
> If the JVM log contains an OutOfMemory error, any Java services using this
> JVM will have to be removed and added (registered) in order to start
> accepting requests. You may want to look at increasing the JVM's maximum
> heap size as the Java service(s) using this JVM may require more memory
> than can be allocated. Refer to the STAF User's Guide, section "4.4.3 JSTAF
> service proxy library", for more information on how to do this.
>
>
> See the answer for question "4.1.8 Why is the STAX JVM crashing with a
> java.lang.OutOfMemoryError logged in the STAX JVM log?" at
> http://staf.sourceforge.net/current/STAFFAQ.htm#d0e2332 for more
> information on tuning the JVM by increasing its maximum heap size.
>
> --------------------------------------------------------------
> Sharon Lucas
> IBM Austin, luc...@us.ibm.com
> (512) 286-7313 or Tieline 363-7313
>
>
>
>
> From: Tennis Smith <tennis_sm...@yahoo.com>
> To: staf-users@lists.sourceforge.net,
> Date: 06/24/2012 10:42 AM
> Subject: [staf-users] Getting Staf RC=6
> ------------------------------
>
>
>
> Hi,
>
> I'm setting several RC=6 (unknown errors) on job submissions. Here is a
> partial extract a log(below). We are running staf version 3.4.1. The tests
> are submitted via ant. Ant is called with the '-verbose' option, so there
> is quite a bit of extra data.
>
> What traces should I turn on to help debug the rc=6?
>
> THanks,
> -T
>
>
>
> [08:17:23]: [echo] ##teamcity[buildStatus text='Test 1 of 7 - passed:0
> incomplete:0 failed:0']
> [08:17:23]: [DoExecuteStaxJob] property
> [08:17:23]: [property] Setting project property: CommandRun -> local STAX
> EXECUTE FILE
> D:\work\Staf_Trunk_XPS_ECN_BRD_CLT\stafTests\stax-script-runner.xml MACHINE
> local FUNCTION main ARGS
> "'./TestSuite/ECN4/Basic_Workflow_PDS_SPOS_All.properties'" JOBNAME
> "Basic_Workflow_PDS_SPOS_All" WAIT 300000 CLEARLOGS Enabled
> [08:17:23]: [DoExecuteStaxJob] echo
> *[08:17:23]: [echo] COMMAND RUN: local STAX EXECUTE FILE
> D:\work\Staf_Trunk_XPS_ECN_BRD_CLT\stafTests\stax-script-runner.xml MACHINE
> local FUNCTION main ARGS
> "'./TestSuite/ECN4/Basic_Workflow_PDS_SPOS_All.properties'" JOBNAME
> "Basic_Workflow_PDS_SPOS_All" WAIT 300000 CLEARLOGS Enabled*
> [08:17:23]: [DoExecuteStaxJob] Class org.apache.tools.ant.taskdefs.Java
> loaded from parent loader (parentFirst)
> [08:17:23]: [DoExecuteStaxJob] Class
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTask loaded from parent
> loader (parentFirst)
> [08:17:23]: [DoExecuteStaxJob] Finding class
> org.codehaus.groovy.ant.GroovycTask
> [08:17:23]: [DoExecuteStaxJob] stopwatch
> [08:17:23]: [stopwatch] Class java.lang.String loaded from parent loader
> (parentFirst)
> [08:17:23]: [stopwatch] Finding class net.sf.antcontrib.perf.StopWatch
> [08:17:23]: [stopwatch] Loaded from
> D:\work\Staf_Trunk_XPS_ECN_BRD_CLT\stafTests\jars\ant-contrib.jar
> net/sf/antcontrib/perf/StopWatch.class
> [08:17:23]: [stopwatch] Class net.sf.antcontrib.perf.StopWatch loaded from
> ant loader (parentFirst)
> [08:17:23]: [stopwatch] Class java.lang.System loaded from parent loader
> (parentFirst)
> [08:17:23]: [stopwatch] Finding class org.codehaus.groovy.ant.GroovycTask
> [08:17:23]: [DoExecuteStaxJob] exec
> [08:17:23]: [exec] Execute:Java13CommandLauncher: Executing 'staf.exe'
> with arguments: 'local' 'STAX' 'EXECUTE' 'FILE'
> 'D:\work\Staf_Trunk_XPS_ECN_BRD_CLT\stafTests\stax-script-runner.xml'
> 'MACHINE' 'local' 'FUNCTION' 'main' 'ARGS'
> ''./TestSuite/ECN4/Basic_Workflow_PDS_SPOS_All.properties'' 'JOBNAME'
> 'Basic_Workflow_PDS_SPOS_All' 'WAIT' '300000' 'CLEARLOGS' 'Enabled' The '
> characters around the executable and arguments are not part of the command.
> [08:17:23]: [exec] Error submitting request, RC: 6
> [08:17:24]: [exec] Setting project property: result.out -> 6
> [08:17:24]: [exec] Result: 6
> [08:17:24]: [DoExecuteStaxJob] Class org.apache.tools.ant.taskdefs.Java
> loaded from parent loader (parentFirst)
> [08:17:24]: [DoExecuteStaxJob] Class
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTask loaded from parent
> loader (parentFirst)
> [08:17:24]: [DoExecuteStaxJob] Finding class
> org.codehaus.groovy.ant.GroovycTask
> [08:17:24]: [DoExecuteStaxJob] stopwatch
> [08:17:24]: [stopwatch] Class java.lang.StringBuffer loaded from parent
> loader (parentFirst)
> [08:17:24]: [stopwatch] [test.timer: 0.949 sec]
> [08:17:24]: [stopwatch] Class org.apache.tools.ant.Project loaded from
> parent loader (parentFirst)
> [08:17:24]: [stopwatch] Setting project property: test.timer -> 0.949 sec
> [08:17:24]: [stopwatch] Finding class org.codehaus.groovy.ant.GroovycTask
> [08:17:24]: [DoExecuteStaxJob] tstamp
> [08:17:24]: [tstamp] Setting project property: test.end.time ->
> 2012-06-24T08:17:24.173
>
>
> --
> Tks,
> -Tennis
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> staf-users mailing list
> staf-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/staf-users
>
>
--
Tks,
-Tennis
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users