I have seen this term "refactor" used on
and off (see below) and am unsure as to its
precise meaning, could someone define it for me?
Thanks
Peter
-----Original Message-----
From: Dave Smith <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, January 02, 2001 9:34 AM
Subject: Re: Repost of problem: tomcat hangs with sockets on CLOSE_WAIT when
user cancels request
>Ramakrishna,
>
>>
org.apache.jasper.runtime.JspServlet.unknownException(JspServlet.java:268)
>
>Your JSP is crapping out. Are you catching this by using an error page?
>Notice, the trace is kind enough to even tell you the line number of the
>offending source code. Look in the work folder and examine the generated
>jsp source code at line 268.
>
>Or, use your favorite debugging strategy and refactor.
>
>Regards,
>
>Dave
>
>----- Original Message -----
>From: "RAMAKRISHNA SANKA" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Tuesday, January 02, 2001 10:16 AM
>Subject: Repost of problem: tomcat hangs with sockets on CLOSE_WAIT when
>user cancels request
>
>
>Hi All,
>I am running Tomcat 3.1 in stand-alone mode on AIX 4.3.3 using
>IBM JDK1.2. My servlets connect to an Oracle database and
>forward to a jsp to display the results. Of late I have had
>flaky behaviour from this operation.
>
>Problem 1.
>Every now and this request causes a SIGSEGV and core dump.
>========= BEGIN excerpt from javacore... ==============
>SIGSEGV received at 2 in . Processing terminated.
> "Thread-56" (TID:0x800323b0, sys_thread_t:0x308ec430, state:R, native
>ID:0xc41) prio=5
> at java.io.BufferedWriter.<init>(BufferedWriter.java:96)
> at java.io.BufferedWriter.<init>(BufferedWriter.java:79)
> at java.io.PrintWriter.<init>(PrintWriter.java:112)
> at
>org.apache.jasper.runtime.JspServlet.unknownException(JspServlet.java:268)
> at
org.apache.jasper.runtime.JspServlet.service(JspServlet.java:377)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java(Com
p
>iled
>Cod
>e))
> at
>org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
> at
>org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Http
C
>onnectio
>nHandler.java:160)
> at
>org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:33
8
>)
> at java.lang.Thread.run(Thread.java:481)
>
> ----- Native Stack -----
> unavailable - iar 2 not in text area
>-------------------------------------------------------------------------
>J2RE 1.2.2 IBM build ca122-19991217
>
>========= End excerpt from javacore ... ===========
>
>Problem 2.
>This request takes too long. I click the stop button on the
>Netscape browser and it just sits there waiting. I check on
>the server and 'netstat -a | grep <port>' reveals a connection
>in LISTEN status and another in CLOSE_WAIT status. However,
>from this point on no other connection from any client works.
>(It takes inordinately long. I waited ten minutes with no
>result other than CPU going to 100% on the client side.)
>I have to re-start the server before I can do anything else.
>
>This is really bugging me. Please help.
>
>RK
>
>
>____________________________________________________________________
>Get free email and a permanent address at http://www.netaddress.com/?N=1
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, email: [EMAIL PROTECTED]
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, email: [EMAIL PROTECTED]
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]