You can get the latest version (remember it is a nightly build) from here: https://hudson.jboss.org/hudson/view/Drools%20jBPM/job/guvnor/lastSuccessfulBuild/artifact/guvnor-distribution/target/guvnor-distribution-5.4.0-SNAPSHOT.zip
Thanks for the quick replies.
I tried adding an EventListener to the checkin button and force the iframe to reload. It does work (although a very fast error about connection problems does appear) but I'm going to try using the 5.4 version to see if I can get a nicer solution.
I just tried the 5.4 version by doing the following:
Undeployed the drools-guvnor.war that was running on jboss
Added the guvnor-5.4.0-SNAPSHOT-jboss-as-7.0.war to the deployment folder and restarted the server.
Created a new BPMN2.0 model, added a start and end event with a task in the midle and saved...the designer refreshed and all the process information was lost...a message in the lower left corner of the designer left pallet said "unable to retrieve process information".
The guvnorEditorObject is now correct but I didn't try the register method because the save isn't working. I assume that there were changings in the rest communication with the repository which made the designer unable to save.
Also noticed that .css error were corrected ....many thanks for the help and time.
If more information about the 5.4 deployment is necessary please do tell.
Well, I think you need to wait until 5.4 Final is out then
Nop...it was my fault ...sorry for that
I need to deploy the .war with the same name otherwise the web context is diferent and the designer will be looking for the repository in the wrong context...sorry ....I'm going to try the register call back.
Thank you so much for all the help...and very very nice work.
Just one more litle thing:
I'm trying to retrieve the package's assets in the repository unsing the REST Api, as it is demonstrated here:
Used the sample from the video.
The problem is I'm getting Error 401 Unauthorized access. If I do it using the browser I have no problems. And if I do it using the browser cookie (Chrome console displays the GET header parameters on connection) I can also retrieve the data but not when my application is the first to initiate the request.
If I use the 5.3 version it works ok...no cookie needed. Can I do something to fix it?
Are you using BASIC authentication when you do the first request?
I'm using the RESTEasy jboss framework to do the REST request and the only header parameters I pass with it are:
- Expects application/json (so I receive the packages' information in json)
- Charset = "UTF-8"
I'm not sending anything else...should I be? Because I can access through the browser just by doing that but not when I do it programaticly.
Again many thanks for the replies.
Managed to do it in the REST that I control...but not when I try to load the bpmn2.0 using the knowledgeBuilder.add....when I do:
I get 401 error and because I don't know how to inject Authorization=Basic username:password in the request controled by the add method I can't correct the error.
Should I go back to the previouse version or is it fixable?
i have the same issue, but i don't understand how to solve it - what do you mean by "I need to deploy the .war with the same name"?
What issue exactly?
When I downloaded the last version of guvnor I had to rename the war so it had the same name as the previous version's war....that's all.
What I couldn't resolve was the issue when loading the bpmn2.0 in the guvnor repository within the jbpm api due to not knowing how to insert authorization when downloading the knowledge base.
i've downloaded guvnor 5.3 stable and installed jbpm web designer 2.0 - couldn't save and afterwards 2.1 - still couldn't save
exactly as the name of this thread - although i am able to create processes, i cannot save anything
why? what's the problem? as there are the first downloaded - installed applications, i suppose it's not the same thing as your problem