ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan <leutnant....@gmail.com>
Subject Hibernate working in Ode 1.0 / ServiceMix 3.1?
Date Thu, 28 Jun 2007 18:26:21 GMT
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.0 on
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