ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eduardo Burgos" <ebur...@gmail.com>
Subject invalid persistence.xml?
Date Tue, 07 Aug 2007 20:56:07 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message