You could be right here but Sun Application Server 9 PE (also known as GLASSFISH) uses the Logging API specified in JSR 047. Searching the forums/mailing lists i've found many reply's redirecting the log4j interested users to the Logging API.
There are very few resources regarding Log4j in the Glassfish comunity.

I've checked the administration guide, developer's manual, deployment guide for Glassfish and haven't found anything related to configuration files for third party frameworks...

Thanks.. i expect other suggestions also....


Harp, George wrote:
You may want to check the J2EE server you are examining.
I know JBoss has a separate directory to congigure things like log4j
DataSources etc, perhaps Sun's implementation does also?
-----Original Message-----
From: Adrian Pitulac [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 08, 2006 5:19 PM
To: [email protected]
Subject: Expert help needed for logging in a JavaEE application with
Log4j...

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]


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




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

Reply via email to