I try to deploy a WAR to the internal Netbeans GlasFish server. All the code is generated, some REST webservices based on a couple of tables and Hibernate is used for ORM. What is get from the log and information on the internet there are multiple versions of apache log library specified or the same one is loaded by diferent classloaders ? See http://articles.qos.ch/classloader.html
Does anyone know how to fix this? I can't find any conflicting logging libraries specified in the project.
Jean Madson
Greenhorn
Joined: Jun 01, 2010
Posts: 1
posted
0
Take a look at the commons-logging.jar, hibernate use it internally as well as Glassfish.
Putting the hibernate version of commons-logging.jar into domains/domain1/lib of Glassfish can solve the problem.