users@glassfish.java.net

Re: Glassfish3 deployment options for third party libraries

From: <forums_at_java.net>
Date: Thu, 30 May 2013 07:49:49 -0500 (CDT)

Logback provides a way to have the same set of logging libraries loaded for
multiple applications deployed on the glassfish container. I had to make two
changes to make this work 1. add a jndi entry to specify the context name in
web.xml 2. place the logback-.xml configuration file in WEB-INF\classes (or
lib). This way logging is controlled by each web application and the
libraries are kept at a central location. Thanks!

--
[Message sent by forum member 'table1']
View Post: http://forums.java.net/node/896935