ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rafal Perkowski <rafal.p...@gmail.com>
Subject problem with failureHandling
Date Wed, 09 Mar 2011 12:09:16 GMT
Sorry for the previus mail.

I tried to assign retryFor and retryDelay from input variable.

<ext:failureHandling xmlns:ext="http://ode.apache.org/activityRecovery">
	<ext:faultOnFailure>true</ext:faultOnFailure>
	<ext:retryFor>$input.payload/tns:retryNumber</ext:retryFor>
    <ext:retryDelay>$input.payload/tns:retryDelay</ext:retryDelay>
</ext:failureHandling>

Definition of input variable:
<element name="InvokeRequest">
                <complexType>
                    <sequence>
                        <element name="webServiceUrl" type="string" />
                        <element name="applicationId" type="string" />
                        <element name="operationFlag" type="int" />
                        <element name="retryNumber" type="int" />
                        <element name="retryDelay" type="int" />
                    </sequence>
                </complexType>
            </element>

When I deploy this process I get error:
12:55:58,094 ERROR [DeploymentPoller] Deployment of GenericTaskService
failed, aborting for now.
java.lang.NumberFormatException: For input string:
"$input.payload/tns:retryNumber"
	at java.lang.NumberFormatException.forInputString(Unknown Source)
	at java.lang.Integer.parseInt(Unknown Source)
	at java.lang.Integer.parseInt(Unknown Source)
	at org.apache.ode.bpel.compiler.bom.FailureHandling$RetryFor.getValue(FailureHandling.java:54)
	at org.apache.ode.bpel.compiler.bom.FailureHandling.getRetryFor(FailureHandling.java:34)
	at org.apache.ode.bpel.compiler.DefaultActivityGenerator.failureHandlinExtensibilityElement(DefaultActivityGenerator.java:52)
	at org.apache.ode.bpel.compiler.DefaultActivityGenerator.defaultExtensibilityElements(DefaultActivityGenerator.java:41)
	at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:1125)
	at org.apache.ode.bpel.compiler.BpelCompiler.compileScope(BpelCompiler.java:1168)
	at org.apache.ode.bpel.compiler.BpelCompiler.compileSLC(BpelCompiler.java:931)
	at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:907)
	at org.apache.ode.bpel.compiler.SequenceGenerator.compileChildren(SequenceGenerator.java:54)
	at org.apache.ode.bpel.compiler.SequenceGenerator.compile(SequenceGenerator.java:45)
	at org.apache.ode.bpel.compiler.BpelCompiler$7.run(BpelCompiler.java:962)
	at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:1128)
	at org.apache.ode.bpel.compiler.BpelCompiler.compileActivity(BpelCompiler.java:958)
	at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:907)
	at org.apache.ode.bpel.compiler.BpelCompiler$5.run(BpelCompiler.java:761)
	at org.apache.ode.bpel.compiler.BpelCompiler$8.run(BpelCompiler.java:1218)
	at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:1128)
	at org.apache.ode.bpel.compiler.BpelCompiler.compileScope(BpelCompiler.java:1168)
	at org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:741)
	at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:263)
	at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:333)
	at org.apache.ode.store.DeploymentUnitDir$5.run(DeploymentUnitDir.java:204)
	at org.apache.ode.utils.InternPool.runBlock(InternPool.java:57)
	at org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:201)
	at org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:162)
	at org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:204)
	at org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:172)
	at org.apache.ode.axis2.deploy.DeploymentPoller.check(DeploymentPoller.java:160)
	at org.apache.ode.axis2.deploy.DeploymentPoller.access$300(DeploymentPoller.java:60)
	at org.apache.ode.axis2.deploy.DeploymentPoller$PollingThread.run(DeploymentPoller.java:251)

Does somebody know what is the problem?

Thanks,

Rafal

I

Mime
View raw message