[rules-users] Error in Drools when clicking "Generate Task Form Template"

Tihomir Surdilovic tsurdilo at redhat.com
Tue Aug 7 18:16:07 EDT 2012


This may not necessarily apply to you but it's worth mentioning - both 
Designer, jBPM Console, and Guvnor assume by default they run on 
localhost:8080. If you have configured one or all to run on a different 
host/port you will have to make configuration changes.
You can find how to do that for Guvnor and Designer here: 
http://docs.jboss.org/jbpm/v5.3/userguide/ch.designer.html#d0e4310
To change this default configuration in console: 
http://docs.jboss.org/jbpm/v5.3/userguide/ch.console.html#d0e4624.
One of the things you can do is make sure that if you are not using the 
default configuration, you make the needed changes and make sure the 
three webapps can talk to eachother properly.

I am not sure what version of jBPM you are using so will assume it is 
5.3.0.Final; jBPM Console looks up available process definitions, and 
process assets first from the classpath, and then it queries Guvnor. So 
the Evaluation process you see console found it on the classpath as it 
is a process that's bundled with the console by default.

When you click on the Processes tab in console, watch the logs closely, 
it should indicate some problems with either 1) it cannot connect to 
Guvnor, 2) It is unable to parse + load the bpmn2 processes, or 3) It is 
not even looking at the right Guvnor package your processes are located 
in (4) some other errors i'm not mentioning here :)) . Either way the 
server logs should be enough to pinpoint a possible issue.

Another thing that you can do is in Guvnor go to the Administration 
section and go to Import/Export and export your repository (it will 
create a .zip file which includes a single .xml file). If you can attach 
this repository xml file here I will be able to possible reproduce the 
issue and help more.

As far as your question about jBPM Console in general. I think it is a 
good tool. It has a lot of nice functionality like a rest api, 
authentication and a nice and easy to understand interface. It does have 
some limitations such as single session management and it's not really 
meant for HA/cluster scenarios..in those cases you could write your own 
front end to it if you wish, or contribute back to what we have now ..up 
to you :)

Hope this helps.
Tihomir
On 8/7/12 6:00 PM, Sadiroveski wrote:
> Dear Tihomir,
>
> Your reply is always helpful. Actually, I didn't add any fact model or Jar
> files to Drools. I didn't reach to this level yet :P What I did on Guvnor is
> simply design the process with variables and forms and build it. But
> suddenly  I found the processes in JBPM console and I started one of them.
> But the bad news now is something unbelievable, I didn't do anything neither
> make any change and the processes are NOT appearing. Why? I don't know, the
> only one that appears now is the evaluation process. So, what is happening?
> sometimes shown and sometimes don't. I tried to refresh many times with no
> hope, also I stop the demo and restart it again, same thing. (JBPM is
> installed on Mysql)
>
> I just want to know if the problem from JBPM-Console or connection to
> drools, and does this happens usually? and does JBPM-Console a good product
> to put it under production environment or it is better to develop another
> web application for this?
>
> Best Regards Tihomir,
>
>
>
>
> --
> View this message in context: http://drools.46999.n3.nabble.com/Re-rules-users-Error-in-Drools-when-clicking-Generate-Task-Form-Template-tp4019041p4019051.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users



More information about the rules-users mailing list