Return-Path: Delivered-To: apmail-logging-log4j-user-archive@www.apache.org Received: (qmail 89040 invoked from network); 9 Aug 2006 14:59:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Aug 2006 14:59:04 -0000 Received: (qmail 8526 invoked by uid 500); 9 Aug 2006 14:59:01 -0000 Delivered-To: apmail-logging-log4j-user-archive@logging.apache.org Received: (qmail 8499 invoked by uid 500); 9 Aug 2006 14:59:00 -0000 Mailing-List: contact log4j-user-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Log4J Users List" Reply-To: "Log4J Users List" Delivered-To: mailing list log4j-user@logging.apache.org Received: (qmail 8488 invoked by uid 99); 9 Aug 2006 14:59:00 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Aug 2006 07:59:00 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [67.155.8.68] (HELO gainsmail.gainsystems.net) (67.155.8.68) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Aug 2006 07:58:59 -0700 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Expert help needed for logging in a JavaEE application with Log4j... X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Wed, 9 Aug 2006 09:58:37 -0500 Message-ID: In-Reply-To: <49E94D0CFCD4DB43AFBA928DDD20C8F903AD4049@asg002.asg.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Expert help needed for logging in a JavaEE application with Log4j... Thread-Index: Aca7PPhTUAYMcbaISEexcG0ElIUqXgAAFZzgAACDNZAAIS7+4A== From: "Harp, George" To: "Log4J Users List" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N No I thought Apache had a J2ee implementation I may be wrong -----Original Message----- From: Tom Sheehan [mailto:tom.sheehan@arraysg.com]=20 Sent: Tuesday, August 08, 2006 6:08 PM To: Log4J Users List Subject: RE: Expert help needed for logging in a JavaEE application with Log4j... With respect to Apache, are you referring to the following? http://jakarta.apache.org/commons/logging/ -----Original Message----- From: Harp, George [mailto:GHarp@GAINSystems.com] Sent: Tuesday, August 08, 2006 5:59 PM To: Log4J Users List; adrian@idsys.ro Subject: RE: Expert help needed for logging in a JavaEE application with Log4j... Does it have a JMX implementation? If it does you could pass in xml file and configure that way perhaps. You would have to get the MBEan to load first, that could be a hassle, but you asked for more suggestions in light of no apparent way to initialize Log4j. Have you looked at the other open source J2EE implementations? JBoss, Spring and I think Apache has one also. Not sure of status of ejb3 on all but JBoss( I've used it it is nicer than regualr ejb).=20 Also, JBoss has .ear files to deploy applications maybe sun has something simular, the issue would be how soon could you use it to initialize log4j (like the Mbean). Maybe send links you found for log4j maybe pps could help you decipher?=20 -----Original Message----- From: Adrian Pitulac [mailto:adrian@idsys.ro] Sent: Tuesday, August 08, 2006 5:49 PM To: Log4J Users List Subject: Re: Expert help needed for logging in a JavaEE application with Log4j... 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=20 > DataSources etc, perhaps Sun's implementation does also? > > -----Original Message----- > From: Adrian Pitulac [mailto:adrian@idsys.ro] > Sent: Tuesday, August 08, 2006 5:19 PM > To: log4j-user@logging.apache.org > Subject: Expert help needed for logging in a JavaEE application with=20 > Log4j... > > Hello, > > I'm new to Log4j and large scale enterprise applications and i need=20 > 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=20 > Sun Application Server 9 as a good solution for deployment. The=20 > 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=20 > the features i want to use without any other discussions is the xml=20 > configuration for log4j. But due to the restrictions imposed by=20 > 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=20 > 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=20 > 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=20 > ejb's? what other solutions are there besides initializing log4j in a=20 > servlet? > 2. Are the Logger static class instances from two session beans=20 > 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?=20 > 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=20 > thank in advance people who could help me. > =20 > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org > For additional commands, e-mail: log4j-user-help@logging.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org > For additional commands, e-mail: log4j-user-help@logging.apache.org > > > > =20 --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org