users@glassfish.java.net

Re: Spring, JPA with hibernate as Persistence provider & Glassfish

From: <glassfish_at_javadesktop.org>
Date: Sat, 10 Feb 2007 15:44:47 PST

Hi Brent,

I'm getting the same exact error. Did you ever find a solution for this? Please email solution to jeff_k_lu_at_yahoo.com. Thanks

1) I get some errors like this:

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in ServletContext resource [/META-INF/dwspring-service.xml]: Invocation of init method failed; nested exception is java.lang.LinkageError: Class org/xml/sax/Parser violates loader constraints
Caused by: java.lang.LinkageError: Class org/xml/sax/Parser violates loader constraints

2) It doesn't like the logging mechanism that spring is using and I get errors like this:

Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Log4JLogger does not implement Log
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor (LogFactoryImpl.java:416)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:525)
... 70 more
Caused by: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Log4JLogger does not implement Log
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:412)
... 71 more

Thank you
[Message sent by forum member 'jklcom99' (jklcom99)]

http://forums.java.net/jive/thread.jspa?messageID=203157