For these people who use Fuse/Servicemix with ODE JBI 1.2 distribution and have 
problems with ODE database.

 

ODE binding component contains Derby database bundled into zip file, and this 
database is extracted while deploying ODE into ServiceMix.

 

So the easiest working solution is to add JNDI entry (jndi.xml) with unzipped 
database path:

  <util:map id="jndiEntries">

(...)

            <entry key="java:comp/env/jdbc/ode">

            <bean class="org.apache.derby.jdbc.EmbeddedDataSource">

                        <property name="databaseName" 
value="../smx/components/OdeBpelEngine/version_1/jpadb"/>

                        <property name="createDatabase" value="create"/>

                        <property name="user" value="sa"/>

            </bean>

            </entry>

(...)

  </util:map>

 

-- 

Regards

Mateusz Nowakowski

 

-----Original Message-----
From: Nowakowski, Mateusz [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 26, 2008 5:39 PM
To: [email protected]
Subject: RE: pb when launching ODE as JBI component in PETALS

 

I have the same issue under Fuse 3.3.0.2 after migrating to ODE 1.2 (from 1.1.1)

 

 

 

-- 

Regards

Mateusz Nowakowski 

 

-----Original Message-----

From: Richard AILLET [mailto:[EMAIL PROTECTED] 

Sent: Friday, August 08, 2008 5:34 PM

To: [email protected]

Subject: RE: pb when launching ODE as JBI component in PETALS

 

 

 

Hi Matthieu,

 

 

 

I have exactly the same problem as Isabelle but I don't understand the

recommendation of Alex.

PEtALS is a standalone JBI implementation (not deployed in an application

server).

I don't see how to configure a datasource in PEtALS ? In a SU/SA ? Other ?

 

Your ideas are welcome. 

 

Regards,

Richard. 

 

regards,

 

Richard

 

-----Message d'origine-----

 

De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de

 

Matthieu Riou Envoyé : 7 août 2008 23:12 À : [email protected];

 

[EMAIL PROTECTED] Objet : Re: pb when launching ODE as JBI

 

component in PETALS

 

 

 

Hi Isabelle,

 

 

 

The following thread might help you:

 

 

 

http://ode.markmail.org/search/?q=petal#query:petal+page:1+mid:j4ck73uttvte3

 

b6m+state:results

 

 

 

Cheers,

 

Matthieu

 

 

 

On Thu, Aug 7, 2008 at 9:16 AM, [EMAIL PROTECTED] <

 

[EMAIL PROTECTED]> wrote:

 

 

 

> I read on the ODE web site that your BPEL engine is fully JBI compliant.

 

> In my project I use PEtALS V2.2 as JBI implementation.

 

> When I deploy the last release version ODE 1.2

 

> (apache-ode-jbi-1.2.zip) on PEtALS, the ODE JBI component installs 

 

> successfully on PEtALS but when I launch it using the PEtALS 

 

> WebConsole, I obtain an exception error TransactionManager (see bellow 

 

> for more details)

 

> 

 

> For information, I use the default configuration of ODE JBI distribution.

 

> 

 

> Any help to go on would be nice...

 

> 

 

> My logs in detail:

 

> ....

 

> [petals.InstallationService]-INFO 2008-08-07 16:12:18,233 Component 

 

> 'OdeBpelEngi ne' succesfully installed

 

> 16:12:22,608 ERROR OdeLifeCycle:178 - Database configuration error.

 

> java.lang.RuntimeException: TransactionManager is not recoverable.

 

>         at

 

> org.apache.ode.il.dbutil.Database.initInternalDb(Database.java:179)

 

>         at

 

> org.apache.ode.il.dbutil.Database.initEmbeddedDb(Database.java:232)

 

>         at

 

> org.apache.ode.il.dbutil.Database.initDataSource(Database.java:147)

 

>         at org.apache.ode.il.dbutil.Database.start(Database.java:99)

 

>         at

 

> org.apache.ode.jbi.OdeLifeCycle.initDataSource(OdeLifeCycle.java:175)

 

> 

 

>         at org.apache.ode.jbi.OdeLifeCycle.init(OdeLifeCycle.java:113)

 

>         at

 

> org.ow2.petals.container.thread.ComponentLifeCycleThread.doTask(Compo

 

> nentLifeCycleThread.java:101)

 

>         at

 

> org.ow2.petals.container.thread.AbstractThread.run(AbstractThread.jav

 

> a:106)

 

> [petals.Container]-SEVERE 2008-08-07 16:12:22,639 

 

> [Installer_OdeBpelEngine] An e xception occured while starting the 

 

> Component 'OdeBpelEngine'

 

> javax.jbi.JBIException: Life cycle exception on INIT

 

>         at

 

> org.ow2.petals.container.thread.ComponentLifeCycleThread.doTask(Compo

 

> nentLifeCycleThread.java:119)

 

>         at

 

> org.ow2.petals.container.thread.AbstractThread.run(AbstractThread.jav

 

> a:106)

 

> Caused by: javax.jbi.JBIException: Database configuration error.

 

>         at

 

> org.apache.ode.jbi.OdeLifeCycle.initDataSource(OdeLifeCycle.java:179)

 

> 

 

>         at org.apache.ode.jbi.OdeLifeCycle.init(OdeLifeCycle.java:113)

 

>         at

 

> org.ow2.petals.container.thread.ComponentLifeCycleThread.doTask(Compo

 

> nentLifeCycleThread.java:101)

 

>         ... 1 more

 

> Caused by: java.lang.RuntimeException: TransactionManager is not 

 

> recoverable.

 

>         at

 

> org.apache.ode.il.dbutil.Database.initInternalDb(Database.java:179)

 

>         at

 

> org.apache.ode.il.dbutil.Database.initEmbeddedDb(Database.java:232)

 

>         at

 

> org.apache.ode.il.dbutil.Database.initDataSource(Database.java:147)

 

>         at org.apache.ode.il.dbutil.Database.start(Database.java:99)

 

>         at

 

> org.apache.ode.jbi.OdeLifeCycle.initDataSource(OdeLifeCycle.java:175)

 

> ....

 

> 

 

> Isabelle

 

> 

 

> 

 

>  Créez votre adresse électronique [EMAIL PROTECTED]

 

>  1 Go d'espace de stockage, anti-spam et anti-virus intégrés.

 

> 

 

 

 

 

 

Reply via email to