[JBoss jBPM] - Regarding very first example using http://docs.jboss.com/jbp
by prajapati1985
Hi All,
I am following below given tutorial.
http://docs.jboss.com/jbpm/v3/demos/movies/jbpm-overview.htm
Here , once i have deployed the process archive then when i try to access process what i have created like request entry and request evaluation it doenst show any forms as it is showing into the tutorial.
I can only see that process is running i cant see request entry process form to enter details.
Followings are the log.
****************************Start*****************************
14:40:31,531 WARN [JpdlXmlReader] process xml warning: swimlane 'initiator' does not have an assignment
14:40:31,562 WARN [JpdlXmlReader] process parse warning: swimlane 'initiator' does not have an assignment
14:41:01,109 ERROR [STDERR] Aug 5, 2008 2:41:01 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/D:/jbpm-jpdl-suite-3.2.3/jbpm-jpdl-3.2.3/server/server/jbpm/tmp/deploy/tmp57222jbpm-console-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
14:41:01,125 ERROR [STDERR] Aug 5, 2008 2:41:01 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/D:/jbpm-jpdl-suite-3.2.3/jbpm-jpdl-3.2.3/server/server/jbpm/tmp/deploy/tmp57222jbpm-console-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
14:41:01,140 ERROR [STDERR] Aug 5, 2008 2:41:01 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/D:/jbpm-jpdl-suite-3.2.3/jbpm-jpdl-3.2.3/server/server/jbpm/tmp/deploy/tmp57222jbpm-console-exp.war/WEB-INF/lib/jbpm4jsf.jar!/META-INF/tf-compat.taglib.xml
14:41:01,187 ERROR [STDERR] Aug 5, 2008 2:41:01 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/D:/jbpm-jpdl-suite-3.2.3/jbpm-jpdl-3.2.3/server/server/jbpm/tmp/deploy/tmp57222jbpm-console-exp.war/WEB-INF/lib/jbpm4jsf.jar!/META-INF/core.taglib.xml
14:41:01,234 ERROR [STDERR] Aug 5, 2008 2:41:01 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/D:/jbpm-jpdl-suite-3.2.3/jbpm-jpdl-3.2.3/server/server/jbpm/tmp/deploy/tmp57222jbpm-console-exp.war/WEB-INF/lib/gravel.jar!/META-INF/gravel-compat.taglib.xml
14:41:01,296 ERROR [STDERR] Aug 5, 2008 2:41:01 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/D:/jbpm-jpdl-suite-3.2.3/jbpm-jpdl-3.2.3/server/server/jbpm/tmp/deploy/tmp57222jbpm-console-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
14:41:01,312 ERROR [STDERR] Aug 5, 2008 2:41:01 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/D:/jbpm-jpdl-suite-3.2.3/jbpm-jpdl-3.2.3/server/server/jbpm/tmp/deploy/tmp57222jbpm-console-exp.war/WEB-INF/lib/jbpm4jsf.jar!/META-INF/tfl-compat.taglib.xml
14:41:01,312 ERROR [STDERR] Aug 5, 2008 2:41:01 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/D:/jbpm-jpdl-suite-3.2.3/jbpm-jpdl-3.2.3/server/server/jbpm/tmp/deploy/tmp57222jbpm-console-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
14:41:01,328 ERROR [STDERR] Aug 5, 2008 2:41:01 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/D:/jbpm-jpdl-suite-3.2.3/jbpm-jpdl-3.2.3/server/server/jbpm/tmp/deploy/tmp57222jbpm-console-exp.war/WEB-INF/lib/jbpm4jsf.jar!/META-INF/identity.taglib.xml
14:41:01,359 ERROR [STDERR] Aug 5, 2008 2:41:01 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/D:/jbpm-jpdl-suite-3.2.3/jbpm-jpdl-3.2.3/server/server/jbpm/tmp/deploy/tmp57222jbpm-console-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
14:41:01,375 ERROR [STDERR] Aug 5, 2008 2:41:01 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/D:/jbpm-jpdl-suite-3.2.3/jbpm-jpdl-3.2.3/server/server/jbpm/tmp/deploy/tmp57222jbpm-console-exp.war/WEB-INF/lib/gravel.jar!/META-INF/gravel-data.taglib.xml
14:41:01,406 ERROR [STDERR] Aug 5, 2008 2:41:01 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/D:/jbpm-jpdl-suite-3.2.3/jbpm-jpdl-3.2.3/server/server/jbpm/tmp/deploy/tmp57222jbpm-console-exp.war/WEB-INF/lib/jbpm4jsf.jar!/META-INF/tfl.taglib.xml
14:41:01,421 ERROR [STDERR] Aug 5, 2008 2:41:01 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/D:/jbpm-jpdl-suite-3.2.3/jbpm-jpdl-3.2.3/server/server/jbpm/tmp/deploy/tmp57222jbpm-console-exp.war/WEB-INF/lib/gravel.jar!/META-INF/gravel-action.taglib.xml
14:41:01,453 ERROR [STDERR] Aug 5, 2008 2:41:01 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/D:/jbpm-jpdl-suite-3.2.3/jbpm-jpdl-3.2.3/server/server/jbpm/tmp/deploy/tmp57222jbpm-console-exp.war/WEB-INF/lib/jbpm4jsf.jar!/META-INF/tf.taglib.xml
14:41:01,453 ERROR [STDERR] Aug 5, 2008 2:41:01 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/D:/jbpm-jpdl-suite-3.2.3/jbpm-jpdl-3.2.3/server/server/jbpm/tmp/deploy/tmp57222jbpm-console-exp.war/WEB-INF/lib/gravel.jar!/META-INF/gravel-nav.taglib.xml
14:41:01,656 ERROR [STDERR] Aug 5, 2008 2:41:01 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/D:/jbpm-jpdl-suite-3.2.3/jbpm-jpdl-3.2.3/server/server/jbpm/tmp/deploy/tmp57222jbpm-console-exp.war/WEB-INF/lib/gravel.jar!/META-INF/gravel-simple.taglib.xml
14:41:17,828 WARN [ProxyWarnLog] Narrowing proxy to class org.jbpm.graph.node.StartState - this operation breaks ==
14:41:21,750 WARN [ProxyWarnLog] Narrowing proxy to class org.jbpm.graph.node.StartState - this operation breaks ==
14:41:25,875 WARN [ProxyWarnLog] Narrowing proxy to class org.jbpm.graph.node.StartState - this operation breaks ==
14:41:29,390 WARN [ProxyWarnLog] Narrowing proxy to class org.jbpm.graph.node.StartState - this operation breaks ==
****************************End******************************
Can anybody tell me how can i get user interface as shown in tutorial while after deployment of process archive.
Because in my case i can see the center blank and in left i can see Task Summary, View and Actions.
Regards,
prajapati
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4168682#4168682
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4168682
17 years, 8 months
[JBoss jBPM] - process variables out of session
by frantisek.kocun@gmail.com
Hi, I use variables (business objects) in ActionHandler
public class Task_ABC implements ActionHandler{
public void execute(ExecutionContext executionContext) throws Exception {
ContextInstance c = executionContext.getProcessInstance().getContextInstance();
Abc abc= (Abc) c.getVariable("abc");
.... do something ...
executionContext.leaveNode();
}
}
Problem is that this variables are not registered in session, if variable has an association and I use it, I get an exception. But if I have variable class has only primitive attributes (String, BigDecimal..) it works perfectly. Workaround is to declare all association in Hibernate as lazy="false" what I don't want. But really interesting is, that if I change value in variable that it will be stored in db. That means that jbpm will register variables in Hibernate session but later and I don't know when.
I don't use any special workflow configuration. This is snip set from my workflow interface:
public class WorkflowService extends HibernateDaoSupport implements IWorkflowService {
private static JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance();
public void startWorkflow(Workflow workflow, Map<String, Object> variables) {
JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
jbpmContext.setSessionFactory(getSessionFactory());
jbpmContext.setSession(getSession());
try {
ProcessInstance processInstance = jbpmContext.newProcessInstanceForUpdate(workflow.getFullName());
processInstance.getContextInstance().setTransientVariables(variables);
processInstance.signal();
} finally {
jbpmContext.close();
}
}
Thanks
Fero
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4168667#4168667
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4168667
17 years, 8 months
[JBoss jBPM] - Re: reopen a process instance ?
by memius
Well, my problem might be that I don't really see that 'box' ;)
When are you talking about a process ? How far does that go ...
Indeed a dossier is db data ... doing some data processing on that dossier is a process ... So if I understand you correctly, you would put the different kinds of related actions in a process (if they are consecutive, eg.)
And not create a 'big' process where you deal with one dossier until it is finished.
Now ... my problem is ... we have some tasks which are related to a dossier but don't really fit in a process (eg. prepare and send a mail if some trigger occurs). Would you create tiny processes for any of those tasks ? Even if they only contain one task... or would you create task instances at runtime and don't put them in any process... (which might not be very consistent, since in the one case you'll create process variable (eg. dossier id) and in the other you'll have to create task variables for the same data)
Anyway .. just some thoughts... I don't expect to get the only exact answer... but these are just some conceptual thoughts I struggle with.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4168660#4168660
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4168660
17 years, 8 months