Hi;
I am using JRun Pro to develop a JSP/servlet project. I found that the
servlet engine randomly destroys my servlet instance. According to
Java Servlet API Spec 2.1a, destroy() is called by servlet engine when
the servlet is removed from service. I need to maintain a persistent
state for my servlet instance. Once the servlet is gone, the later
service
is broken. I then found out my servlet's destroy() method is called by
JRun
The stack dump is attached at the end of this message. Anybody has the
same
problem?
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".