Hello!

I created a new project in my Eclipse. There I created processes and I created 
there my WebContent with JSP files. I deployed everything on the jBoss jBPM 
Server.
Now I want to start the deployed process from this JSP file.
To do this I created a method in my jsp like this:
public void startHelloWorldProcess() {
  |     
  |       ProcessDefinition processDefinition = 
ProcessDefinition.parseXmlInputStream(new FileInputStream(
  |                                     
"processes/HelloWorld/processdefinition.xml"));
  |       
  |      
  |       ProcessInstance processInstance = 
  |           new ProcessInstance(processDefinition);
  |     
  |       Token token = processInstance.getRootToken();
  |       
  |      
  |       token.signal();
  |     
  |     }
  | %>
Unfortunately I get an error that the file does not exist 
(FileNotFoundException). 
My directory structure looks like this:
http://farm3.static.flickr.com/2358/2491603347_65c6a37765.jpg?v=0

Thanks for helping!

Alex

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4150754#4150754

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4150754
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to