-
1. Re: Problems with jbpm-console
kukeltje Feb 16, 2010 4:28 PM (in response to landdelses)Regarding your first question, the error is correct... there probably is no image then... Check the deployments to see if there is.
The console versions:
1st is the new jBPM 4 GWT console
2nd is the old jBPM 3 JSF console
-
2. Re: Problems with jbpm-console
landdelses Feb 16, 2010 5:06 PM (in response to kukeltje)Thanks for your answer Ronald, in fact I don't have any image on it, just that i don't know how put the image on the deployment, I think the image that generates the eclipse plugin?.
I did the jpdl.xml whit eclipse, it generates the xml and one image, then I pass only the xml to netbeans and make the demo project, now I don't know how could I put that image and where.
Is there any guide, manual or something about the jbpm-console?
The deployment I did it whit code or how could I do this?
Thank you so much for your answer.
-
3. Re: Problems with jbpm-console
kukeltje Feb 16, 2010 5:21 PM (in response to landdelses)1 of 1 people found this helpfulRames,
You seem like a nice guy, so I will not use STFI or even 'google is your friend', but it realy is very easy to use a searchengine to find answers....
http://www.google.com/search?q=jbpm4+deployment+image
And use e.g. the first link.....
-
4. Re: Problems with jbpm-console
landdelses Feb 17, 2010 11:07 AM (in response to kukeltje)Thanks a lot for the answers Ronald, ok the code for deploy the image is this:
NewDeplyment deploy = repositoryService.createDeployment().addResourceFromClasspath("example.jpdl.xml");
deploy.addResourceFromClasspath("example.png");
deploy.deploy();
Thats all, very easy
Some times I need a scolding, sorry for my questions and again thanks for the answers.
-
5. Re: Problems with jbpm-console
wir33658 Mar 4, 2010 4:34 AM (in response to landdelses)Hi,
had the same problems and used this and it worked.
At the end of my code I also use
repositoryService.deleteDeploymentCascade(deploymentId);
to even delete the previous deployment.
But when I change the jPDL-File (and accordingly the Image by saving it in Eclipse) and do the deployment again, the old image shows up when I press the diagram-button in the jbpm-console (I started a new process).
I checked the DB and it seems as the new image was even deployed (JBPM4_LOB column).
Any idea what the problem might be ?
Cheers, Rob.