Thanks

> You can set the timeout period in your web descriptor file (web.xml)
> on the server side.
> 
> --- "Milotte, Don" <[EMAIL PROTECTED]> wrote:
> >     Along the same vein,
> >             If the sessionTimeout is kept to the default period of 30
> > minutes, what mechanism
> >     should be used to insure that a session remains "active"? I.E., if
> > you are working with some
> >     parameters in an applet that one of your servlets is going
> > process,
> > you walk away for a few
> >     cups O'joe and before you know it, 30 minutes have gone by. You
> > return to your applet and submit
> >     your parameters for the servlet to process, and low and behold,
> > you
> > get a nullpointerException
> >     in the service routine(doGet or dePost) because your session has
> > ended ... 
> >                                     Thanks
> > 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, April 24, 2002 4:17 PM
> > To: JDJList
> > Subject: [jdjlist] Re: How to unload a servlet?
> > 
> > 
> > When I looked into it, it is a 4.0 only feature.
> > 
> > And no, it's not programatic control, but rather administative
> > control.
> > 
> > Documentation is:
> > http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager-howto.html
> > 
> > -----Original Message-----
> > From: Milotte, Don [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, April 24, 2002 1:00 PM
> > To: JDJList
> > Subject: [jdjlist] Re: How to unload a servlet?
> > 
> > 
> >     Where is this "manager servlet" documented in Tomcat?
> >     Is this a class you can instantiate in your code and have it
> > remove
> > a servlet under
> >     your control?
> >                             Thanks
> > 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, April 24, 2002 1:31 PM
> > To: JDJList
> > Subject: [jdjlist] Re: How to unload a servlet?
> > 
> > 
> > For Tomcat, check the manager servlet that comes with the later
> > (3.2 and
> > beyond, I think) releases.  It allows you to take contexts in and
> > out of
> > service.
> > 
> > Personally, I find it easier to simply recyle Tomcat.
> > Don Brown
> > 
> > -----Original Message-----
> > From: Jason Kilgrow [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, April 24, 2002 9:20 AM
> > To: JDJList
> > Subject: [jdjlist] Re: How to unload a servlet?
> > 
> > 
> > In certain servlet containers, WebLogic for instance, there are OS
> > level programs/commands that can undeploy a context. That would
> > unload/destroy a servlet. These commands are usually executed from
> > a
> > console type application. I know this to be true with WebLogic.
> > Tomcat cannot do this. You have to bring down the whole engine. I'm
> > not sure about other servlet engines, though.
> > 
> > --- "Hamdan, Saad" <[EMAIL PROTECTED]> wrote:
> > >
> > > What about if I want to relinquish resources or do some clean-up,
> > > things
> > > that I want to control, any ideas since I don't have control over
> > > unloading
> > > the servlet...???
> > >
> > >
> > > thanks,
> > >
> > >
> > > -----Original Message-----
> > > From: Jason Kilgrow [mailto:[EMAIL PROTECTED]]
> > > Sent: Tuesday, April 23, 2002 12:38 PM
> > > To: JDJList
> > > Subject: [jdjlist] Re: How to unload a servlet?
> > >
> > >
> > > Shut down the servlet engine (container).
> > >
> > > --- "Hamdan, Saad" <[EMAIL PROTECTED]> wrote:
> > > > the destroy() method gets called when the servlet is unloaded.
> > > > How to unload the servlet to cause the destroy() method to be
> > > > called?
> > > >
> > > > thanks,
> > > >
> > > > Saad Hamdan
> > > > 704.344.2904
> > > > [EMAIL PROTECTED]
> > > <mailto:[EMAIL PROTECTED]>
> > > >
> > > >
> > > > To change your membership options, refer to:
> > > > http://www.sys-con.com/java/list.cfm
> > >
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Yahoo! Games - play chess, backgammon, pool and more
> > > http://games.yahoo.com/
> > >
> > > To change your membership options, refer to:
> > > http://www.sys-con.com/java/list.cfm
> > >
> > > To change your membership options, refer to:
> > > http://www.sys-con.com/java/list.cfm
> > 
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Games - play chess, backgammon, pool and more
> > http://games.yahoo.com/
> > 
> > To change your membership options, refer to:
> > http://www.sys-con.com/java/list.cfm
> > 
> > 
> > To change your membership options, refer to:
> > http://www.sys-con.com/java/list.cfm
> > 
> > To change your membership options, refer to:
> > http://www.sys-con.com/java/list.cfm
> > 
> > To change your membership options, refer to:
> > http://www.sys-con.com/java/list.cfm
> > 
> > To change your membership options, refer to:
> > http://www.sys-con.com/java/list.cfm
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Games - play chess, backgammon, pool and more
> http://games.yahoo.com/
> 
> To change your membership options, refer to:
> http://www.sys-con.com/java/list.cfm


To change your membership options, refer to:
http://www.sys-con.com/java/list.cfm

Reply via email to