[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...]
13 years, 2 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...]
13 years, 2 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...]
13 years, 2 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...]
13 years, 2 months
[jBPM] - In memory TaskClient without Mina or JMS
by Gergely Dombi
Gergely Dombi [http://community.jboss.org/people/dombi] created the discussion
"In memory TaskClient without Mina or JMS"
To view the discussion, visit: http://community.jboss.org/message/588721#588721
--------------------------------------------------------------
Hi,
We are evaluating jBPM5 to be the backing workflow engine in our current project.
Previously we have implemented a number of successful projects with the jBPM3 stack.
First impressions with jBPM5 is pretty good however I have some questions about the Human Task management.
My understanding on this topic is, tha it is assumed that the web application and the workflow engine
is two separate applications, thus the client needs to communicate via Socket (Mina) or JMS.
In our application it is not the case (and neither was in my past experience).
We have a single binary web application (distributed as a war file) with the workflow engine, and the
workflow client (the web UI) running in the same VM (same webapp by the way).
Is there a way to implement such a solution that enables the client to manually (that is via API call)
set some process variables, specifiy a transition and signal the engine? I mean, without the
async(-like) mechanism provided by default.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/588721#588721]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 2 months