This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
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.