-
1. Re: quickstart bpm_orchestration4
beve Mar 27, 2009 1:57 AM (in response to elwis)Hi,
I've just tried this using the main trunk and don't see any errors.
Can you tell me what version and also the steps you took to test the quickstart?
Regards,
/Daniel -
2. Re: quickstart bpm_orchestration4
elwis Mar 27, 2009 2:49 AM (in response to elwis)Morning Danny
Weird, I'll re-deploy and try again, as far as I remember I only run ant deploy. Will get back to it.. when I'm done debugging the Broker... -
3. Re: quickstart bpm_orchestration4
beve Mar 27, 2009 2:51 AM (in response to elwis)Also so make sure that you deploy the jBPM process with 'ant deployProcess' after deploying the quickstarts .esb archive.
-
4. Re: quickstart bpm_orchestration4
elwis Mar 27, 2009 3:24 AM (in response to elwis)interesting point, could it be that it runs my homemade probably not to functional process that I hacked with the actual .esb file.. guess that could be a reason ;)
can't remember that I did two deploys .. I'll better try that -
5. Re: quickstart bpm_orchestration4
elwis Mar 27, 2009 4:53 AM (in response to elwis)Nopes, no luck.
I removed the old deploy in my jbossesb-server-4.5.GA and started all over.
ant deploy
ant deployProcess
ant startProcess
When viewing my task I see that the order is not split up in the different input fields, theres only the entireOrder and I can't save since there no such thing as entireORder as object.
Guess smooks is unemployed here? -
6. Re: quickstart bpm_orchestration4
elwis Mar 27, 2009 5:28 AM (in response to elwis)I don't need to do any manual magic to get groovy work inside the ESB, do I?
-
7. Re: quickstart bpm_orchestration4
beve Mar 27, 2009 5:33 AM (in response to elwis)I've gone through the ReadMe.pdf for this quickstart and followed the instructions there and the output matches it.
Are you still getting:"Error completing task: An exception of type "org.jbpm.graph.def.DelegationException" was thrown. The message is: unable to resolve property: entireCustomerAsObject"
I've been using the code base in main trunk. Are building from trunk or are you using a 4.5 download? -
8. Re: quickstart bpm_orchestration4
beve Mar 27, 2009 5:36 AM (in response to elwis)I don't need to do any manual magic to get groovy work inside the ESB, do I?
Take a look at the "scripting_groovy" quickstart for an example of using groovy. -
9. Re: quickstart bpm_orchestration4
elwis Mar 27, 2009 5:46 AM (in response to elwis)yep,
Error
Error completing task: An exception of type "org.jbpm.graph.def.DelegationException" was thrown. The message is: unable to resolve property: entireCustomerAsObject
I'm watching the log and it says
09:47:33,878 INFO [STDOUT] == Begin Intake Service ==
09:47:33,878 INFO [STDOUT] DEFAULT: <Order orderId="2" orderDate="Wed Nov 15 13:45:28 EST 2006" statusCode="0"
netAmount="59.97" totalAmount="64.92" tax="4.95">
<Customer userName="user1" firstName="Rex" lastName="Myers" state="SD"/>
<OrderLines>
<OrderLine position="1" quantity="1">
<Product productId="364" title="Superman Returns" price="29.98"/>
</OrderLine>
<OrderLine position="2" quantity="1">
<Product productId="299" title="Pulp Fiction" price="29.99"/>
</OrderLine>
</OrderLines>
</Order>
09:47:33,878 INFO [STDOUT] == End Intake Service ==
So its running ...
No, about groovy, I just thought maybe the groovy actions in the example didn't work if I didn't do some magic wand trick first ;)
Maybe I should just reinstall everything, seem weird if it works for you. -
10. Re: quickstart bpm_orchestration4
elwis Mar 31, 2009 3:26 AM (in response to elwis)Nopes.
A brand new JBoss in my XP still doesn't make this example run.
Are there any other good examples to show off to make my colleagues get a hint about the tools available?
Regards -
11. Re: quickstart bpm_orchestration4
elwis Apr 1, 2009 1:24 PM (in response to elwis)This error had a solution.
It turns out it depends on the locale of the machine running the example.
To fix it I had to add the following decoding in my transforms files
<jb:value property="orderDate" data="Order/@orderDate" decoder="Calendar">
<jb:decodeParam name="format">EEE MMM dd HH:mm:ss z yyyy</jb:decodeParam>
<jb:decodeParam name="locale-language">en</jb:decodeParam>
<jb:decodeParam name="locale-country">US</jb:decodeParam>
</jb:value>