Re: Servlet won't run init()

2004-02-19 Thread Phil Campaigne
Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, February 19, 2004 2:39 PM Subject: Re: Servlet won't run init() Shapira, Yoav wrote: Howdy, Now my IDEA IDE tech is telling me he thinks the problem is that the init() method is running before the IDEA debugger getes a c

Re: Servlet won't run init()

2004-02-19 Thread Parsons Technical Services
;[EMAIL PROTECTED]> Sent: Thursday, February 19, 2004 2:39 PM Subject: Re: Servlet won't run init() > Shapira, Yoav wrote: > > Howdy, > > > > > >>Now my IDEA IDE tech is telling me he thinks the problem is that the > >>init() method is running before

Re: Servlet won't run init()

2004-02-19 Thread Tony Nakamura
t; <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, February 19, 2004 1:10 PM Subject: RE: Servlet won't run init() Howdy, >Now my IDEA IDE tech is telling me he thinks the problem is that the >init

Re: Servlet won't run init()

2004-02-19 Thread Phil Campaigne
Shapira, Yoav wrote: Howdy, Now my IDEA IDE tech is telling me he thinks the problem is that the init() method is running before the IDEA debugger getes a chance to connect to tomcat. I don't see my println(..) messages in catalina.out. 1. Is there another log? 2. Would I likely run into similar

RE: Servlet won't run init()

2004-02-19 Thread Shapira, Yoav
Howdy, >Now my IDEA IDE tech is telling me he thinks the problem is that the >init() method is running before the IDEA debugger getes a chance to >connect to tomcat. I don't see my println(..) messages in catalina.out. > 1. Is there another log? >2. Would I likely run into similar problems using

Re: Servlet won't run init()

2004-02-19 Thread Phil Campaigne
Shapira, Yoav wrote: Howdy, I tried overriding init() and super.init(SerlvetConfig cf) as 1st line of init(ServletConfig cf) but neither worked. Strange. Any errors in your logs? I was thinnking that I should use the init() method appraoch becasue it is a connectionpool and I want to initial

Re: Servlet won't run init()

2004-02-19 Thread Phil Campaigne
-doc/jndi-resources-howto.html Just a thought. Doug - Original Message - From: "Larry Isaacs" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, February 19, 2004 1:06 PM Subject: RE: Servlet won't run init() -Orig

Re: Servlet won't run init()

2004-02-19 Thread Parsons Technical Services
Just a thought. Doug - Original Message - From: "Larry Isaacs" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, February 19, 2004 1:06 PM Subject: RE: Servlet won't run init() > -Original Message- > F

RE: Servlet won't run init()

2004-02-19 Thread Larry Isaacs
> -Original Message- > From: Shapira, Yoav [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 19, 2004 12:47 PM > To: Tomcat Users List > Subject: RE: Servlet won't run init() > > > > Howdy, > > >I tried overriding init() and super.init(Se

RE: Servlet won't run init()

2004-02-19 Thread Shapira, Yoav
Howdy, >I tried overriding init() and super.init(SerlvetConfig cf) as 1st line >of init(ServletConfig cf) but neither worked. Strange. Any errors in your logs? >I was thinnking that I should use the init() method appraoch becasue it >is a connectionpool and I want to initially build the pool b

Re: Servlet won't run init()

2004-02-19 Thread Phil Campaigne
Shapira, Yoav wrote: Howdy, public void init(ServletConfig cf) throws ServletException { Either override init() instead of init(ServletConfig), or call super.init(cf) as your first line. As the others suggested, a ServletContextListener is not a bad place to put this time of code either. Yoav S

RE: Servlet won't run init()

2004-02-19 Thread Shapira, Yoav
Howdy, >public void init(ServletConfig cf) throws ServletException { Either override init() instead of init(ServletConfig), or call super.init(cf) as your first line. As the others suggested, a ServletContextListener is not a bad place to put this time of code either. Yoav Shapira This e-ma

Re: Servlet won't run init()

2004-02-19 Thread Phil Campaigne
QM wrote: : Hello, : I want a servlet to run its init() method when I start Tomcat. I put : the following entry in web.xml but that doesn't do it: : [snip] Please, humour me: put load-on-startup after init-param. I believe that's the order per the servlet spec. Humour me, part 2: verify the meth

Re: Servlet won't run init()

2004-02-18 Thread Liem Do
Put the tags after the tags. - Original Message - From: "Phil Campaigne" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 18, 2004 4:30 PM Subject: Servlet won't run init() > Hello, > I want a servlet to run its init() method when I start Tomcat. I put > the fol

Re: Servlet won't run init()

2004-02-18 Thread QM
: Hello, : I want a servlet to run its init() method when I start Tomcat. I put : the following entry in web.xml but that doesn't do it: : [snip] Please, humour me: put load-on-startup after init-param. I believe that's the order per the servlet spec. Humour me, part 2: verify the method signat