Community Edition related query on long running connector
I am new to Bonita BPM and trying a small process with 6.1.1 Community Edition.
I am trying a very simple process with a Service task running a connector which is going to run a long running external activity.
The connector on finish will be setting an output variable which is mapped to a process variable.
The XOR gateway needs to test this process variable value and decide the right course to end the process.
In my case, after ~10secs, the process is ending with 'No task available for this process' message.
If the connector winds up in couple of secs, I can see correct node post XOR gateway checks.
There is no exception or failure in the connector code.
Why the process is behaving like that?
Please guide me if I am missing anything here.
I believe that would be useful if you post a .png image of your process. It's hard to guess what could be happening.
Also, did you took a look at your Engine Log (Help Menu) ? Maybe your connect is failing at some point, so, he do not go to the next step of your process.
Also, you can log on the bonita portal and check if you step just finished or failed.
I guess that the 'Caused by' line is the more useful one. :)
Well, something is happening in your Log file for sure. :)
Can you share it with us?
Hello, I'm facing the same problem and here is the cause:
Caused by: java.net.SocketException: Software caused connection abort: socket write error
It seems the connexion is closed before any answer has been given for the request
Last time I had such a problem, it was one of my variables the problem. I had to use something to convert it first from BigInt to string if I remember well.
Maybe this help a little to search the problem in your log file.
Seems pretty clear to me: The code in your connector (?) is calling a component that makes you network to abort the connection.
Something like that: http://stackoverflow.com/questions/2126607/official-reasons-for-software...
Not sure what your connector does, but the problem is in his code, probably.
Dude... what a Dummy...hehe
Well, I'm not an expert but I'd say to simplify your test. However, if you simplify it too much, maybe it becomes useless for you.
Based on the error, I keep my thought thet is one of the elements of your code that is causing this issue, unfortunatelly I'm not skilled enough to say to you which one. =/
Hope somene else can.
No problem, hope you find the solution.
If any bell rings over here, I'll tell you.
Hi, Has this been resolved? I'm having the same problem with the XOR gateway making a "No task available for this process" instead of redirecting to the right task.
When I have two tasks one after another in the process, they both work fine. If I add the XOR gateway after the first, the first task works and then it says: "No task available for this process".
I'm using bonita 6.2.2