-
1. Re: Getting error in building package in guvnor
salaboy21 Sep 23, 2011 8:55 AM (in response to hadik)Hi Hardik,
Can you elaborate more on the problem. How are you using the HUman Task Service inside guvnor? what are you trying to achieve. Which version of the project are you using?
Usually when you get that exception is that your process or your rules are bad formed in some way. In this case because the parser says: unable to parse XML, it makes me think that the problem is inside your process.
CHeers
-
2. Re: Getting error in building package in guvnor
hadik Sep 23, 2011 9:13 AM (in response to salaboy21)I have just made a simple HelloWorld application in which I put a human task process which has a {taskName}.ftl file containing only a complete button. Then add {processDefinitionId}-image.png.
Then added png,ftl & bpmn file to guvnor default package.
These steps are same as mentioned in tutorial.
I m using jbpm 5.1.0 final installer, jboss 5.1.0G.A.,Eclipse Helios.
And I am getting this error in guvnor build console.
-
3. Re: Getting error in building package in guvnor
salaboy21 Sep 23, 2011 9:16 AM (in response to hadik)So, your process definition is in someway wrong. You need to check the properties of the included Human Task node in your process and try to see what's wrong. I suggest you to take a look at errors inside the jboss log to find out what the problem is.
Cheers
-
4. Re: Getting error in building package in guvnor
hadik Sep 23, 2011 9:20 AM (in response to salaboy21)ok let's see...
If problem will persist I will post here...
thanks...
-
5. Re: Getting error in building package in guvnor
tsurdilovic Sep 25, 2011 7:39 PM (in response to hadik)Hi Hardik, when you upload a bpmn2 process into guvnor (let's say from your eclipse environment) most of the time the package definition in your process is not "defaultPackage". In order for a process to build in Guvnor, the process "packageName" attribute has to be set to the name of the Guvnor package it is contained in. Here is an example:
...
<process processType="Private" isExecutable="true" id="myProcess" name="My Process" tns:packageName="com.sample" >
...
if you place this process in the Guvnor defaultPackage, you would need to change tns:packageName="defaultPackage".
Hope this helps.
-
6. Re: Getting error in building package in guvnor
hadik Sep 26, 2011 1:59 AM (in response to tsurdilovic)thanks....
That worked for me...
I just changed tns:packageName="defaultPackage" and built it successfully.
Thanks one more time...
-
7. Re: Getting error in building package in guvnor
svinothmca Dec 24, 2012 5:34 AM (in response to hadik)I need to change the package name
Can you please help me where this line is located
----
<process processType="Private" isExecutable="true" id="myProcess" name="My Process" tns:packageName="com.sample" >
------
-
8. Re: Getting error in building package in guvnor
hadik Dec 24, 2012 5:56 AM (in response to svinothmca)Hi,
For eclipse click on the canvas anywhere and go to the properties.
There is a property named package where you have to update it.
HTH.
-
9. Re: Getting error in building package in guvnor
svinothmca Dec 24, 2012 6:05 AM (in response to hadik)Sorry ,
"For eclipse click on the canvas anywhere and go to the properties."
I cant understand this
-
10. Re: Getting error in building package in guvnor
hadik Dec 24, 2012 6:45 AM (in response to svinothmca)Hi,
In eclipse you can click on the blank area. Then go to properties view of eclipse.
HTH.
-
11. Re: Getting error in building package in guvnor
svinothmca Dec 24, 2012 7:47 AM (in response to hadik)Hi,
I searched in the entire eclipse i cant edit the following , So i am not able to build the package.
I have created one jbpm process with human task in the eclipse and i added it to the guvnor repository. under default package
Please help me in this
-
12. Re: Getting error in building package in guvnor
hadik Dec 24, 2012 8:05 AM (in response to svinothmca) -
13. Re: Getting error in building package in guvnor
svinothmca Dec 24, 2012 8:22 AM (in response to svinothmca)Hi,
Thank you so much for your patience.
I can build the package.
I am new to this jbpm . I need to show a small demo on a process with human task on approving the loan with the forms added in the task.I need to run the entire flow
It would be great if you could guide me in this and it will be more helpful to me
Cheers
-
14. Re: Getting error in building package in guvnor
hadik Dec 24, 2012 8:35 AM (in response to svinothmca)Hi,
Yes of cource you can proceed and can post your questions here and I will help you if possible.
HTH.