Laura delli Paoli [https://community.jboss.org/people/lauradp] created the discussion
"Re: Start jBPM Application" To view the discussion, visit: https://community.jboss.org/message/756728#756728 -------------------------------------------------------------- Thanks, Marcelo! My question is about that I need to run the following main to have the application working. When I experienced HornetQ I added the project to the server and it was added to the deploy folder. I'd love (I don't know if it's a nonsense) to have the application starting (e.g. waiting for requests) on server startup. public static final void main(String[] args) throws Exception { startUp(); // load up the knowledge base KnowledgeBase kbase = readKnowledgeBase(); StatefulKnowledgeSession ksession = JBPMHelper.newStatefulKnowledgeSession(kbase); // start a new process instance ksession.startProcess("com.sample.bpmn.hello"); System.out.println("Process started ..."); } -------------------------------------------------------------- Reply to this message by going to Community [https://community.jboss.org/message/756728#756728] Start a new discussion in jBPM at Community [https://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
