You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by Vineesh Thomas <vi...@gmail.com> on 2008/11/19 09:48:43 UTC
Trouble with flows...
Hi,
I am facing some trouble with parallel processing in my BPEL(running ODE on
Tomcat 5.5.x).
I have a flow(flow1) with three sequences (seq1,seq2 & seq3) in it.
My BPEL begins with a receive tag followed by this <flow> tag which has
these 3 <sequences>. In each of these 3 tags I am invoking some other
webservice and then waiting for a callback.
Coming to my problem: Once the BPEL execution starts after receiving the
input request the control goes to the flow. But all three sequences do not
start up simultaneously. Most of the times only 2 out of the 3 sequences
starts up and the external webservice is invoked for them. Only after I
restart the tomcat(without deploying the process) the third sequence gets
activated and its corresponding invoke happens.
Once I didn't restart the tomcat for very long time (around 30-45 minutes)
and then the third sequence got activated and then the rest of the process
continued.
Could someone please explain this behavior. :confused:
Also I'd like to know if there is any upper limit on the number of sequences
one can have in a flow in ODE?
Thanks,
Vineesh.:working:
--
View this message in context: http://www.nabble.com/Trouble-with-flows...-tp20575751p20575751.html
Sent from the Apache Ode Dev mailing list archive at Nabble.com.
Re: Trouble with flows...
Posted by Matthieu Riou <ma...@offthelip.org>.
On Thu, Nov 27, 2008 at 12:06 PM, Vineesh Thomas <vi...@gmail.com> wrote:
>
> Hi,
>
> I tried executing my bpel (with 3 parallel flows) with the latest version
> of
> ODE 1.2. As I mentioned it earlier I am using it as a webapp.
>
> I am consistently getting the following exception :
> "java.lang.RuntimeException: java.lang.IllegalArgumentException: No such
> channel" followed by some id.
> (complete stacktrace attached with the mail)
> http://www.nabble.com/file/p20724657/stacktrace.txt stacktrace.txt
>
I would have to see your process and try to reproduce.
>
> Sometimes I also get a deadlock exception (am using internal derby db). Is
> the usage of an external DB recommended? Also do I need to do any extra
> configurations for the setting up adn using an external DB for ODE instead
> of Derby?
>
Yeah, Derby is intended as a testing database, it makes early
experimentation with ODE easier. But for concurrent use I would definitely
recommend switching to MySQL for example. Derby is just too pessimistic in
its locking to be of any use under even minimal load.
Cheers,
Matthieu
>
> Can you please help me sort this issue.
>
>
> Alex Boisvert-3 wrote:
> >
> > On Thu, Nov 20, 2008 at 8:51 AM, Vineesh Thomas <vi...@gmail.com>
> > wrote:
> >
> >>
> >> Is there any preconfigured thread pool size in ODE ? If so where can I
> >> change
> >> it ? Probably it is because of that.
> >
> >
> > There are 2 important thread pools,
> >
> > 1. your appserver's (which injects request via HTTP, and other
> > transport
> > listeners)
> > 2. the internal scheduler thread pool, configured using the
> > ode-axis2.threads.pool.size property in ode-axis2.properties (default
> > is
> > unbounded)
> >
> > alex
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Trouble-with-flows...-tp20575751p20724657.html
> Sent from the Apache Ode Dev mailing list archive at Nabble.com.
>
>
Re: Trouble with flows...
Posted by Vineesh Thomas <vi...@gmail.com>.
Hi,
I tried executing my bpel (with 3 parallel flows) with the latest version of
ODE 1.2. As I mentioned it earlier I am using it as a webapp.
I am consistently getting the following exception :
"java.lang.RuntimeException: java.lang.IllegalArgumentException: No such
channel" followed by some id.
(complete stacktrace attached with the mail)
http://www.nabble.com/file/p20724657/stacktrace.txt stacktrace.txt
Sometimes I also get a deadlock exception (am using internal derby db). Is
the usage of an external DB recommended? Also do I need to do any extra
configurations for the setting up adn using an external DB for ODE instead
of Derby?
Can you please help me sort this issue.
Alex Boisvert-3 wrote:
>
> On Thu, Nov 20, 2008 at 8:51 AM, Vineesh Thomas <vi...@gmail.com>
> wrote:
>
>>
>> Is there any preconfigured thread pool size in ODE ? If so where can I
>> change
>> it ? Probably it is because of that.
>
>
> There are 2 important thread pools,
>
> 1. your appserver's (which injects request via HTTP, and other
> transport
> listeners)
> 2. the internal scheduler thread pool, configured using the
> ode-axis2.threads.pool.size property in ode-axis2.properties (default
> is
> unbounded)
>
> alex
>
>
--
View this message in context: http://www.nabble.com/Trouble-with-flows...-tp20575751p20724657.html
Sent from the Apache Ode Dev mailing list archive at Nabble.com.
Re: Trouble with flows...
Posted by Alex Boisvert <bo...@intalio.com>.
On Thu, Nov 20, 2008 at 8:51 AM, Vineesh Thomas <vi...@gmail.com> wrote:
>
> Is there any preconfigured thread pool size in ODE ? If so where can I
> change
> it ? Probably it is because of that.
There are 2 important thread pools,
1. your appserver's (which injects request via HTTP, and other transport
listeners)
2. the internal scheduler thread pool, configured using the
ode-axis2.threads.pool.size property in ode-axis2.properties (default is
unbounded)
alex
Re: Trouble with flows...
Posted by Vineesh Thomas <vi...@gmail.com>.
Is there any preconfigured thread pool size in ODE ? If so where can I change
it ? Probably it is because of that.
I ll check these two examples.
My ODE version is 1.1, am using the war.
Thanks,
Vineesh.
Matthieu Riou-5 wrote:
>
> On Wed, Nov 19, 2008 at 12:48 AM, Vineesh Thomas <vi...@gmail.com>
> wrote:
>
>>
>> Hi,
>>
>> I am facing some trouble with parallel processing in my BPEL(running ODE
>> on
>> Tomcat 5.5.x).
>>
>> I have a flow(flow1) with three sequences (seq1,seq2 & seq3) in it.
>>
>> My BPEL begins with a receive tag followed by this <flow> tag which has
>> these 3 <sequences>. In each of these 3 tags I am invoking some other
>> webservice and then waiting for a callback.
>>
>> Coming to my problem: Once the BPEL execution starts after receiving the
>> input request the control goes to the flow. But all three sequences do
>> not
>> start up simultaneously. Most of the times only 2 out of the 3 sequences
>> starts up and the external webservice is invoked for them. Only after I
>> restart the tomcat(without deploying the process) the third sequence gets
>> activated and its corresponding invoke happens.
>>
>> Once I didn't restart the tomcat for very long time (around 30-45
>> minutes)
>> and then the third sequence got activated and then the rest of the
>> process
>> continued.
>>
>> Could someone please explain this behavior. :confused:
>>
>
> It's indeed a strange behavior and I've never witnessed any similar
> problem.
> We do have a few test cases with similar layouts (see [1] and [2]). Did
> you
> try to enable more logs to get a better idea of what happens? Can you tell
> me more about your environment (version of ODE, war or jbi, ...)?
>
>
>>
>> Also I'd like to know if there is any upper limit on the number of
>> sequences
>> one can have in a flow in ODE?
>>
>
> Definitely not, you can have as many sequences as you want.
>
> Matthieu
>
> [1]
> http://svn.apache.org/repos/asf/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity1/TestActivityFlow.bpel
> [2]
> http://svn.apache.org/repos/asf/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowLinks/TestCase.bpel
>
>
>>
>> Thanks,
>> Vineesh.:working:
>> --
>> View this message in context:
>> http://www.nabble.com/Trouble-with-flows...-tp20575751p20575751.html
>> Sent from the Apache Ode Dev mailing list archive at Nabble.com.
>>
>>
>
>
--
View this message in context: http://www.nabble.com/Trouble-with-flows...-tp20575751p20605454.html
Sent from the Apache Ode Dev mailing list archive at Nabble.com.
Re: Trouble with flows...
Posted by Matthieu Riou <ma...@offthelip.org>.
On Wed, Nov 19, 2008 at 12:48 AM, Vineesh Thomas <vi...@gmail.com> wrote:
>
> Hi,
>
> I am facing some trouble with parallel processing in my BPEL(running ODE on
> Tomcat 5.5.x).
>
> I have a flow(flow1) with three sequences (seq1,seq2 & seq3) in it.
>
> My BPEL begins with a receive tag followed by this <flow> tag which has
> these 3 <sequences>. In each of these 3 tags I am invoking some other
> webservice and then waiting for a callback.
>
> Coming to my problem: Once the BPEL execution starts after receiving the
> input request the control goes to the flow. But all three sequences do not
> start up simultaneously. Most of the times only 2 out of the 3 sequences
> starts up and the external webservice is invoked for them. Only after I
> restart the tomcat(without deploying the process) the third sequence gets
> activated and its corresponding invoke happens.
>
> Once I didn't restart the tomcat for very long time (around 30-45 minutes)
> and then the third sequence got activated and then the rest of the process
> continued.
>
> Could someone please explain this behavior. :confused:
>
It's indeed a strange behavior and I've never witnessed any similar problem.
We do have a few test cases with similar layouts (see [1] and [2]). Did you
try to enable more logs to get a better idea of what happens? Can you tell
me more about your environment (version of ODE, war or jbi, ...)?
>
> Also I'd like to know if there is any upper limit on the number of
> sequences
> one can have in a flow in ODE?
>
Definitely not, you can have as many sequences as you want.
Matthieu
[1]
http://svn.apache.org/repos/asf/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowActivity1/TestActivityFlow.bpel
[2]
http://svn.apache.org/repos/asf/ode/trunk/bpel-test/src/test/resources/bpel/2.0/TestFlowLinks/TestCase.bpel
>
> Thanks,
> Vineesh.:working:
> --
> View this message in context:
> http://www.nabble.com/Trouble-with-flows...-tp20575751p20575751.html
> Sent from the Apache Ode Dev mailing list archive at Nabble.com.
>
>