Thanks for the tip.

However, I just check all of my servlet code and they all call super.init().

What else could it be?

cc

Paul Colton wrote:

> This usually means you used the init() method of your servlet but did not
> call super.init(...) as you should.
>
> -PC
>
> ----- Original Message -----
> From: Christopher Cobb <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Friday, May 21, 1999 12:30 PM
> Subject: Re: JRun destroy servlets while it should still be running
>
> > Chris Hsu wrote:
> >
> > > Hi;
> > > I am using JRun Pro to develop a JSP/servlet project. I found that the
> > > servlet engine randomly destroys my servlet instance.
> >
> > Just before I read your email, I was looking into exactly the same
> behavior.  I am using JRun 2.3 build 141 with IIS3 on NT4/SP3.
> >
> > > I am using NT 4.0 w/SP4 JRun Pro 2.3 build 1.4.1. (I also tried build
> > > 1.4.5,
> > > the problem is still there)
> > >
> > > Steps to reproduce the problem:
> > > While JRun destroy servlets randomly. There is a sure way to reproduce.
> > > 1. Start up JRun.
> > > 2. Use browser to bring up a servlet's service
> > > 3. Touch one of the JSP files. JRun will then recompile the JSP file
> > > 4. The next time I request the servlet's service, JRun will destroy all
> > > servlets
> > >     and generate the stack at the end of the message.
> > >
> > > Thanks for your time
> > > Chris Hsu
> > > Uniscape Inc.
> > > http://www.uniscape.com
> > >
> > > stack dump
> > >         at BaseOperationServlet.destroy(Unknown Source)
> > >         at com.livesoftware.jrun.JRun.destroyAllServlets(Compiled Code)
> > >         at com.livesoftware.jrun.JRun.getServlet(Compiled Code)
> > >         at com.livesoftware.jrun.JRun.getServlet(Compiled Code)
> > >         at
> > >
> com.livesoftware.jrun.JRunServletContext.getServlet(JRunServletContext.ja
> > > va)
> > >         at
> > >
> com.livesoftware.jrun.plugins.jsp.JSPCore.loadJSPServletClass(JSPCore.jav
> > > a)
> > >         at
> > >
> com.livesoftware.jrun.plugins.jsp.ServletCode.getJSPServlet(ServletCode.j
> > > ava)
> > >         at
> com.livesoftware.jrun.plugins.jsp.JSPCore.getPage(JSPCore.java)
> > >         at com.livesoftware.jrun.plugins.jsp.JSP.callPage(JSP.java)
> > >         at com.livesoftware.jrun.plugins.jsp.JSP.service(JSP.java)
> > >         at javax.servlet.http.HttpServlet.service(Compiled Code)
> > >         at
> > >
> com.livesoftware.jrun.JRunServletContext$JRunRequestDispatcher.forward(JR
> > > unServletContext.java)
> > >         at com.uniscape.webgui.BasicPagePublisher.publish(Compiled Code)
> > >         at
> > >
> com.uniscape.webgui.BasicPagePublisher.publish(BasicPagePublisher.java:68
> > > )
> > >         at
> > >
> com.uniscape.webgui.BaseWebApplication.handleRequest(BaseWebApplication.j
> > > ava:247)
> > >         at BaseOperationServlet.service(Compiled Code)
> > >         at javax.servlet.http.HttpServlet.service(Compiled Code)
> > >         at com.livesoftware.jrun.JRun.runServlet(Compiled Code)
> > >         at
> com.livesoftware.jrun.JRunGeneric.handleConnection(JRunGeneric.java)
> > >         at
> > >
> com.livesoftware.jrun.service.web.JRunWebServiceHandler.handleOutput(JRun
> > > WebServiceHandler.java)
> > >         at
> > >
> com.livesoftware.jrun.service.web.JRunWebServiceHandler.handleRequest(Com
> > > piled Code)
> > >         at
> com.livesoftware.jrun.service.ThreadConfigHandler.run(Compiled Code)
> > >
> > >
> ===========================================================================
> > > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> > > of the message "signoff JSP-INTEREST".  For general help, send email to
> > > [EMAIL PROTECTED] and include in the body of the message "help".
> >
begin:vcard
n:Cobb;Christopher
tel;cell:703-909-7550
tel;fax:703-648-7475
tel;work:703-648-6725
x-mozilla-html:TRUE
org:Powerhouse Technologies, Inc.
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:SW Architect
fn:Christopher Cobb
end:vcard

Reply via email to