openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Barnett <>
Subject RE: problems running JPA standalone (outside of container)
Date Wed, 28 Sep 2011 16:58:00 GMT
Here's the output:

Factory: org.apache.xerces.jaxp.SAXParserFactoryImpl
Parser: org.apache.xerces.jaxp.SAXParserImpl

Thanks for your help...

From: Pinaki Poddar [via OpenJPA] []
Sent: Wednesday, September 28, 2011 10:44 AM
To: Barnett, James
Subject: Re: problems running JPA standalone (outside of container)

Please do this to see which parser is active

                SAXParserFactory factory = SAXParserFactory.newInstance();
                SAXParser parser = factory.newSAXParser();
                System.err.println("Factory: " + factory.getClass().getName());
                System.err.println("Parser: " + parser.getClass().getName());

before you call Persistence.createEntityManagerFactory().
Pinaki Poddar
Chair, Apache OpenJPA Project

If you reply to this email, your message will be added to the discussion below:
To unsubscribe from problems running JPA standalone (outside of container), click here<>.

View this message in context:
Sent from the OpenJPA Users mailing list archive at
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message