ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maciej Szefler" <...@intalio.com>
Subject Re: Hibernate working in Ode 1.0 / ServiceMix 3.1?
Date Mon, 02 Jul 2007 15:08:54 GMT
Dan,

Yeah, META-INF/jbi.xml contains a series of class-path entries. You'd
need to update that.

-mbs

On 7/2/07, Dan <leutnant.dan@gmail.com> wrote:
> Hi,
>
> I've tried including hibernate jars from v3.1.2 and v3.2.4.  Both failed,
> but its that same exception where the jar doesn't seem to be found.  Is
> there a descriptor somewhere that needs to be updated?  I've just been
> putting the hibernate jar in the lib directory and then zipping the jbi
> installer back up.
>
> Thanks,
> Dan
>
> On 6/29/07, Maciej Szefler <mbs@intalio.com> wrote:
> >
> > You will need to manually include the hibernate jars in the jbi
> > installer. These have been removed to comply with Apache licensing.
> >
> > -mbs
> >
> > On 6/28/07, Dan <leutnant.dan@gmail.com> wrote:
> > > I didin't see anything in Jira or any traffic on the list about
> > hibernate.
> > > Yet, I'm getting an exception when I try to use hibernate with Ode 1.0on
> > > ServiceMix 3.1.  I've been using hibernate with a snapshot taken before
> > the
> > > 1.0 release.
> > >
> > > I've uncommented the hibernate lines in ode-jbi.properties...
> > >    ode-jbi.db.emb.name=hibdb
> > >
> > >
> > ode-jbi.dao.factory=org.apache.ode.daohib.bpel.BpelDAOConnectionFactoryImpl
> > >
> > > Have I forgotten a step?
> > >
> > > Servicemix autodeployment error follows...
> > >
> > > INFO  - AutoDeploymentService          - Directory: install: Archive
> > > changed: processing ode-jbi-1.0-HIBERNATE.zip ...
> > > INFO  - ComponentMBeanImpl             - Starting component:
> > OdeBpelEngine
> > > INFO  - ComponentMBeanImpl             - Initializing component:
> > > OdeBpelEngine
> > > ERROR - ComponentMBeanImpl             - Could not start component
> > > java.lang.NoClassDefFoundError: org/hibernate/HibernateException
> > >         at java.lang.Class.forName0(Native Method)
> > >         at java.lang.Class.forName(Class.java:164)
> > >         at org.apache.ode.il.dbutil.Database.createDaoCF(Database.java
> > :258)
> > >         at org.apache.ode.jbi.OdeLifeCycle.initDao(OdeLifeCycle.java
> > :225)
> > >         at org.apache.ode.jbi.OdeLifeCycle.init(OdeLifeCycle.java:101)
> > >         at org.apache.servicemix.jbi.framework.ComponentMBeanImpl.init(
> > > ComponentMBeanImpl.java:201)
> > >         at
> > org.apache.servicemix.jbi.framework.ComponentMBeanImpl.doStart(
> > > ComponentMBeanImpl.java:287)
> > >         at org.apache.servicemix.jbi.framework.ComponentMBeanImpl.start(
> > > ComponentMBeanImpl.java:216)
> > >         at
> > org.apache.servicemix.jbi.framework.InstallationService.install(
> > > InstallationService.java:331)
> > >         at
> > > org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(
> > > AutoDeploymentService.java:276)
> > >         at
> > >
> > org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory
> > (
> > > AutoDeploymentService.java:645)
> > >         at
> > > org.apache.servicemix.jbi.framework.AutoDeploymentService.access$200(
> > > AutoDeploymentService.java:62)
> > >         at
> > org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(
> > > AutoDeploymentService.java:605)
> > >         at java.util.TimerThread.mainLoop(Timer.java:512)
> > >         at java.util.TimerThread.run(Timer.java:462)
> > > Exception in thread "Timer-4" java.lang.NoClassDefFoundError:
> > > org/hibernate/HibernateException
> > >         at java.lang.Class.forName0(Native Method)
> > >         at java.lang.Class.forName(Class.java:164)
> > >         at org.apache.ode.il.dbutil.Database.createDaoCF(Database.java
> > :258)
> > >         at org.apache.ode.jbi.OdeLifeCycle.initDao(OdeLifeCycle.java
> > :225)
> > >         at org.apache.ode.jbi.OdeLifeCycle.init(OdeLifeCycle.java:101)
> > >         at org.apache.servicemix.jbi.framework.ComponentMBeanImpl.init(
> > > ComponentMBeanImpl.java:201)
> > >         at
> > org.apache.servicemix.jbi.framework.ComponentMBeanImpl.doStart(
> > > ComponentMBeanImpl.java:287)
> > >         at org.apache.servicemix.jbi.framework.ComponentMBeanImpl.start(
> > > ComponentMBeanImpl.java:216)
> > >         at
> > org.apache.servicemix.jbi.framework.InstallationService.install(
> > > InstallationService.java:331)
> > >         at
> > > org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(
> > > AutoDeploymentService.java:276)
> > >         at
> > >
> > org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory
> > (
> > > AutoDeploymentService.java:645)
> > >         at
> > > org.apache.servicemix.jbi.framework.AutoDeploymentService.access$200(
> > > AutoDeploymentService.java:62)
> > >         at
> > org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(
> > > AutoDeploymentService.java:605)
> > >         at java.util.TimerThread.mainLoop(Timer.java:512)
> > >         at java.util.TimerThread.run(Timer.java:462)
> > >
> > >
> > > Thanks,
> > > Dan
> > >
> >
>

Mime
View raw message