One more note, I was able to login to console, but I don't see evaluation button from where I can launch editor.
Not sure how I can see the editor, I did get an error when I start up Human task saying:
[java] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
[java] SLF4J: Defaulting to no-operation (NOP) logger implementation
Could this be the reason?
What AS and version are you deploying on?
You should be able to run the editor in standalone mode with:
http://localhost:8080/designer/editor/?profile=default&uuid=xyz (replace xyz with an unique id for your process instance).
When working in standalone mode (outside of Guvnor) note that your processes will be saved onto the file system ($jbossHome/server/$config/deploy/designer.war/WEB-INF/repository/) in json format only.
I just downloaded the new release of 5.0, and try to start the demo, in this case, what is the uuid? I don't have any process defined yet.
BTW, in your 5.0 CR release, I saw there are 3 files are created for the process:
Are you saying with the new release the files created are different?
Thanks for the info.
If you are using the web designer within Guvnor as shown in demo video http://people.redhat.com/kverlaen/install-guvnor-jbpm.swf, you don't have to worry about assigning an unique uuid as Guvnor will do that for you. If you are using web designer standalone then you have to give your process an unique uuid yourself (by setting uuid parameter as shown before).
Guvnor only stores the process bpmn2. If you use web designer in standalone mode, then only the json will be saved.
With this release we are using the latest version of web designer so yes there are some differences from the older versions.
Sorry, I still don't get it, how should I define the process uuid and where the process uuid is stored in Guvnor environment? If you can tell me that, I may be able to borrow the process id from Guvnor. But even if I specify the uuid, will the standalone editor know where to load the process?
I can see the editor inside Gurnor now. But the standalone one shows blank page.
Actually I found the uuid that Gurnor used, but even I used that uuid, the editor still gives me a blank page, I tried both:
http://localhost:8080/designer/editor.html?profile=drools&uuid=7ef4023f-2f14-4c17-a999-78c992b29ffa this is what Gurnor used.
They all return gave me the blank page.
Please check my previous post to see that the URL is different.
OK, got it work as you suggested. thanks.
But I still don't know if the uuid actually useful, the process displayed is totally different than the one inside Gurnor. Can you please tell how the editor picks up the process? does it even talk to the server ?
Can you please explain your usage scenario so I can understand what you are trying to accomplish?
Do you want to use the designer outside of Guvnor, but for the process to be stored within Guvnor? Why not just use the designer in Guvnor?? It acts as a file system even.
We would like to use the editor separate from Gurnor, we have our own web application, will need to launch editor from our application, if we use Gurnor, there will be stuff that we don't need.
So all I wanted is to make the editor work standalone, so it can be part of our application. Do you think that will work?
Hope it makes sense.
Also, I was able to get the earlier release work within IE by using Google Chrome Frame, but with this new release it does not work in IE anymore, gives me the blank page, even I used the same url that works in Chrome.
I really need to make it work cause IE is the only brower that we support.
Currently the only way to do that is to use the "default" profile (http://localhost:8080/designer/editor/?profile=default&uuid=xyz)
and provide the uuid yourself, but again as previously mentioned the "default" profile only saves the process json onto the file system (when you press the save button in the designer toolbar).
Note that "7ef4023f-2f14-4c17-a999-78c992b29ffa" is only really usable for Guvnor, as it is an unique id of the rule asset it created for you and stored in it's JCR repository.
We could create a new profile which would allow you to use designer in standalone mode and still be able to interact with Guvnor. If this is what you need let us know and I will put on todo for near future.
The use case "new-comer" talked about is really frequent one. i am in need to that too actually. I guess providing such profile will be very usefaul.
I would like to know what the preferred way would be in your scenarios to save the process bpmn2? File system or you still desire integration with Guvnor to be the process repository?