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&...]