> From: Darrell Esau [mailto:darrell.e...@gmail.com] > Subject: full stack trace? > > Using tomcat 6.
Which Tomcat 6, exactly? What JVM? What platform? > For instance, I get a NullPointerException with the full > stack trace, then a few minutes later it happens again, > and I only get: > SEVERE: Servlet.service() for servlet MyServlet threw exception > java.lang.NullPointerException I can't reproduce your observations on Tomcat 6.0.18 under JDK 6u7 on Windows XP. I ran my buggy servlet 50 times and got 50 NPEs and full stack traces for each one in localhost.2009-03-18.log. > Is there any way to tell tomcat to ALWAYS show me > the full stack trace? I'm not aware of any configuration settings for this. Are you using the default logging mechanism? Post your server.xml and logging.properties for us to look at. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org