Sandip Bhoi [
http://community.jboss.org/people/sandip.bhoi] created the discussion
"Re: Growing NioProcessor Thread Number in Human Tasks"
To view the discussion, visit:
http://community.jboss.org/message/638395#638395
--------------------------------------------------------------
Hi Demian,
It is throwing at following highlighted line session = factory.createSession();
And Cause as NoSuchErrorMethod.
Also I am using jbpm-human-task-5.1.0. version of jar.
http://community.jboss.org/servlet/JiveServlet/showImage/2-638395-17361/C...
http://community.jboss.org/servlet/JiveServlet/downloadImage/2-638395-173...
public boolean connect() {
if (session != null && !session.isClosed()) {
throw new IllegalStateException("Already connected. Disconnect
first.");
}
try {
Map<String, Object> connectionParams = new HashMap<String,
Object>();
if (address==null) {
address = "127.0.0.1";
}
if (port==null) {
port = 5445;
}
connectionParams.put(TransportConstants.PORT_PROP_NAME, port);
connectionParams.put(TransportConstants.HOST_PROP_NAME, address);
TransportConfiguration transportConfiguration = new
TransportConfiguration(NettyConnectorFactory.class.getCanonicalName(), connectionParams);
ClientSessionFactory factory =
HornetQClient.createClientSessionFactory(transportConfiguration);
session = factory.createSession();
producer =
session.createProducer(HornetQTaskServer.SERVER_TASK_COMMANDS_QUEUE);
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/638395#638395]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]