ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan <leutnant....@gmail.com>
Subject Re: Hibernate working in Ode 1.0 / ServiceMix 3.1?
Date Mon, 02 Jul 2007 21:23:35 GMT
Hi Maciej,

I've created ODE-151, and yes, all components (servicemix, ode, hibernate)
were final releases.

Thanks,
Dan

On 7/2/07, Maciej Szefler <mbs@intalio.com> wrote:
>
> Dan,
>
> I can't make out what the problem is off hand. I'll try to reproduce
> it. Can you file a Jira issue to track this? Also just to confirm, you
> are using ODE 1.0 final?
>
> Thanks,
> Maciej
>
>
> On 7/2/07, Dan <leutnant.dan@gmail.com> wrote:
> > Sorry, that should have read:
> >
> > This is the list I've compiled so far, but I must be missing
> something.  The
> > Ode install and PingPong deployment don't generate any
> exceptions.  However,
> > PingPong fails when a request is sent.  The ServiceMix console shows
> > scheduler exceptions (attached).
> >
> >     hibernate3.jar   (3.2.4sp1)
> >     dom4j-1.6.1.jar
> >     cglib-2.1.3.jar
> >     asm-1.5.3.jar
> >     asm-attrs-1.5.3.jar
> >     antlr-2.7.jar
> >     ehcache-1.2.3.jar
> >     junit-3.8.1.jar
> >
> > Thanks,
> > Dan
> >
> >
> > On 7/2/07, Dan < leutnant.dan@gmail.com> wrote:
> > > This is the list I've compiled so far, but I must be missing
> something.
> > The Ode install and PingPong deployment don't generate any exceptions.
> > because PingPong fails when a request is sent.
> > >
> > >     hibernate3.jar
> > >     dom4j-1.6.1.jar
> > >     cglib-2.1.3.jar
> > >     asm-1.5.3.jar
> > >     antlr-2.7.jar
> > >     ehcache-1.2.3.jar
> > >     junit-3.8.1.jar
> > >
> > >
> > >
> > >
> > > On 7/2/07, Matthieu Riou <matthieu.riou@gmail.com> wrote:
> > > > Also don't forget to include Hibernate dependencies. On top of my
> head:
> > > > cglib, dom4j, asm, asm-attrs, antlr, ehcache and maybe a couple more
> > that I
> > > > may have forgotten.
> > > >
> > > > Matthieu
> > > >
> > > > On 7/2/07, Maciej Szefler < mbs@intalio.com> wrote:
> > > > >
> > > > > 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message