[jBPM] - TaskClient not connecting
by npereira
npereira [http://community.jboss.org/people/npereira] created the discussion
"TaskClient not connecting"
To view the discussion, visit: http://community.jboss.org/message/603466#603466
--------------------------------------------------------------
Hi forum,
I have been looking at JBPM5 API and I have a problem connecting to TaskClient from a different server.
So I have my JBPM5.1 server, running.
But from another machine I want to be able to connect to the JBPM5.1 and query the Human Task Service.
Now the problem is that if I query it from localhost or 127.0.0.1, it works fine.
*TaskClient client = new TaskClient(new MinaTaskClientConnector("JBPM Interface", new MinaTaskClientHandler(SystemEventListenerFactory.getSystemEventListener())));*
*client.connect("127.0.0.1", 9123);*
But from another machine, running the same code, from another machine, it says that it cannot connect.
*TaskClient client = new TaskClient(new MinaTaskClientConnector("JBPM Interface", new MinaTaskClientHandler(SystemEventListenerFactory.getSystemEventListener())));*
*client.connect("10.1.5.13", 9123);*
Now I have tried this on diferent machine and the result is the same.
I have read here in the forum that this is possible, even connect multiple machines to the same Human Task Service.
Do I need to be looking at some configuration? (I have the install.demo config)
Regards,
Nelson
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/603466#603466]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 3 months
[jBPM] - Process deployment in jBPM 5
by newuser12
newuser12 [http://community.jboss.org/people/newuser12] created the discussion
"Process deployment in jBPM 5"
To view the discussion, visit: http://community.jboss.org/message/589452#589452
--------------------------------------------------------------
Hi
I am new to jBPM. I have downloaded jBPM5 and installed it as per the procedure given in the Read me file that came with the installaton zip.
Basically, I extracted the zip file and ran the ant start.demo command. The installation completed without any issues and the services did start.
I was able to view the Evalucation process from that came as a part of the demo using Eclipse. Started the process using ProcessTest.java. Was also able to start it and complete the tasks using the jbpm-console.
A few questions -
1) I want to create a new bpmn process and deploy that using Eclipse. I have created the process but am not sure of the deployment procedure. What is the procedure to be followed?
2) How do I add new users and groups to the system?
3) I am not able to open the reports, the attached error is thrown in the jbpm-console. How to I start the report server?
Is there are documentation for beginners?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/589452#589452]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 4 months
[Beginner's Corner] - JBoss 6 Invoker Servlet
by Carlos Oliva
Carlos Oliva [http://community.jboss.org/people/ramboid] created the discussion
"JBoss 6 Invoker Servlet"
To view the discussion, visit: http://community.jboss.org/message/595561#595561
--------------------------------------------------------------
Is there a settign that woudl let my war deploymnets use the invoker servlet. In JBoss5 I was able to use it by editing the context.xml file and addin a mapping in the web.xml of the war. My web.xml looks somehting like this:
<servlet>
<servlet-name>ZZRead XML</servlet-name>
<servlet-class>azzreadxml</servlet-class>
</servlet>
<servlet>
<servlet-name>invoker</servlet-name>
<servlet-class>
org.apache.catalina.servlets.InvokerServlet
</servlet-class>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>invoker</servlet-name>
<url-pattern>/servlet/*</url-pattern>
</servlet-mapping>
</web-app>
When I deploy the war file, I get the following error:
EPLOYMENTS IN ERROR:
Deployment "vfs:///usr/local/jboss-6.0.0.Final/server/default/deploy/obsolete.war" is in error due to the following reason(s): java.lang.ClassNotFoundException: org.apache.catalina.servlets.InvokerServlet from BaseClassLoader@5c393d95{vfs:///usr/local/jboss-6.0.0.Final/server/default/deploy/obsolete.war}
at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1228) [:2.2.0.GA]
at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:905) [:2.2.0.GA]
at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:87) [:6.0.0.Final]
at org.jboss.profileservice.deployment.ProfileDeployerPluginRegistry.checkAllComplete(ProfileDeployerPluginRegistry.java:107) [:0.2.2]
at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:135) [:6.0.0.Final]
at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.Final]
at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]
:-/
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/595561#595561]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 4 months
[jBPM] - rich calender for jbpm task variable not working
by prasad basutkar
prasad basutkar [http://community.jboss.org/people/peterbasutkar%40gmail.com] created the discussion
"rich calender for jbpm task variable not working"
To view the discussion, visit: http://community.jboss.org/message/588699#588699
--------------------------------------------------------------
Hi All
i am using jbpm 3.2.6 and rich faces 3.3.1 in my application i have requirement where i wanted to modify task variable(date field) in jsf and i am using rich calender for that taskVariable in my page like following
<rich:calendar value="#{taskVariableMap['startDate']}" popup="true" datePattern="d/M/yy HH:mm" />
where taskVariableMap is Map which contains variables(context variables) from jbpm database
but when i try to call any action in this jsf page.it is giving following exception
16:45:23,520 ERROR [STDERR] Feb 21, 2011 4:45:23 PM javax.faces.component.UIInput updateModel
java.lang.IllegalArgumentException: Cannot convert 12/12/12 12:00 AM of type class java.util.Date to class java.sql.Timestamp
i try using converter also for Date to Timestamp conversion but still gives same exception.
if i remove this rich calender component then i am not getting any exception and i am able call all the actions in this form
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/588699#588699]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 4 months
[Snowdrop] - JBoss 6 + Snowdrop 2: order of JPA & Spring deployers
by Marcus Ilgner
Marcus Ilgner [http://community.jboss.org/people/milgner] created the discussion
"JBoss 6 + Snowdrop 2: order of JPA & Spring deployers"
To view the discussion, visit: http://community.jboss.org/message/598786#598786
--------------------------------------------------------------
Hello everyone,
I'm trying to run an application in JBoss AS 6 which contains both a persistence.xml which I would like to be started by JBoss, then afterwards a Spring application context is initialized which uses the previously defined persistence unit.
This worked fine in JBoss AS 5.1.0.GA using Snowdrop Spring Deployer from Snowdrop 1.1.0. But when I try to run it in JBoss AS 6.0.0.Final, the spring.deployer runs before the EJB/JPA deployer, resulting in an error because my Spring application cannot find the EntityManagerFactory.
Is there a way to change the order the deployers are started? I found one subject mentioning that there should be some "-service.xml" for the Spring deployer where one could supposedly use some kind of setRelativeOrder statement to influence the deployer chain but as that was referring to JBoss AS 4, I guess it is probably outdated anyway.
All the best
Marcus
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/598786#598786]
Start a new discussion in Snowdrop at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 4 months