Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

glassFish war deploy: multipe loggers error ?

 
William Koos
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Jean
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic