I'm going to throw this one out as a wild hair... What JDK is being used? I notice the user's id is from HP and I believe HP has a special version of the JDK. If, by chance, you are using the special HP JDK, can you try the scenario with a standard Sun/Oracle JDK? Like I said, just a wild guess...
Thanks, Kevin On Wed, Sep 28, 2011 at 12:51 PM, Pinaki Poddar <ppod...@apache.org> wrote: > We are in difficult territory now. The error shows that the SAXParser does > not recognize a property that OpenJPA is attempting to set before using the > parser. > Now, I ran a small test and my SAXFactory/Parser are same as yours. I am > using JDK 1.5. > > Please run the following code (preferably from a command-line) and see how > it behaves in your environment. > > public void testParserProperty() throws Exception { > SAXParserFactory factory = SAXParserFactory.newInstance(); > SAXParser parser = factory.newSAXParser(); > System.err.println(factory.getClass()); > System.err.println(parser.getClass()); > > > parser.setProperty("http://java.sun.com/xml/jaxp/properties/schemaLanguage > ", > > "http://www.w3.org/2001/XMLSchema"); > } > > How are you running this program, from command-line or via Ant or other > build facilities? > > > ----- > Pinaki Poddar > Chair, Apache OpenJPA Project > -- > View this message in context: > http://openjpa.208410.n2.nabble.com/problems-running-JPA-standalone-outside-of-container-tp6838028p6841194.html > Sent from the OpenJPA Users mailing list archive at Nabble.com. >