Sorry I meant the work directory. I'm leaning toward an hibernate bug possibly tangled with a xerces incompatibility. Two things that you can try:
1. How does it work with OpenJPA instead of Hibernate? 2. Try to replace the hibernate jar with 3.2.5ga Cheers, Matthieu On 8/8/07, Eduardo Burgos <[EMAIL PROTECTED]> wrote: > > Yes, it is random but now It's getting biased towards not working. Whats > the work directory? I usually delete my /data directory in servicemix. > Sometimes I get this error, then I shutdown servicemix and back again and it > may work :( > > > > On 8/7/07, Matthieu Riou <[EMAIL PROTECTED]> wrote: > > > > Is it completely random (i.e. restart without changing anything and > > works)? > > Does it works once you remove your 'work' directory? > > > > Thanks, > > Matthieu > > > > On 8/7/07, Eduardo Burgos < [EMAIL PROTECTED]> wrote: > > > > > > Hi, > > > > > > Recently I seem to get this everytime I try to start ode with > > servicemix, > > > it > > > being a new install or not. > > > > > > Any ideas? > > > > > > > > > > > > WARN - AutoDeploymentService - Directory: install: Automatic > > > install of /build/target/build-1.0-SNAPSHOT/install/ode- > > > jbi-1.1-RC1-SNAPSHOT.zip failed > > > javax.jbi.management.DeploymentException : Failed to update Component: > > > OdeBpelEngine > > > at > > > > > org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive( > > > AutoDeploymentService.java:286) > > > at > > > > > org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory > > > ( > > > AutoDeploymentService.java:639) > > > at > > > org.apache.servicemix.jbi.framework.AutoDeploymentService.access$200( > > > AutoDeploymentService.java:61) > > > at > > org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run > > > ( > > > AutoDeploymentService.java:599) > > > at java.util.TimerThread.mainLoop(Timer.java:512) > > > at java.util.TimerThread.run(Timer.java:462) > > > Caused by: javax.persistence.PersistenceException : invalid > > persistence.xml > > > at org.hibernate.ejb.packaging.PersistenceXmlLoader.loadURL( > > > PersistenceXmlLoader.java:72) > > > at org.hibernate.ejb.packaging.PersistenceXmlLoader.deploy( > > > PersistenceXmlLoader.java:79) > > > at org.hibernate.ejb.Ejb3Configuration.configure( > > > Ejb3Configuration.java:212) > > > at > > > org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory > > > (HibernatePersistence.java:120) > > > at javax.persistence.Persistence.createEntityManagerFactory( > > > Persistence.java:83) > > > at org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl.init ( > > > BPELDAOConnectionFactoryImpl.java:108) > > > at org.apache.ode.il.dbutil.Database.createDaoCF(Database.java > > > :267) > > > at org.apache.ode.jbi.OdeLifeCycle.initDao(OdeLifeCycle.java:235) > > > > > at org.apache.ode.jbi.OdeLifeCycle.init(OdeLifeCycle.java:110) > > > 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:275) > > > ... 5 more > > > Caused by: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the > > > declaration of element 'persistence'. > > > at > > > org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException > > (Unknown > > > Source) > > > at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown > > > Source) > > > at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown > > > Source) > > > at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown > > > Source) > > > at > > org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement > > > (Unknown > > > Source) > > > at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement > > > (Unknown > > > Source) > > > at > > > org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement > > (Unknown > > > Source) > > > at > > > > > > > > org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook > > > (Unknown > > > Source) > > > at > > > > > > > > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch > > > (Unknown > > > Source) > > > at > > > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown > > > Source) > > > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown > > > Source) > > > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown > > > Source) > > > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > > > at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) > > > at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown > > > Source) > > > at org.hibernate.ejb.packaging.PersistenceXmlLoader.loadURL( > > > PersistenceXmlLoader.java:70) > > > ... 18 more > > > > > > >
