[jboss-user] [jBPM] - Re: TaskClient not connecting

npereira do-not-reply at jboss.com
Fri May 6 05:21:59 EDT 2011


npereira [http://community.jboss.org/people/npereira] created the discussion

"Re: TaskClient not connecting"

To view the discussion, visit: http://community.jboss.org/message/603850#603850

--------------------------------------------------------------
Hi Guys,

I have been going at it for a few days, and I can't quite understand why this issue is happening.
My code is the following: 

+TaskClient client = new TaskClient(new MinaTaskClientConnector("client 1", new MinaTaskClientHandler(SystemEventListenerFactory.getSystemEventListener())));+
+                    if(client.connect("10.50.1.123", 9123))+
+                    {+
+                              BlockingTaskSummaryResponseHandler taskSummaryResponseHandler = new BlockingTaskSummaryResponseHandler();+
+                              client.getTasksAssignedAsPotentialOwner("krisv", "en-UK", taskSummaryResponseHandler);+

+                              List<TaskSummary> tasks = taskSummaryResponseHandler.getResults();+
+ + 

+                    }+
+                    else+
+                              System.out.println("Not connected!!!!!");+

Everytime I try to connect from a different computer I keep gewtting the "Not Connected!!" message.
Did any of you guys have this problem? 

Also I know that for Jboss you have the "./run.sh -b 0.0.0.0" command. Is there any command like this for Human Task Service?

Thanks
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[http://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/20110506/8a6efd2d/attachment.html 


More information about the jboss-user mailing list