[jboss-user] [jBPM] - jBPM 5.3 - TaskClient error

jena74 do-not-reply at jboss.com
Thu May 31 12:35:39 EDT 2012


jena74 [https://community.jboss.org/people/jena74] created the discussion

"jBPM 5.3 - TaskClient error"

To view the discussion, visit: https://community.jboss.org/message/739095#739095

--------------------------------------------------------------
Hello,

I use the TaskClient Java API to connect to the HornetQ human task service started on my laptop.
But, each time, at the exit time of my Java code, I have a strange exception:

Exception in thread "Thread-1" java.lang.RuntimeException: Client Exception with class class org.jbpm.task.service.hornetq.HornetQTaskClientConnector$1 using port 6666
    at org.jbpm.task.service.hornetq.HornetQTaskClientConnector$1.run(HornetQTaskClientConnector.java:127)
    at java.lang.Thread.run(Thread.java:662)
Caused by: HornetQException[errorCode=102 message=Consumer is closed]
    at org.hornetq.core.client.impl.ClientConsumerImpl.checkClosed(ClientConsumerImpl.java:911)
    at org.hornetq.core.client.impl.ClientConsumerImpl.receive(ClientConsumerImpl.java:184)
    at org.hornetq.core.client.impl.ClientConsumerImpl.receive(ClientConsumerImpl.java:401)
    at org.jbpm.task.service.hornetq.HornetQTaskClientConnector$1.run(HornetQTaskClientConnector.java:118)
    ... 1 more

I can not explain what happen, but if I run my test several times, at the end I am no more able to connect to my human task server.

I join the code of my client in attachment.
Does-it mean something for you please?
Thank you.

Jena
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/739095#739095]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120531/180a8929/attachment.html 


More information about the jboss-user mailing list