2004-01-30 15:17:25,337 ERROR [STDERR] java.lang.NullPointerException
2004-01-30 15:17:25,437 ERROR [STDERR] at com.wsc.taxgard.web.IndexFilter.doFilter(IndexFilter.java:120)
2004-01-30 15:17:25,437 ERROR [STDERR] at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:334)
2004-01-30 15:17:25,447 ERROR [STDERR] at com.wsc.taxgard.web.commons.CookieUpdateFilter.doFilter(CookieUpdateFilter.java:50)
2004-01-30 15:17:25,447 ERROR [STDERR] at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:334)
2004-01-30 15:17:25,447 ERROR [STDERR] at com.wsc.taxgard.web.commons.SessionExpiredFilter.doFilter(SessionExpiredFilter.java:57)
2004-01-30 15:17:25,457 ERROR [STDERR] at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:334)
2004-01-30 15:17:25,457 ERROR [STDERR] at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:286)
2004-01-30 15:17:25,457 ERROR [STDERR] at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
2004-01-30 15:17:25,467 ERROR [STDERR] at org.mortbay.http.HttpContext.handle(HttpContext.java:1808)
2004-01-30 15:17:25,467 ERROR [STDERR] at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525)
2004-01-30 15:17:25,467 ERROR [STDERR] at org.mortbay.http.HttpContext.handle(HttpContext.java:1758)
2004-01-30 15:17:25,477 ERROR [STDERR] at org.mortbay.http.HttpServer.service(HttpServer.java:879)
2004-01-30 15:17:25,477 ERROR [STDERR] at org.jboss.jetty.Jetty.service(Jetty.java:456)
2004-01-30 15:17:25,477 ERROR [STDERR] at org.mortbay.http.HttpConnection.service(HttpConnection.java:790)
2004-01-30 15:17:25,487 ERROR [STDERR] at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:952)
2004-01-30 15:17:25,487 ERROR [STDERR] at org.mortbay.http.HttpConnection.handle(HttpConnection.java:807)
2004-01-30 15:17:25,487 ERROR [STDERR] at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:197)
2004-01-30 15:17:25,497 ERROR [STDERR] at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
2004-01-30 15:17:25,497 ERROR [STDERR] at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:496)
2004-01-30 15:17:25,337 ERROR [STDERR] java.lang.NullPointerException
2004-01-30 15:17:25,667 INFO [STDOUT] Request from a remote host 10.255.12.40 ClientId aaa User john URL https://w40.wsc.com/taxgard/index.jsp
2004-01-30 15:17:25,437 ERROR [STDERR] at com.wsc.taxgard.web.IndexFilter.doFilter(IndexFilter.java:120)
2004-01-30 15:17:25,437 ERROR [STDERR] at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:334)
2004-01-30 15:17:25,447 ERROR [STDERR] at com.wsc.taxgard.web.commons.CookieUpdateFilter.doFilter(CookieUpdateFilter.java:50)
2004-01-30 15:17:25,447 ERROR [STDERR] at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:334)
2004-01-30 15:17:25,447 ERROR [STDERR] at com.wsc.taxgard.web.commons.SessionExpiredFilter.doFilter(SessionExpiredFilter.java:57)
2004-01-30 15:17:25,457 ERROR [STDERR] at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:334)
2004-01-30 15:17:25,457 ERROR [STDERR] at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:286)
2004-01-30 15:17:25,457 ERROR [STDERR] at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
2004-01-30 15:17:25,467 ERROR [STDERR] at org.mortbay.http.HttpContext.handle(HttpContext.java:1808)
2004-01-30 15:17:25,467 ERROR [STDERR] at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525)
2004-01-30 15:17:25,467 ERROR [STDERR] at org.mortbay.http.HttpContext.handle(HttpContext.java:1758)
2004-01-30 15:17:25,477 ERROR [STDERR] at org.mortbay.http.HttpServer.service(HttpServer.java:879)
2004-01-30 15:17:25,477 ERROR [STDERR] at org.jboss.jetty.Jetty.service(Jetty.java:456)
2004-01-30 15:17:25,477 ERROR [STDERR] at org.mortbay.http.HttpConnection.service(HttpConnection.java:790)
2004-01-30 15:17:25,487 ERROR [STDERR] at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:952)
2004-01-30 15:17:25,487 ERROR [STDERR] at org.mortbay.http.HttpConnection.handle(HttpConnection.java:807)
2004-01-30 15:17:25,487 ERROR [STDERR] at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:197)
2004-01-30 15:17:25,497 ERROR [STDERR] at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
2004-01-30 15:17:25,497 ERROR [STDERR] at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:496)
Scott M Stark wrote:
It depends on what is generating the stack trace. In order to get this behavior there has to be a line by line emission of the stack trace using System.err.println() for each line rather than one System.err.println() with the entire stack trace as a message. What is the source of this?
xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx -----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Vladyslav
Kosulin
Sent: Tuesday, January 27, 2004 10:26 AM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] log4j SMTP appender trouble
It looks like the logging event contains just 1 line from the exception trace instead of the whole trace!!! Is this a bug or a feature?
Vlad
Hi all, I activated SMTP appender to send errors by e-mail, but can't properly
configure it. Every time an Exception happens, I receive a lot of e-mails with every e-mail body containing only 1 line of the Exception
trace log, like:
[16:49:04,315,STDERR] at com.sybase.jdbc2.jdbc.SybStatement.queryLoop(SybStatement.java:1596)
Here is config:
<appender name="SMTP" class="org.apache.log4j.net.SMTPAppender"> <errorHandler
class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
<param name="Threshold" value="ERROR"/>
<param name="To" value="..."/>
<param name="From" value="..."/>
<param name="Subject" value="${jboss.server.name} JBoss Error"/>
<param name="SMTPHost" value="..."/>
<param name="BufferSize" value="100"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="[%d{ABSOLUTE},%c{1}] %m\r\n"/>
</layout>
</appender>
What's wrong? How to configure it to e-mail the whole trace at once?
Thanks, Vlad
------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user