RE: Tomcat 6.0.18 Servlet Loading/Reloading

2008-12-04 Thread Justin Randall
executed when Tomcat loads the Servlet. I hope this helps better clarify the situation. Justin. From: [EMAIL PROTECTED] To: users@tomcat.apache.org Date: Wed, 3 Dec 2008 20:46:50 -0600 Subject: RE: Tomcat 6.0.18 Servlet Loading/Reloading From: Justin Randall [mailto:[EMAIL PROTECTED

RE: Tomcat 6.0.18 Servlet Loading/Reloading

2008-12-04 Thread Caldarale, Charles R
From: Justin Randall [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat 6.0.18 Servlet Loading/Reloading Each Servlet in the application has load-on-startupX/load-on-startup where X represents the numeric order in which I've assigned them to start. Then yes, there's a problem, since your

RE: Tomcat 6.0.18 Servlet Loading/Reloading

2008-12-04 Thread Chris Hut
(ServletConfig). Chris -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2008 7:22 AM To: Tomcat Users List Subject: RE: Tomcat 6.0.18 Servlet Loading/Reloading From: Justin Randall [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat 6.0.18 Servlet

Re: Tomcat 6.0.18 Servlet Loading/Reloading

2008-12-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris, Chris Hut wrote: If you override: public void init(ServletConfig config), you MUST call super.init(config). If you don't, the config member of the base servlet class won't get set, which could cause problems downstream. It's also a good

RE: Tomcat 6.0.18 Servlet Loading/Reloading

2008-12-04 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat 6.0.18 Servlet Loading/Reloading -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It's also a good idea to call this.init() as well, since that's the expected behavior established by GenericServlet. Or just do

RE: Tomcat 6.0.18 Servlet Loading/Reloading

2008-12-03 Thread Justin Randall
I've been doing some more testing and added a bunch of System.out.println statements to the init, init(ServletConfig), and doPost/doGet methods so that I could see what my application was doing without log4j initialized. Basically when I restart Tomcat, it doesn't call any of the init methods

RE: Tomcat 6.0.18 Servlet Loading/Reloading

2008-12-03 Thread Caldarale, Charles R
From: Justin Randall [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat 6.0.18 Servlet Loading/Reloading Basically when I restart Tomcat, it doesn't call any of the init methods of the Servlet Unless you have load-on-startup set for the servlet in your webapp's WEB-INF/web.xml, that is correct