Tobias Arnold wrote:
Hi all,
I try to run the Hello World BPEL without ant run. It would be nice if I
could run bpel from a sca-contribution on a tuscany node. So I deployed
the resulting sample-helloworld-bpel.jar via the web interface.
This works finde for the other examples but when I try to start the node
here i get the following error (I think I have to give a Database path,
but how do I do that in a sca-contribution?):
<snip>
Tobias,
Yes, unfortunately the ODE BPEL engine requires a database in order to run. If the database isn't
accessible, then you will get the failure that you reported.
So, the next question is how are you making the Tuscany runtime jars available
to your application?
If you look at the BPEL samples like helloworld-bpel, you will find that there is a directory jpadb
under target\test-classes which is created to hold the Derby database used by the ODE engine. You
need to create the equivalent in your configuration.
In the samples, the Derby DB is simply unpacked from a zip called ode-dao-jpa-ojpa-derby - this is a
version with all the required tables created and ready to go. You can use the same database zip
with your application - just put it in a classpath-accessible location on your disk.
Hope this helps,
Yours, Mike.