Mho wrote:
> 
> (1) Where does this directive go? Is this going to be inserted in the file 
> [tomcat_home]/conf/logging.properties
> in the place of the default logging configurations?
> 
It's a system property you can set up with a standard
-Dopenejb.logger.external=true
Or using openejb-jar.xml (as far as I know ;-))


Mho wrote:
> 
> (2) I am guessing that the way to make this work would be to create a web
> app with just one servlet that initializes log4j and have it come up, then
> openEJB and then the rest of applications. What is the correct way to
> control the deployment order?
> 
In a "standard" tomcat application, you can not define deployment order.
Tomcat usually uses alphabetical order.

When using OpenEJB embedded in Tomcat, the first application loaded is the
OpenEJB webapp and then fall back to standard Tomcat mechanisms.

So from my point of view, the best way to do it is to use the system
property.

Jean-Louis
-- 
View this message in context: 
http://www.nabble.com/How-to-use-log4j.xml-in-Tomcat-openEJB-environment-tp23807412p23835659.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to