ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthieu Riou" <matth...@offthelip.org>
Subject Re: JPADB
Date Fri, 25 Jul 2008 14:13:48 GMT
On Fri, Jul 25, 2008 at 1:36 AM, Dwiputera Aries Fajar (CI/AFR-SG) <
ariesfajar.dwiputera@sg.bosch.com> wrote:

> Hi,
> I am trying to embed ODE to our infrastructure. I got some very lean(I
> guess) implementation from the tuscany SVN.
> However, whenever I tried to execute the EmbeddedODEServer.java, I stuck on
> this line...
> "URL dbLocation = getClass().getClassLoader().getResource("jpadb");
> if (dbLocation == null) {....}"
> My dbLocation is always null, and I have no idea regarding jpadb or
> whatsoever.
> Could u help me with some enlightment here?

With ODE by default we use an embedded database. The default embedded
database is Derby and we pre-generate the schema as part of our build
process so when you first start ODE, everything is ready. Here "jpadb"
refers to the directory in our web application that contains the Derby
database. As you can see it's loaded from the classpath so the only
requirement is to have this directory in your classpath somewhere to have it
picked up.

IIRC correctly the Tuscany test sample downloads the database from one of
our releases in a Maven2 repo and explodes it to run its tests. So you can
probably get this directory from there once the sample has been runned at
least one. Alternatively you can also get a zip there (I think Tuscany still
uses ODE 1.1.1):


Hope this helps,


> Thanks,
> Aries

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message