oodt-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Verma, Rishi (388J)" <Rishi.Ve...@jpl.nasa.gov>
Subject Shutting down CAS PGE workflow instances
Date Wed, 12 Oct 2011 23:41:49 GMT
Hi all -

I'm trying to stop one of my PGE workflows using the wmgr-client tool and the "--stopWorkflowinst"
argument.

I'm repeatedly getting a NullPointerException after trying to stop a running workflow.

I believe I am using the '--stopWorkflowInst' argument correctly. Has anyone had luck with
shutting down workflow PGE instances using this method?

Thanks!
rishi

-----
$ ./wmgr-client --url http://localhost:9001 --operation --getWorkflowInsts
...
Instance: [id=ed798a3d-f075-11e0-bc2c-21311056edb2, status=CRAWLING, currentTask=urn:oodt:ProteomeLinux,
workflow=ProteomeLinuxWorkflow,wallClockTime=8524.3347,currentTaskWallClockTime=3.2414]
...

$ ./wmgr-client --url http://localhost:9001 --operation --stopWorkflowInst --id ed798a3d-f075-11e0-bc2c-21311056edb2
org.apache.xmlrpc.XmlRpcException: java.lang.Exception: java.lang.NullPointerException
	at org.apache.xmlrpc.XmlRpcClientResponseProcessor.decodeException(XmlRpcClientResponseProcessor.java:104)
	at org.apache.xmlrpc.XmlRpcClientResponseProcessor.decodeResponse(XmlRpcClientResponseProcessor.java:71)
	at org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:73)
	at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:194)
	at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:185)
	at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:178)
	at org.apache.oodt.cas.workflow.system.XmlRpcWorkflowManagerClient.stopWorkflowInstance(XmlRpcWorkflowManagerClient.java:341)
	at org.apache.oodt.cas.workflow.system.XmlRpcWorkflowManagerClient.main(XmlRpcWorkflowManagerClient.java:907)
Exception in thread "main" java.lang.RuntimeException: java.lang.Exception: java.lang.NullPointerException
	at org.apache.oodt.cas.workflow.system.XmlRpcWorkflowManagerClient.main(XmlRpcWorkflowManagerClient.java:913)


Mime
View raw message