Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-2881

runtime exception in org.apache.openjpa.lib.meta.XMLMetaDataParser.parseNewResource

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1.2
    • 3.2.1
    • None
    • None

    Description

      Hi,

      Similar to my previous post here: http://mail-archives.apache.org/mod_mbox/openjpa-users/202103.mbox/browser

      The runtime is broken due to the following:

      <openjpa-3.1.2-r66d2a72 nonfatal general error> org.apache.openjpa.util.GeneralException: org.xml.sax.SAXException: jar:file:[CUT]/META-INF/persistence.xml [Location:Line: 4, C: 16]: org.xml.sax.SAXParseException; systemId: http://www.oracle.com/splash/www/index.html; lineNumber: 1; columnNumber: 1; Fin prématurée du fichier.
      at org.apache.openjpa.lib.meta.XMLMetaDataParser.parseNewResource(XMLMetaDataParser.java:435)
      at org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.java:355)
      at org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.java:332)
      at org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.java:301)
      at org.apache.openjpa.persistence.PersistenceProductDerivation$ConfigurationParser.parse(PersistenceProductDerivation.java:813)
      at org.apache.openjpa.persistence.PersistenceProductDerivation.parseResources(PersistenceProductDerivation.java:578)
      at org.apache.openjpa.persistence.PersistenceProductDerivation.load(PersistenceProductDerivation.java:530)
      at org.apache.openjpa.persistence.PersistenceProductDerivation.load(PersistenceProductDerivation.java:341)
      at org.apache.openjpa.persistence.PersistenceProviderImpl.createEntityManagerFactory(PersistenceProviderImpl.java:90)
      at org.apache.openjpa.persistence.PersistenceProviderImpl.createEntityManagerFactory(PersistenceProviderImpl.java:159)
      at org.apache.openjpa.persistence.PersistenceProviderImpl.createEntityManagerFactory(PersistenceProviderImpl.java:66)
      at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:106)
      at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:68)

      [CUT]

      Thanks,

      Patrice

      Attachments

        Issue Links

          Activity

            People

              solomax Maxim Solodovnik
              pduroux Patrice DUROUX
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: