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.
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.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: glassFish war deploy: multipe loggers error ?