wood burning stoves*
The moose likes Other Java Products and Servers and the fly likes glassFish war deploy: multipe loggers error ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "glassFish war deploy: multipe loggers error ? " Watch "glassFish war deploy: multipe loggers error ? " New topic
Author

glassFish war deploy: multipe loggers error ?

William Koos
Greenhorn

Joined: Jan 08, 2010
Posts: 3
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
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: glassFish war deploy: multipe loggers error ?
 
Similar Threads
Beginners Querylogue!
Error initializing Message Driven Bean
File upload
javax.persistence.criteria cannot be resolved to a type & project could not be used in the server.
The module has not been deployed. BUILD FAILED error problem