Hello,

I'm new to Log4j and large scale enterprise applications and i need some clarifications on log4j.... i've read lots of docs and the forums around but have not found a full answer yet.. I have a big application to build on JavaEE and we have preselected Sun Application Server 9 as a good solution for deployment. The application consists of lots of stateless, stateful and message driven beans. I want to use Log4j as the logging framework for this project. One of the features i want to use without any other discussions is the xml configuration for log4j. But due to the restrictions imposed by JavaEE/EJB specifications i cannot use any java.io class in my beans. So it remains as an good option to run a client on the server machine(the one which hosts the application server) which will pass as a stream the xml config. Here comes the tricky part. One of our requirement is that the javaEE application has to be fully clusterable.

My questions are:
1. Is the streamable xml config a good way of configuring log4j in ejb's? what other solutions are there besides initializing log4j in a servlet? 2. Are the Logger static class instances from two session beans working on the same hierarchy? If not do we have to configure them separately? 3. How will an application server behave in a clustered environment? Are there any other tips we should know about?

I'll be very happy if i'll receive some answers here.. So i want to thank in advance people who could help me.




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to