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]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
