users@glassfish.java.net

Re: Hibernate in GF 2.1.1 vs 2.1

From: Sahoo <Sahoo_at_Sun.COM>
Date: Wed, 25 Nov 2009 10:51:47 +0530

This looks like a mismatch in ASM package. A few things to check:
1. Where do you keep Hibernate and related libraries? Is it in
domain/lib or glassfish/lib or packaged with the war or in both places?
If you package a jar and also keep jar in one of the lib directories,
the latter one takes precedence.

2. Are there two versions of ASM in your glassfish installation. You can
search for org.objectweb.asm.ClassWriter in various jar files.

Sahoo

Comerford, Sean wrote:
> I have JPA w/ Hibernate based application that works fine in Glassfish 2.1
>
> However when I attempt to run the app in GF v2.1.1 I get the exception
> shown below.
>
> Best I can google, it seems to indicate I’m using an older,
> incompatible w/ Hiberante version of CGLIB but I’m deploying the same
> exact war in either case so I can’t see how.
>
> Any one seen this?
>
> javax.persistence.PersistenceException: No Persistence provider for
> EntityManager named Personalization: Provider named
> org.hibernate.ejb.HibernatePersistence threw unexpected exception at
> create EntityManagerFactory:
> java.lang.NoSuchMethodError
> java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.<init>(Z)V
> at
> net.sf.cglib.core.DebuggingClassWriter.<init>(DebuggingClassWriter.java:47)
> at
> net.sf.cglib.core.DefaultGeneratorStrategy.getClassWriter(DefaultGeneratorStrategy.java:30)
> at
> net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:24)
> at
> net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216)
> at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)
> at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117)
> at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108)
> at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104)
> at net.sf.cglib.proxy.Enhancer.<clinit>(Enhancer.java:69)
> at
> org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:117)
> at
> org.hibernate.proxy.pojo.cglib.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:43)
> at
> org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:162)
> at
> org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:135)
> at
> org.hibernate.tuple.entity.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:55)
> at
> org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.<init>(EntityEntityModeToTuplizerMapping.java:56)
> at
> org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:302)
> at
> org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:434)
> at
> org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:109)
> at
> org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
> at
> org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:226)
> at
> org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1300)
> at
> org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:691)
> at
> org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:121)
> at
> javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:110)
> at
> javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:83)
> at
> com.espn.personalization.client.FanGridClientImpl.<init>(FanGridClientImpl.java:93)
> at com.espn.personalization.servlet.GridServlet.init(GridServlet.java:96)
> at
> com.espn.personalization.servlet.FanGetServlet.init(FanGetServlet.java:41)
> at javax.servlet.GenericServlet.init(GenericServlet.java:270)
> at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1100)
> at
> org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:848)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
> at
> org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
> at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
> at
> com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
> at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
> at
> com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
> at
> com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
> at
> com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
> at
> com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
> at
> com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
> at
> com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
> at
> com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
> at
> com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerThreadImpl.java:117)
>
>
> Provider named oracle.toplink.essentials.PersistenceProvider threw
> unexpected exception at create EntityManagerFactory:
> oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException
> Local Exception Stack:
> Exception [TOPLINK-30005] (Oracle TopLink Essentials - 2.1 (Build
> b31g-fcs (10/19/2009))):
> oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException
> Exception Description: An exception was thrown while searching for
> persistence archives with ClassLoader: WebappClassLoader
> delegate: true
> repositories:
> /WEB-INF/classes/
> ----------> Parent Classloader:
> EJBClassLoader :
> urlSet = []
> doneCalled = false
> Parent -> java.net.URLClassLoader_at_7826f9e5
>
>
> Internal Exception: Exception [TOPLINK-30004] (Oracle TopLink
> Essentials - 2.1 (Build b31g-fcs (10/19/2009))):
> oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException
> Exception Description: An exception was thrown while processing
> persistence.xml from URL:
> file:/E:/apps/prod/glassfish/domains/sComposerGf/applications/j2ee-modules/fanws/WEB-INF/classes/
> Internal Exception:
> (1. cvc-elt.1: Cannot find the declaration of element 'persistence'.)
> at
> oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException.exceptionSearchingForPersistenceResources(PersistenceUnitLoadingException.java:144)
> at
> oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.createEntityManagerFactory(EntityManagerFactoryProvider.java:168)
> at
> javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:110)
> at
> javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:83)
> at
> com.espn.personalization.client.FanGridClientImpl.<init>(FanGridClientImpl.java:93)
> at com.espn.personalization.servlet.GridServlet.init(GridServlet.java:96)
> at
> com.espn.personalization.servlet.FanGetServlet.init(FanGetServlet.java:41)
> at javax.servlet.GenericServlet.init(GenericServlet.java:270)
> at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1100)
> at
> org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:848)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
> at
> org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
> at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
> at
> com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
> at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
> at
> com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
> at
> com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
> at
> com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
> at
> com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
> at
> com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
> at
> com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
> at
> com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
> at
> com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerThreadImpl.java:117)
> Caused by: Exception [TOPLINK-30004] (Oracle TopLink Essentials - 2.1
> (Build b31g-fcs (10/19/2009))):
> oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException
> Exception Description: An exception was thrown while processing
> persistence.xml from URL:
> file:/E:/apps/prod/glassfish/domains/sComposerGf/applications/j2ee-modules/fanws/WEB-INF/classes/
> Internal Exception:
> (1. cvc-elt.1: Cannot find the declaration of element 'persistence'.)
> at
> oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException.exceptionProcessingPersistenceXML(PersistenceUnitLoadingException.java:135)
> at
> oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor.processPersistenceXML(PersistenceUnitProcessor.java:418)
> at
> oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor.processPersistenceArchive(PersistenceUnitProcessor.java:357)
> at
> oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor.getPersistenceUnits(PersistenceUnitProcessor.java:286)
> at
> oracle.toplink.essentials.internal.ejb.cmp3.JavaSECMPInitializer.initPersistenceUnits(JavaSECMPInitializer.java:237)
> at
> oracle.toplink.essentials.internal.ejb.cmp3.JavaSECMPInitializer.initialize(JavaSECMPInitializer.java:256)
> at
> oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.createEntityManagerFactory(EntityManagerFactoryProvider.java:154)
> ... 34 more
> Caused by:
> (1. cvc-elt.1: Cannot find the declaration of element 'persistence'.)
> at
> oracle.toplink.essentials.internal.ejb.cmp3.xml.parser.XMLExceptionHandler.error(XMLExceptionHandler.java:52)
> at
> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:134)
> at
> com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:384)
> at
> com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:318)
> at
> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1887)
> at
> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:685)
> at
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:400)
> at
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)
> at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3095)
> at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:921)
> at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
> at
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
> at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
> at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
> at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
> at
> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
> at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
> at
> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
> at
> oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor.processPersistenceXML(PersistenceUnitProcessor.java:408)
> ... 39 more
>
>
> Provider named
> oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider threw
> unexpected exception at create EntityManagerFactory:
> oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException
> Local Exception Stack:
> Exception [TOPLINK-30005] (Oracle TopLink Essentials - 2.1 (Build
> b31g-fcs (10/19/2009))):
> oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException
> Exception Description: An exception was thrown while searching for
> persistence archives with ClassLoader: WebappClassLoader
> delegate: true
> repositories:
> /WEB-INF/classes/
> ----------> Parent Classloader:
> EJBClassLoader :
> urlSet = []
> doneCalled = false
> Parent -> java.net.URLClassLoader_at_7826f9e5
>
>
> Internal Exception: Exception [TOPLINK-30004] (Oracle TopLink
> Essentials - 2.1 (Build b31g-fcs (10/19/2009))):
> oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException
> Exception Description: An exception was thrown while processing
> persistence.xml from URL:
> file:/E:/apps/prod/glassfish/domains/sComposerGf/applications/j2ee-modules/fanws/WEB-INF/classes/
> Internal Exception:
> (1. cvc-elt.1: Cannot find the declaration of element 'persistence'.)
> at
> oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException.exceptionSearchingForPersistenceResources(PersistenceUnitLoadingException.java:144)
> at
> oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.createEntityManagerFactory(EntityManagerFactoryProvider.java:168)
> at
> javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:110)
> at
> javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:83)
> at
> com.espn.personalization.client.FanGridClientImpl.<init>(FanGridClientImpl.java:93)
> at com.espn.personalization.servlet.GridServlet.init(GridServlet.java:96)
> at
> com.espn.personalization.servlet.FanGetServlet.init(FanGetServlet.java:41)
> at javax.servlet.GenericServlet.init(GenericServlet.java:270)
> at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1100)
> at
> org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:848)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
> at
> org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
> at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
> at
> com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
> at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
> at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
> at
> com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
> at
> com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
> at
> com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
> at
> com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
> at
> com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
> at
> com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
> at
> com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
> at
> com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerThreadImpl.java:117)
> Caused by: Exception [TOPLINK-30004] (Oracle TopLink Essentials - 2.1
> (Build b31g-fcs (10/19/2009))):
> oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException
> Exception Description: An exception was thrown while processing
> persistence.xml from URL:
> file:/E:/apps/prod/glassfish/domains/sComposerGf/applications/j2ee-modules/fanws/WEB-INF/classes/
> Internal Exception:
> (1. cvc-elt.1: Cannot find the declaration of element 'persistence'.)
> at
> oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException.exceptionProcessingPersistenceXML(PersistenceUnitLoadingException.java:135)
> at
> oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor.processPersistenceXML(PersistenceUnitProcessor.java:418)
> at
> oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor.processPersistenceArchive(PersistenceUnitProcessor.java:357)
> at
> oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor.getPersistenceUnits(PersistenceUnitProcessor.java:286)
> at
> oracle.toplink.essentials.internal.ejb.cmp3.JavaSECMPInitializer.initPersistenceUnits(JavaSECMPInitializer.java:237)
> at
> oracle.toplink.essentials.internal.ejb.cmp3.JavaSECMPInitializer.initialize(JavaSECMPInitializer.java:256)
> at
> oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.createEntityManagerFactory(EntityManagerFactoryProvider.java:154)
> ... 34 more
> Caused by:
> (1. cvc-elt.1: Cannot find the declaration of element 'persistence'.)
> at
> oracle.toplink.essentials.internal.ejb.cmp3.xml.parser.XMLExceptionHandler.error(XMLExceptionHandler.java:52)
> at
> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:134)
> at
> com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:384)
> at
> com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:318)
> at
> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1887)
> at
> com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:685)
> at
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:400)
> at
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)
> at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3095)
> at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:921)
> at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
> at
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
> at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
> at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
> at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
> at
> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
> at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
> at
> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
> at
> oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor.processPersistenceXML(PersistenceUnitProcessor.java:408)
> ... 39 more
>
> --
> Sean Comerford, Software Engineer
> ESPN.com Site Architecture Group
> Office: 860.766.6454 Cell: 860.329.5842