RE: JMSQueueAppender and Tomcat 4.1
I included the entire jar and it contains all these packages: com.ibm.websphere.classloader com.ibm.websphere.examples com.ibm.websphere.naming com.ibm.websphere.runtime com.ibm.websphere.security com.ibm.websphere.servlet com.ibm.websphere.servlet.cache com.ibm.websphere.servlet.error com.ibm.websphere.servlet.event com.ibm.websphere.servlet.filter com.ibm.websphere.servlet.request com.ibm.websphere.servlet.response com.ibm.websphere.servlet.session com.ibm.websphere.userprofile Thanks... Sabitha "Shapira, Yoav" <[EMAIL PROTECTED]> wrote: Howdy, My guess is you're missing a class required by the IBM InitialContextFactory implementation. Did you include the whole websphere.jar? If so, what's in that jar? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Sabitha [mailto:[EMAIL PROTECTED] >Sent: Thursday, December 18, 2003 11:17 AM >To: Log4J Users List >Subject: RE: JMSQueueAppender and Tomcat 4.1 > > >Yes.. this class is in the websphere.jar file and I have included it - >along with log4j-1.2.8.jar - in my WEB-INF/lib directory. > >Sabitha > > >"Shapira, Yoav" wrote: > >Howdy, >And the class with the initial context factory implementation >(com.ibm...) is in your WEB-INF/lib? Along with log4j? > >Yoav Shapira >Millennium ChemInformatics > > >>-Original Message- >>From: Sabitha [mailto:[EMAIL PROTECTED] >>Sent: Thursday, December 18, 2003 9:50 AM >>To: Log4J Users List >>Subject: RE: JMSQueueAppender and Tomcat 4.1 >> >>Thank you for the response. >>I am constructing the initial context factory as you suggest - using >the >>hastable. Both this and the provider URL are specified in the log4j >file >>for the JMSQueueAppender. >> >> ht.put(Context.INITIAL_CONTEXT_FACTORY, initialContextFactory); >> ht.put(Context.PROVIDER_URL, providerUrl); >> >> return (new InitialContext(ht)); >> >>Here is my log4j config: >> >> >> >>value="com.ibm.websphere.naming.WsnInitialContextFactory" /> >> > >> > >> > >> >> > >> >> >> >>I have included the IBM jars in my Web-inf/lib directory. >> >>Sabitha >> >>"Shapira, Yoav" wrote: >> >>Howdy, >>Make sure your initial context factory implementation is in >WEB-INF/lib, >>and that you construct an initial context with the environment >parameter >>(hashtable), not just new InitialContext(). In that environment, >>specify the factory class name and server JNDI URL. When you don't, >>you're using tomcat's default JNDI initial context factory >>implementation which can't talk to your IBM server. If you do the >>above, you'll be able to run with the Sun JDK (or any other). I suggest >>you read the JNDI documentation. >> >>Yoav Shapira >>Millennium ChemInformatics >> >> >>>-Original Message- >>>From: Sabitha [mailto:[EMAIL PROTECTED] >>>Sent: Wednesday, December 17, 2003 6:58 PM >>>To: [EMAIL PROTECTED] >>>Subject: JMSQueueAppender and Tomcat 4.1 >>> >>>I am using the JMSQueueAppender (from the contributions) in a webapp >>that >>>is deployed on Tomcat 4.1 using Sun's jdk 1.4. When I try to write to >>this >>>appender, I get the following exception: >>> >>>log4j:ERROR Could not get initial context with >>>[com.ibm.websphere.naming.WsnInitialContextFactory] and >>>[iiop://linudia3:2011]. >>> >>>log4j:ERROR Error while activating options for appender named >>[JMSPTOP]. >>> >>>javax.naming.ServiceUnavailableException: NULL returned when resolving >>>initial reference=NameService >>> >>>From researching on the web, I found out that I may have to use IBM's >>JDK >>>to get this to work. And sure enough when I change Tomcat settings to >>use >>>the IBM JDK , it works. Does anyone know if there is a workaround for >>this >>>because the we need to use the Sun jdk? >>> >>>Thanks..Sabitha >>> >>> >>> >>> >>> >>>- >>>Do you Yahoo!? >>>New Yahoo! Photos - easier uploading and sharing >> >> >> >>This e-mail, including any attachments, is a confidential business >>communication, and may contain information that is confidential, >>proprietary and/or privileged. This e-mail is intended only for the >>individual(s) to whom it is addressed, and may not be saved, copied, >>printed, disclosed or used by anyone else. If you are not the(an) >intended >>recipient, please immediately delete this e-mail from your computer >system >>and notify the sender. Thank you. >> >> >>- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] >> >> >>- >>Do you Yahoo!? >>New Yahoo! Photos - easier uploading and sharing > > > >This e-mail, including any attachments, is a confidential business >communication, and may contain information that is confidential, >proprietary and/or privileged. This e-mail is intended only for the >individual(s) to whom it is addressed, and may not be saved, copied, >printed, disclosed or used by anyone else. If you are not the(an) intended >recipient, please immediately delete thi
Re: Multiple logging inside a single webapp
I had a lot of problems with something very similar. I resolve to writing a servlet which force-configures log4j. You can have it, if you like. Atul Gosain wrote: Hi I have a situation like, a single webapp, but different modules inside a single webapp. Each module is using its own logging using log4j. Each one has a configuration file in Web-inf/classes and log4j.jar is inside Web-inf/lib which they are configuring in their classes through PropertConfigurator. Some problems faced are 1. Now the problem is that after tomcat starting up. There's a module which is appending on Console. but instead the logs are coming in standard error. I am not getting why they are coming in stderr instead of stdout logs. 2. Also .. i have one more query. i have the configuration file outside the tomcat environment, but i have configured the file in PropertyConfigurator, but the logging doesnt come in stdout of tomcat. Is it because configuration file is not available to tomcat classloader. 3. There is another module who is logging inside its log file using FileAppender. The problem is that the logging of all the modules start coming in that file after the tomcat startup. They are not logging in their separate log files. Is it that in Tomcat environment, in one webapp, only one logging property comes into effect. I hope many people must be using log4j inside tomcat with this kind of environment. Please guide. Thanks Atul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Multiple logging inside a single webapp
I had a lot of problems with something very similar. I resolve to writing a servlet which force-configures log4j. Atul Gosain wrote: Hi I have a situation like, a single webapp, but different modules inside a single webapp. Each module is using its own logging using log4j. Each one has a configuration file in Web-inf/classes and log4j.jar is inside Web-inf/lib which they are configuring in their classes through PropertConfigurator. Some problems faced are 1. Now the problem is that after tomcat starting up. There's a module which is appending on Console. but instead the logs are coming in standard error. I am not getting why they are coming in stderr instead of stdout logs. 2. Also .. i have one more query. i have the configuration file outside the tomcat environment, but i have configured the file in PropertyConfigurator, but the logging doesnt come in stdout of tomcat. Is it because configuration file is not available to tomcat classloader. 3. There is another module who is logging inside its log file using FileAppender. The problem is that the logging of all the modules start coming in that file after the tomcat startup. They are not logging in their separate log files. Is it that in Tomcat environment, in one webapp, only one logging property comes into effect. I hope many people must be using log4j inside tomcat with this kind of environment. Please guide. Thanks Atul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: JMSQueueAppender and Tomcat 4.1
Howdy, My guess is you're missing a class required by the IBM InitialContextFactory implementation. Did you include the whole websphere.jar? If so, what's in that jar? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Sabitha [mailto:[EMAIL PROTECTED] >Sent: Thursday, December 18, 2003 11:17 AM >To: Log4J Users List >Subject: RE: JMSQueueAppender and Tomcat 4.1 > > >Yes.. this class is in the websphere.jar file and I have included it - >along with log4j-1.2.8.jar - in my WEB-INF/lib directory. > >Sabitha > > >"Shapira, Yoav" <[EMAIL PROTECTED]> wrote: > >Howdy, >And the class with the initial context factory implementation >(com.ibm...) is in your WEB-INF/lib? Along with log4j? > >Yoav Shapira >Millennium ChemInformatics > > >>-Original Message- >>From: Sabitha [mailto:[EMAIL PROTECTED] >>Sent: Thursday, December 18, 2003 9:50 AM >>To: Log4J Users List >>Subject: RE: JMSQueueAppender and Tomcat 4.1 >> >>Thank you for the response. >>I am constructing the initial context factory as you suggest - using >the >>hastable. Both this and the provider URL are specified in the log4j >file >>for the JMSQueueAppender. >> >> ht.put(Context.INITIAL_CONTEXT_FACTORY, initialContextFactory); >> ht.put(Context.PROVIDER_URL, providerUrl); >> >> return (new InitialContext(ht)); >> >>Here is my log4j config: >> >> >> >>value="com.ibm.websphere.naming.WsnInitialContextFactory" /> >> > >> > >> > >> >> > >> >> >> >>I have included the IBM jars in my Web-inf/lib directory. >> >>Sabitha >> >>"Shapira, Yoav" wrote: >> >>Howdy, >>Make sure your initial context factory implementation is in >WEB-INF/lib, >>and that you construct an initial context with the environment >parameter >>(hashtable), not just new InitialContext(). In that environment, >>specify the factory class name and server JNDI URL. When you don't, >>you're using tomcat's default JNDI initial context factory >>implementation which can't talk to your IBM server. If you do the >>above, you'll be able to run with the Sun JDK (or any other). I suggest >>you read the JNDI documentation. >> >>Yoav Shapira >>Millennium ChemInformatics >> >> >>>-Original Message- >>>From: Sabitha [mailto:[EMAIL PROTECTED] >>>Sent: Wednesday, December 17, 2003 6:58 PM >>>To: [EMAIL PROTECTED] >>>Subject: JMSQueueAppender and Tomcat 4.1 >>> >>>I am using the JMSQueueAppender (from the contributions) in a webapp >>that >>>is deployed on Tomcat 4.1 using Sun's jdk 1.4. When I try to write to >>this >>>appender, I get the following exception: >>> >>>log4j:ERROR Could not get initial context with >>>[com.ibm.websphere.naming.WsnInitialContextFactory] and >>>[iiop://linudia3:2011]. >>> >>>log4j:ERROR Error while activating options for appender named >>[JMSPTOP]. >>> >>>javax.naming.ServiceUnavailableException: NULL returned when resolving >>>initial reference=NameService >>> >>>From researching on the web, I found out that I may have to use IBM's >>JDK >>>to get this to work. And sure enough when I change Tomcat settings to >>use >>>the IBM JDK , it works. Does anyone know if there is a workaround for >>this >>>because the we need to use the Sun jdk? >>> >>>Thanks..Sabitha >>> >>> >>> >>> >>> >>>- >>>Do you Yahoo!? >>>New Yahoo! Photos - easier uploading and sharing >> >> >> >>This e-mail, including any attachments, is a confidential business >>communication, and may contain information that is confidential, >>proprietary and/or privileged. This e-mail is intended only for the >>individual(s) to whom it is addressed, and may not be saved, copied, >>printed, disclosed or used by anyone else. If you are not the(an) >intended >>recipient, please immediately delete this e-mail from your computer >system >>and notify the sender. Thank you. >> >> >>- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] >> >> >>- >>Do you Yahoo!? >>New Yahoo! Photos - easier uploading and sharing > > > >This e-mail, including any attachments, is a confidential business >communication, and may contain information that is confidential, >proprietary and/or privileged. This e-mail is intended only for the >individual(s) to whom it is addressed, and may not be saved, copied, >printed, disclosed or used by anyone else. If you are not the(an) intended >recipient, please immediately delete this e-mail from your computer system >and notify the sender. Thank you. > > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > >- >Do you Yahoo!? >New Yahoo! Photos - easier uploading and sharing This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is in
FW: Multiple logging inside a single webapp
Hi This is the debug output of my logging configuration. The logging is coming inside stderr.log instead of stdout.log inside Tomcat. Cant understand whats the problem. log4j: Parsing for [root] with value=[INFO, A1]. log4j: Priority token is [INFO]. log4j: Category root set to INFO log4j: Parsing appender named "A1". log4j: Parsing layout options for "A1". log4j: Setting property [conversionPattern] to [%-5r %-5p [%t] - %m%n]. log4j: End of parsing for "A1". log4j: Parsed "A1" options. log4j: Parsing for [com.cisco.nm.cmf.cmic.registry] with value=[INFO, A1]. log4j: Priority token is [INFO]. log4j: Category com.cisco.nm.cmf.cmic.registry set to INFO log4j: Parsing appender named "A1". log4j: Appender "A1" was already parsed. log4j: Handling log4j.additivity.com.cisco.nm.cmf.cmic.registry=[true] log4j: Setting additivity for "com.cisco.nm.cmf.cmic.registry" to true log4j: Parsing for [com.cisco.nm.cmf.cmic.util] with value=[INFO, A1 ]. log4j: Priority token is [INFO]. log4j: Category com.cisco.nm.cmf.cmic.util set to INFO log4j: Parsing appender named "A1". log4j: Appender "A1" was already parsed. log4j: Handling log4j.additivity.com.cisco.nm.cmf.cmic.util=[true] log4j: Setting additivity for "com.cisco.nm.cmf.cmic.util" to true log4j: Finished configuring. Thanks Atul -Original Message- From: Atul Gosain [mailto:[EMAIL PROTECTED] Sent: Thursday, December 18, 2003 7:53 PM To: '[EMAIL PROTECTED]' Subject: Multiple logging inside a single webapp Hi I have a situation like, a single webapp, but different modules inside a single webapp. Each module is using its own logging using log4j. Each one has a configuration file in Web-inf/classes and log4j.jar is inside Web-inf/lib which they are configuring in their classes through PropertConfigurator. Some problems faced are 1. Now the problem is that after tomcat starting up. There's a module which is appending on Console. but instead the logs are coming in standard error. I am not getting why they are coming in stderr instead of stdout logs. 2. Also .. i have one more query. i have the configuration file outside the tomcat environment, but i have configured the file in PropertyConfigurator, but the logging doesnt come in stdout of tomcat. Is it because configuration file is not available to tomcat classloader. 3. There is another module who is logging inside its log file using FileAppender. The problem is that the logging of all the modules start coming in that file after the tomcat startup. They are not logging in their separate log files. Is it that in Tomcat environment, in one webapp, only one logging property comes into effect. I hope many people must be using log4j inside tomcat with this kind of environment. Please guide. Thanks Atul
RE: JMSQueueAppender and Tomcat 4.1
Yes.. this class is in the websphere.jar file and I have included it - along with log4j-1.2.8.jar - in my WEB-INF/lib directory. Sabitha "Shapira, Yoav" <[EMAIL PROTECTED]> wrote: Howdy, And the class with the initial context factory implementation (com.ibm...) is in your WEB-INF/lib? Along with log4j? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Sabitha [mailto:[EMAIL PROTECTED] >Sent: Thursday, December 18, 2003 9:50 AM >To: Log4J Users List >Subject: RE: JMSQueueAppender and Tomcat 4.1 > >Thank you for the response. >I am constructing the initial context factory as you suggest - using the >hastable. Both this and the provider URL are specified in the log4j file >for the JMSQueueAppender. > > ht.put(Context.INITIAL_CONTEXT_FACTORY, initialContextFactory); > ht.put(Context.PROVIDER_URL, providerUrl); > > return (new InitialContext(ht)); > >Here is my log4j config: > > > >value="com.ibm.websphere.naming.WsnInitialContextFactory" /> > > > > > > > > >I have included the IBM jars in my Web-inf/lib directory. > >Sabitha > >"Shapira, Yoav" wrote: > >Howdy, >Make sure your initial context factory implementation is in WEB-INF/lib, >and that you construct an initial context with the environment parameter >(hashtable), not just new InitialContext(). In that environment, >specify the factory class name and server JNDI URL. When you don't, >you're using tomcat's default JNDI initial context factory >implementation which can't talk to your IBM server. If you do the >above, you'll be able to run with the Sun JDK (or any other). I suggest >you read the JNDI documentation. > >Yoav Shapira >Millennium ChemInformatics > > >>-Original Message- >>From: Sabitha [mailto:[EMAIL PROTECTED] >>Sent: Wednesday, December 17, 2003 6:58 PM >>To: [EMAIL PROTECTED] >>Subject: JMSQueueAppender and Tomcat 4.1 >> >>I am using the JMSQueueAppender (from the contributions) in a webapp >that >>is deployed on Tomcat 4.1 using Sun's jdk 1.4. When I try to write to >this >>appender, I get the following exception: >> >>log4j:ERROR Could not get initial context with >>[com.ibm.websphere.naming.WsnInitialContextFactory] and >>[iiop://linudia3:2011]. >> >>log4j:ERROR Error while activating options for appender named >[JMSPTOP]. >> >>javax.naming.ServiceUnavailableException: NULL returned when resolving >>initial reference=NameService >> >>From researching on the web, I found out that I may have to use IBM's >JDK >>to get this to work. And sure enough when I change Tomcat settings to >use >>the IBM JDK , it works. Does anyone know if there is a workaround for >this >>because the we need to use the Sun jdk? >> >>Thanks..Sabitha >> >> >> >> >> >>- >>Do you Yahoo!? >>New Yahoo! Photos - easier uploading and sharing > > > >This e-mail, including any attachments, is a confidential business >communication, and may contain information that is confidential, >proprietary and/or privileged. This e-mail is intended only for the >individual(s) to whom it is addressed, and may not be saved, copied, >printed, disclosed or used by anyone else. If you are not the(an) intended >recipient, please immediately delete this e-mail from your computer system >and notify the sender. Thank you. > > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > >- >Do you Yahoo!? >New Yahoo! Photos - easier uploading and sharing This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing
RE: Dead lock problem with log4J 1.2.8
Hi, I've ran into this problem a while back when load testing a Weblogic 8.1 application in dev environment at verbose DEBUG level. It usually occurred after many hours of continous pounding on the app server. Didn't investigate further due to time constraints, but will definitely be forced to acknowledge the problem if it persists in Testing and Production environments. The other environments have been upgraded to Weblogic 8.1 sp1 running JRockit and will only be appending ERROR+ level messages (in theory should not occur often :)). Wishful thinking, but maybe it's isolated to the console appender? Anybody else have this problem? -Original Message- From: Prithi [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 17, 2003 1:52 PM To: [EMAIL PROTECTED] Subject: Dead lock problem with log4J 1.2.8 We are seeing a dead lock problem, during load test. Has anyone seen this before. Is there any patch for this issue. I have attached a sample log below. Any help greatly appreciated. Thanks - Prithi "ExecuteThread: '14' for queue: 'JmsDispatcher'" daemon prio=5 tid=0x2f8f88 nid=0x38 waiting on monitor [0xe4481000..0xe44819d8] at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:415) at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:94) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:118) "ExecuteThread: '13' for queue: 'JmsDispatcher'" daemon prio=5 tid=0x2f8490 nid=0x37 waiting on monitor [0xe4581000..0xe45819d8] at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:415) at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:94) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:118) FOUND A JAVA LEVEL DEADLOCK: "ExecuteThread: '1' for queue: 'default'": waiting to lock monitor 0xb3bb8 (object 0xead732a0, a org.apache.log4j.ConsoleAppender), which is locked by "ExecuteThread: '9' for queue: 'default'" "ExecuteThread: '9' for queue: 'default'": waiting to lock monitor 0xb3a30 (object 0xead44548, a org.apache.log4j.spi.RootCategory), which is locked by "ExecuteThread: '1' for queue: 'default'" - Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: JMSQueueAppender and Tomcat 4.1
Howdy, And the class with the initial context factory implementation (com.ibm...) is in your WEB-INF/lib? Along with log4j? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Sabitha [mailto:[EMAIL PROTECTED] >Sent: Thursday, December 18, 2003 9:50 AM >To: Log4J Users List >Subject: RE: JMSQueueAppender and Tomcat 4.1 > >Thank you for the response. >I am constructing the initial context factory as you suggest - using the >hastable. Both this and the provider URL are specified in the log4j file >for the JMSQueueAppender. > > ht.put(Context.INITIAL_CONTEXT_FACTORY, initialContextFactory); > ht.put(Context.PROVIDER_URL, providerUrl); > > return (new InitialContext(ht)); > >Here is my log4j config: > > > value="com.ibm.websphere.naming.WsnInitialContextFactory" /> > > > > > > > > >I have included the IBM jars in my Web-inf/lib directory. > >Sabitha > >"Shapira, Yoav" <[EMAIL PROTECTED]> wrote: > >Howdy, >Make sure your initial context factory implementation is in WEB-INF/lib, >and that you construct an initial context with the environment parameter >(hashtable), not just new InitialContext(). In that environment, >specify the factory class name and server JNDI URL. When you don't, >you're using tomcat's default JNDI initial context factory >implementation which can't talk to your IBM server. If you do the >above, you'll be able to run with the Sun JDK (or any other). I suggest >you read the JNDI documentation. > >Yoav Shapira >Millennium ChemInformatics > > >>-Original Message- >>From: Sabitha [mailto:[EMAIL PROTECTED] >>Sent: Wednesday, December 17, 2003 6:58 PM >>To: [EMAIL PROTECTED] >>Subject: JMSQueueAppender and Tomcat 4.1 >> >>I am using the JMSQueueAppender (from the contributions) in a webapp >that >>is deployed on Tomcat 4.1 using Sun's jdk 1.4. When I try to write to >this >>appender, I get the following exception: >> >>log4j:ERROR Could not get initial context with >>[com.ibm.websphere.naming.WsnInitialContextFactory] and >>[iiop://linudia3:2011]. >> >>log4j:ERROR Error while activating options for appender named >[JMSPTOP]. >> >>javax.naming.ServiceUnavailableException: NULL returned when resolving >>initial reference=NameService >> >>From researching on the web, I found out that I may have to use IBM's >JDK >>to get this to work. And sure enough when I change Tomcat settings to >use >>the IBM JDK , it works. Does anyone know if there is a workaround for >this >>because the we need to use the Sun jdk? >> >>Thanks..Sabitha >> >> >> >> >> >>- >>Do you Yahoo!? >>New Yahoo! Photos - easier uploading and sharing > > > >This e-mail, including any attachments, is a confidential business >communication, and may contain information that is confidential, >proprietary and/or privileged. This e-mail is intended only for the >individual(s) to whom it is addressed, and may not be saved, copied, >printed, disclosed or used by anyone else. If you are not the(an) intended >recipient, please immediately delete this e-mail from your computer system >and notify the sender. Thank you. > > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > >- >Do you Yahoo!? >New Yahoo! Photos - easier uploading and sharing This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: e-mail logger?
Log4j provides an SMTPAppender http://jakarta.apache.org/log4j/docs/api/org/apache/log4j/net/SMTPAppender.html For java.util.logging, you can use SMTPHandler http://smtphandler.sourceforge.net/ -Original Message- From: Charl Gerber To: [EMAIL PROTECTED] Sent: 12/18/2003 12:55 AM Subject: e-mail logger? Is there an implementation available (or planned) for a log4j e-mail logger? I would find it extremely usefull if my application would e.g. send me an e-mail every time an error occurs ... it is often impractical to keep monitoring logs all day log. Thanks. - 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]
RE: JMSQueueAppender and Tomcat 4.1
Thank you for the response. I am constructing the initial context factory as you suggest - using the hastable. Both this and the provider URL are specified in the log4j file for the JMSQueueAppender. ht.put(Context.INITIAL_CONTEXT_FACTORY, initialContextFactory); ht.put(Context.PROVIDER_URL, providerUrl); return (new InitialContext(ht)); Here is my log4j config: I have included the IBM jars in my Web-inf/lib directory. Sabitha "Shapira, Yoav" <[EMAIL PROTECTED]> wrote: Howdy, Make sure your initial context factory implementation is in WEB-INF/lib, and that you construct an initial context with the environment parameter (hashtable), not just new InitialContext(). In that environment, specify the factory class name and server JNDI URL. When you don't, you're using tomcat's default JNDI initial context factory implementation which can't talk to your IBM server. If you do the above, you'll be able to run with the Sun JDK (or any other). I suggest you read the JNDI documentation. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Sabitha [mailto:[EMAIL PROTECTED] >Sent: Wednesday, December 17, 2003 6:58 PM >To: [EMAIL PROTECTED] >Subject: JMSQueueAppender and Tomcat 4.1 > >I am using the JMSQueueAppender (from the contributions) in a webapp that >is deployed on Tomcat 4.1 using Sun's jdk 1.4. When I try to write to this >appender, I get the following exception: > >log4j:ERROR Could not get initial context with >[com.ibm.websphere.naming.WsnInitialContextFactory] and >[iiop://linudia3:2011]. > >log4j:ERROR Error while activating options for appender named [JMSPTOP]. > >javax.naming.ServiceUnavailableException: NULL returned when resolving >initial reference=NameService > >From researching on the web, I found out that I may have to use IBM's JDK >to get this to work. And sure enough when I change Tomcat settings to use >the IBM JDK , it works. Does anyone know if there is a workaround for this >because the we need to use the Sun jdk? > >Thanks..Sabitha > > > > > >- >Do you Yahoo!? >New Yahoo! Photos - easier uploading and sharing This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing
Multiple logging inside a single webapp
Hi I have a situation like, a single webapp, but different modules inside a single webapp. Each module is using its own logging using log4j. Each one has a configuration file in Web-inf/classes and log4j.jar is inside Web-inf/lib which they are configuring in their classes through PropertConfigurator. Some problems faced are 1. Now the problem is that after tomcat starting up. There's a module which is appending on Console. but instead the logs are coming in standard error. I am not getting why they are coming in stderr instead of stdout logs. 2. Also .. i have one more query. i have the configuration file outside the tomcat environment, but i have configured the file in PropertyConfigurator, but the logging doesnt come in stdout of tomcat. Is it because configuration file is not available to tomcat classloader. 3. There is another module who is logging inside its log file using FileAppender. The problem is that the logging of all the modules start coming in that file after the tomcat startup. They are not logging in their separate log files. Is it that in Tomcat environment, in one webapp, only one logging property comes into effect. I hope many people must be using log4j inside tomcat with this kind of environment. Please guide. Thanks Atul
RE: Selective Logging
Howdy, Yes, there is: add a LevelMatchFilter set to ERROR to your appender. My apologies for reading your original request as "ERROR or higher" rather than simply "ERROR." It's an unusual configuration -- why would you want to NOT log fatal errors? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Sudhakar G [mailto:[EMAIL PROTECTED] >Sent: Thursday, December 18, 2003 9:07 AM >To: Log4J Users List >Subject: RE: Selective Logging > >Hi, > Thanks for the reply.But setting the threshold to ERROR will log both >ERROR >and FATAL right.I am eager to know is there any possible setting in config >file will avoid writing fatal messages too.. > >Sudhakar > >-Original Message- >From: Shapira, Yoav [mailto:[EMAIL PROTECTED] >Sent: Thursday, December 18, 2003 7:31 PM >To: Log4J Users List >Subject: RE: Selective Logging > > > >Howdy, > >> 1)I want to log only error level messages in log file.How do I >>proceed? > >Yes, define a FileAppender with Threshold of ERROR. > >> 2)Is it possible to change the configuration setting at runtime >>without >>restarting the server it should reflect while logging? > >Yes, both programmatically and automatically by changing the log file. >See Configurator#configureAndWatch, the log4j config servlet in the >log4j sandbox repository, and this list's archive. > >>3)Is it possible application running in different port should log >to a >>same log file? > >Yes. > >Basically, RTFM ;) Start out by reading the short manual and adding >log4j to your application. Then, when you run into specific problems >ask us and we'll help. > >Yoav Shapira > > > >This e-mail, including any attachments, is a confidential business >communication, and may contain information that is confidential, >proprietary >and/or privileged. This e-mail is intended only for the individual(s) to >whom it is addressed, and may not be saved, copied, printed, disclosed or >used by anyone else. If you are not the(an) intended recipient, please >immediately delete this e-mail from your computer system and notify the >sender. Thank you. > > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > >DISCLAIMER: >This message (including attachment if any) is confidential and may be >privileged. Before opening attachments please check them for viruses and >defects. MindTree Consulting Private Limited (MindTree) will not be >responsible for any viruses or defects or any forwarded attachments >emanating either from within MindTree or outside. If you have received this >message by mistake please notify the sender by return e-mail and delete >this message from your system. Any unauthorized use or dissemination of >this message in whole or in part is strictly prohibited. Please note that >e-mails are susceptible to change and MindTree shall not be liable for any >improper, untimely or incomplete transmission. > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Selective Logging
Hi, Thanks for the reply.But setting the threshold to ERROR will log both ERROR and FATAL right.I am eager to know is there any possible setting in config file will avoid writing fatal messages too.. Sudhakar -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, December 18, 2003 7:31 PM To: Log4J Users List Subject: RE: Selective Logging Howdy, > 1)I want to log only error level messages in log file.How do I >proceed? Yes, define a FileAppender with Threshold of ERROR. > 2)Is it possible to change the configuration setting at runtime >without >restarting the server it should reflect while logging? Yes, both programmatically and automatically by changing the log file. See Configurator#configureAndWatch, the log4j config servlet in the log4j sandbox repository, and this list's archive. >3)Is it possible application running in different port should log to a >same log file? Yes. Basically, RTFM ;) Start out by reading the short manual and adding log4j to your application. Then, when you run into specific problems ask us and we'll help. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Private Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Selective Logging
Howdy, > 1)I want to log only error level messages in log file.How do I >proceed? Yes, define a FileAppender with Threshold of ERROR. > 2)Is it possible to change the configuration setting at runtime >without >restarting the server it should reflect while logging? Yes, both programmatically and automatically by changing the log file. See Configurator#configureAndWatch, the log4j config servlet in the log4j sandbox repository, and this list's archive. >3)Is it possible application running in different port should log to a >same log file? Yes. Basically, RTFM ;) Start out by reading the short manual and adding log4j to your application. Then, when you run into specific problems ask us and we'll help. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: JMSQueueAppender and Tomcat 4.1
Howdy, Make sure your initial context factory implementation is in WEB-INF/lib, and that you construct an initial context with the environment parameter (hashtable), not just new InitialContext(). In that environment, specify the factory class name and server JNDI URL. When you don't, you're using tomcat's default JNDI initial context factory implementation which can't talk to your IBM server. If you do the above, you'll be able to run with the Sun JDK (or any other). I suggest you read the JNDI documentation. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Sabitha [mailto:[EMAIL PROTECTED] >Sent: Wednesday, December 17, 2003 6:58 PM >To: [EMAIL PROTECTED] >Subject: JMSQueueAppender and Tomcat 4.1 > >I am using the JMSQueueAppender (from the contributions) in a webapp that >is deployed on Tomcat 4.1 using Sun's jdk 1.4. When I try to write to this >appender, I get the following exception: > >log4j:ERROR Could not get initial context with >[com.ibm.websphere.naming.WsnInitialContextFactory] and >[iiop://linudia3:2011]. > >log4j:ERROR Error while activating options for appender named [JMSPTOP]. > >javax.naming.ServiceUnavailableException: NULL returned when resolving >initial reference=NameService > >From researching on the web, I found out that I may have to use IBM's JDK >to get this to work. And sure enough when I change Tomcat settings to use >the IBM JDK , it works. Does anyone know if there is a workaround for this >because the we need to use the Sun jdk? > >Thanks..Sabitha > > > > > >- >Do you Yahoo!? >New Yahoo! Photos - easier uploading and sharing This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Réf. : Log4J servlet
Here ya go. Of course you'll need log4j. Tom [EMAIL PROTECTED] wrote: Hi, I'm intrested on testing your servlet capabilities, can u send it to me?? For the Open Source Power ... Ahmed ALAMI DQAI/SDV Tel : 05 57 75 60 52 Post-scriptum La Poste Ce message est confidentiel. Sous réserve de tout accord conclu par écrit entre vous et La Poste, son contenu ne représente en aucun cas un engagement de la part de La Poste. Toute publication, utilisation ou diffusion, même partielle, doit être autorisée préalablement. Si vous n'êtes pas destinataire de ce message, merci d'en avertir immédiatement l'expéditeur. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] /* * Copyright: (c) TBEE.ORG * Modified: $Date: 2003/12/18 12:26:40 $ */ package org.tbee.servlets.log4j; import java.io.ByteArrayInputStream; import java.io.File; import java.io.IOException; import java.util.Properties; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.log4j.Category; import org.apache.log4j.PropertyConfigurator; /** * This servlet just initializes Log4j based on a propery file. * The file may be specified in the init parameters as "log4j.properties". * Per default "/WEB-INF/log4j.properties" and "/WEB-INF/classes/log4j.properties" are checked. * This servlet will reexamine the properties file every 10 seconds or when the get method is called. * A complete log4j properties file may be provided as part of the doPost submit. * * @version $Revision: 1.5 $ */ public class InitServlet extends HttpServlet { // Log4J private static Category cLog4J = Category.getInstance(InitServlet.class.getName()); // Frequence for looking for new properties static int cLog4jInterval = 1 ; // 10 Seconds // the worker thread WorkerThread iWorkerThread = null; // the parameter for the configuration file static private String PARAMETER_CONFIGFILE = "configfile"; /** * initialize log4j * start the worker thread */ public void init() throws ServletException { // set up LOG4J { // determine properties file String lPrefix = getServletContext().getRealPath("/WEB-INF") + File.separator; String lFilePath = getInitParameter("log4j.properties"); if (lFilePath == null) lFilePath = "log4j.properties"; if (!(new File(lPrefix + lFilePath)).exists()) lFilePath = "log4j.properties"; if (!(new File(lPrefix + lFilePath)).exists()) lFilePath = "classes/log4j.properties"; if (!(new File(lPrefix + lFilePath)).exists()) { System.err.println("Log4j InitServlet: could not determine log4j file, reverting to auto configuration"); return; } // Set up the configuration PropertyConfigurator.configure(lPrefix + lFilePath); if (cLog4J.isInfoEnabled()) cLog4J.info("Log4J initialized using: " + lPrefix + lFilePath); // if debugging must be disabled entirely if ("true".equals(getInitParameter("disabled")) || "yes".equals(getInitParameter("disabled"))) { // disable if (cLog4J.isDebugEnabled()) cLog4J.debug("Log4J: further logging disabled!"); Category.getDefaultHierarchy().disableAll(); } else { // create worker thread if(cLog4J.isDebugEnabled()) cLog4J.debug("Starting worker thread"); iWorkerThread = new WorkerThread(lPrefix + lFilePath, 1); // 10 seconds, TODO: make configurable iWorkerThread.start(); } } } /** * Stop the worker thread when the servlet is unloaded */ public void destroy() { // stop worker thread if(cLog4J.isDebugEnabled()) cLog4J.debug("Stopping worker thread"); iWorkerThread.stopAsSoonAsPossible(); } /** * reexamine the log4j f
Réf. : Log4J servlet
Hi, I'm intrested on testing your servlet capabilities, can u send it to me?? For the Open Source Power ... Ahmed ALAMI DQAI/SDV Tel : 05 57 75 60 52 Post-scriptum La Poste Ce message est confidentiel. Sous réserve de tout accord conclu par écrit entre vous et La Poste, son contenu ne représente en aucun cas un engagement de la part de La Poste. Toute publication, utilisation ou diffusion, même partielle, doit être autorisée préalablement. Si vous n'êtes pas destinataire de ce message, merci d'en avertir immédiatement l'expéditeur. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Log4J servlet
Maybe someone is interested. Since I had all these problems with the autoconfig, I wrote a servlet to solve that. The servlet does the following: - searches for log4j.properties in web-inf/classes if it doesn't find it, it reverts to autoconfig - it has a own worker thread for checking changes in this file (this is to enable a clean shutdown of the webapp) - it can be forced to check immediately by executing the "doGet" (by opening de servlet URL in a browser) - it can override the log4j settings by submitting a log4j file The last point requires some additional information: when a browser is pointed to the log4j, it will run the doGet and report back "file reexamined" plus it will display a textarea and a submit button. By pasting the contents of a log4j.properties file in the textarea and hitting submit, that configuration is activated until either file actual file updated or a new file is posted. Tom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[ANNOUNCEMENT] Apache Logging Services project
Good morning to all, The log4j developers are pleased to announce that the Board of Directors of the Apache Software Foundation unanimously passed a resolution for the creation of the Apache Logging Services project. A copy of the resolution can be found at: http://nagoya.apache.org/wiki/apachewiki.cgi?LoggingApacheOrg/BoardResoluion The Logging Services project is intended to provide cross-language logging services for purposes of application debugging and auditing. The discussions leading to the submission of this resolution can be found at: http://marc.theaimsgroup.com/?t=10711552621&r=1&w=2 We should also mention that thanks to the relentless efforts of many developers and in particular those of Scott Deboy, we currently have inter-operability between the following projects: * Log4Cxx (c++) * Log4CPlus * Log4j * Log4Net * Log4Perl * Log4PHP * JDK1.4's util.logging framework There is still much work ahead bringing in the various projects to work together within the Logging Services Project. The process is likely to take a little while. In the mean time, we will continue to do what we like best, that is developing open source software. Happy holidays to all, -- Ceki Gülcü For log4j documentation consider "The complete log4j manual" ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: e-mail logger?
i mean there's a smtp appender in the log4j lib!? Charl Gerber schrieb am 18.12.2003 09:55: Is there an implementation available (or planned) for a log4j e-mail logger? I would find it extremely usefull if my application would e.g. send me an e-mail every time an error occurs ... it is often impractical to keep monitoring logs all day log. Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Mit freundlichen Gruessen Michael Seele([EMAIL PROTECTED]) G & H Softwareentwicklung GmbH Tel.: {+49|0} 7451 - 53 706 0 Robert-Bosch-Str. 23 Fax: {+49|0} 7451 - 53 706 90 D-72160 Horb a.N. http://www.guh-software.de - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Réf. : RE: log4J Struts 1.1 WL 6.1 SP3 JDK 1.3
Hello, Make sur your classpath environnement variable is clean and does not contain jars included in the WEB-INF/lib or WEB-INF/classes directories If not, send the error returned by the server, it would be more helpful. Hope it helps. Ahmed ALAMI DQAI/SDV Tel : 05 57 75 60 52 Post-scriptum La Poste Ce message est confidentiel. Sous réserve de tout accord conclu par écrit entre vous et La Poste, son contenu ne représente en aucun cas un engagement de la part de La Poste. Toute publication, utilisation ou diffusion, même partielle, doit être autorisée préalablement. Si vous n'êtes pas destinataire de ce message, merci d'en avertir immédiatement l'expéditeur. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: e-mail logger?
There is already an SMTPAppender in log4j, and very handy it is too. http://jakarta.apache.org/log4j/docs/api/org/apache/log4j/net/SMTPAppender.html cheers, Paul Smith On Thu, 2003-12-18 at 19:55, Charl Gerber wrote: > Is there an implementation available (or planned) for a log4j e-mail logger? > > I would find it extremely usefull if my application would e.g. send me an > e-mail every time an error occurs ... it is often impractical to keep > monitoring logs all day log. > > Thanks. > > - > 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]
RE: log4J Struts 1.1 WL 6.1 SP3 JDK 1.3
Your web application's WEB-INF/LIB directory should not have commons-logging in it but should have log4j-1.2.8 or whatever version you want. Then in your WEB-INF/classes directory you need to place your log4j.properties file. I have this working on for Struts. If you continue to have problems why dont you get hold of the exact error message from your server's log files and post something more useful to work with, Stop being lame. -Original Message- From: Emma Gabriela Guevara [mailto:[EMAIL PROTECTED] Sent: 17 December 2003 22:21 To: Log4J Users List Subject: Re: log4J Struts 1.1 WL 6.1 SP3 JDK 1.3 the log4J jar file clashes with the commons logging jar file (struts)... if we remove the commons logging jar, the app won't run b/c some classes are missing. We don't know if we can even use Log4J with JDK 1.3 Does anyone know? Can anyone help? Jacob Kjome <[EMAIL PROTECTED]> wrote: Quoting Emma Gabriela Guevara : > We are trying to use Log4J in our Struts app (we are using JDK 1.3). > But we keep getting errors. > Can anyone help us? > Not until you tell us what the errors are. Jake - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing --- QAS Ltd. Developers of QuickAddress Software http://www.qas.com";>www.qas.com Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Selective Logging
Hi, I am new to log4j.Can you help me by answering the following questions? 1)I want to log only error level messages in log file.How do I proceed? 2)Is it possible to change the configuration setting at runtime without restarting the server it should reflect while logging? 3)Is it possible application running in different port should log to a same log file? Thanks in Advance. cheers Sudhakar DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Private Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: log4J Struts 1.1 WL 6.1 SP3 JDK 1.3
This is such an annoying type of question. How can anyone help you if you don't tell us what the problem is! Dear me. THINK. -Original Message- From: Emma Gabriela Guevara [mailto:[EMAIL PROTECTED] Sent: 17 December 2003 20:51 To: [EMAIL PROTECTED] Subject: log4J Struts 1.1 WL 6.1 SP3 JDK 1.3 We are trying to use Log4J in our Struts app (we are using JDK 1.3). But we keep getting errors. Can anyone help us? - Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing --- QAS Ltd. Developers of QuickAddress Software http://www.qas.com";>www.qas.com Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
e-mail logger?
Is there an implementation available (or planned) for a log4j e-mail logger? I would find it extremely usefull if my application would e.g. send me an e-mail every time an error occurs ... it is often impractical to keep monitoring logs all day log. Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]