Thanks to Kevin Barfield,
Wonderfull job, Kevin!
I hope everyone involved in jBPM world will appreciate your diligence and patience you put into it.
Best regards, Saviola
I had one of my collegues try it out and it works. It's a good document.
Is the sourcode for the example webapp available?
I would be useful for learning.
In which module could i find the source files?
When you download the jBPM starters kit, there is a jbpm directory. This includes the source for jBPM itself, the sample web app, and the websale process.
The sample web app bean source code is located in:
The sample web app front end (jsp) souce code is located in:
The websale process defintion is located in:
Thank you for the patience and responding to these (kind of) questions.
Thanks very much for a helpful document. However, I have run into some problems and I'd like to know if I'm the only one!
First, a simple one: I could not start the jboss server with a simple double-click of run.bat. Instead, I needed to run it manually with arguments. Namely, "run.bat -c jbpm". Without this, the server attempts to start up with the "default" configuration, which does not exist! On my system, this confused things enough that it would not correctly start unless I removed a newly created "default" folder.
More importantly, I have not had any luck creating the new process (last part of the tutorial) with eclipse. I was able to install the graphical designer without problems and it seems to work fairly well. But, after following the quick start guide to the letter, I am unable to deploy the result. The jboss log reports validation errors in the XML.
Initially I got a complaint about the "send item" task not having swimlane assigned (and sure enough, the document does not say to assign one). Then, after fiddling, both with the graphical tool and directly with the XML, I got various other validation complaints.
Again, I'm wondering if I'm the only one to see these problems? Perhaps I've got some mis-matched versions (though all of my downloads have been in the last few days).
Any advice would be appreciated.
I have had similar problems and have had to figure out some of the idiosyncracies such as this: run.bat -c jbpm
It's a solid product that needs some polishing around the edges.
it's a 5 year old JBoss concept which has nothing to do with jBPM. I agree that for some people this needs to be documented, but people who do not figure this out within an hour should not be trusted with implementing this in a production environment.
just my ?0.017
But perhaps the "getting started" document should be correct as opposed to wrong?
I appreciate the comments on the getting started guide, and will make updates if needed. In the case of run.bat, I did not put that into the gettting started guide for this very reason. Instead, the getting started guide refers to the start.bat that correctly uses the jbpm configuration:
Execute the JBoss jBPM engine
Go to the jbpm-server directory and double click on the start.bat. A command window should come up with the jbpm console (Figure 1).
I have seen a couple of validation errors in the Visual Process Designer that are not very clear. This is something we continue to work to improve. You may want to create an even simplier process (start node with task, task node, end node) and get that to work first.
If anyone finds an area where the getting started guide is wrong, please feel free to post here and/or update the wiki.
I am trying the jBPM using the jBPM Getting Started Documentation.
I copied the sample web application folder from \jbpm-starters-kit-3.1\jbpm\src\resources\jbpm.war to TOMCAT_HOME\webapps\ROOT. However, I got the following error:
HTTP Status 404 - /jbpm/faces/login.jsp
Can anyone help? Thanks.