ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simol <clsim...@yahoo.com>
Subject Re: problem with failureHandling
Date Thu, 17 Mar 2011 20:38:35 GMT

I have also a problem with the "failureHandling" activity. If I use it for
invoking a simple web service it works perfectly, but if I use for invoking
another process, it doesn't work. It completely ignores the activity and
doesn't catch the fault. Do you have any idea what could be the problem?

The error that I see in the log file:

2011-03-17 22:17:12,413 WARN  [org.jboss.ws.tools.wsdl.WSDL11Reader]
(ODEServer-2) UsingAddressing extensibility element not supported yet.
2011-03-17 22:17:12,741 ERROR [org.jboss.ws.core.jaxws.client.DispatchImpl]
(ODEServer-2) Cannot dispatch message
java.io.IOException: Could not transmit message
	at
org.jboss.ws.core.client.HTTPRemotingConnection.invoke(HTTPRemotingConnection.java:265)
...

Waruna Ranasinghe-2 wrote:
> 
> I don't think this is possible yet.
> 
> Thanks,
> Waruna
> 
> On 10 March 2011 13:25, Rafal <rafal.p123@gmail.com> wrote:
> 
>> Does somebody know how I can set ext:retryFor and ext:retryDelay from
>> variable?
>>
>> Thanks,
>>
>> Rafal
>>
>>
>> On Wed, Mar 9, 2011 at 1:09 PM, Rafal Perkowski <rafal.p123@gmail.com>
>> wrote:
>> > 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
>> >
>>
> 
> 
> 
> -- 
> -----------------------------------------------------
> Regards,
> Waruna Ranasinghe
> 
> mob: 0724318285
> blog: http://warunapw.blogspot.com
> twitter: http://twitter.com/warunapww
> http://lk.linkedin.com/in/waruna
> www.facebook.com/waruna.ranasinghe
> 
> 

-- 
View this message in context: http://old.nabble.com/problem-with-failureHandling-tp31105750p31176250.html
Sent from the Apache Ode User mailing list archive at Nabble.com.


Mime
View raw message