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
;[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
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
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
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
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
-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
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
> -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
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
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
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
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
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
: 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
15 matches
Mail list logo