Please HELP ME!

Our HTTP server are always slow down or crash. I suspect it is cause by new web application I am working on.

Here is the log I got after I run task- tell http quit. It couldn’t stop HTTP server, just waiting for session to finish.

04/14/2004 05:10:08 PM HTTP Server: Waiting for session to finish: Session State [Processing Request] Session ID [1] GET /start.nsf/watting?openagent HTTP/1.1

04/14/2004 05:10:08 PM HTTP Server: Waiting for session to finish: Session State [Processing Request] Session ID [2] GET /start.nsf/xml?openagent HTTP/1.1

04/14/2004 05:10:28 PM HTTP Server: Waiting for session to finish: Session State [Processing Request] Session ID [1] GET /start.nsf/watting?openagent HTTP/1.1

04/14/2004 05:10:28 PM HTTP Server: Waiting for session to finish: Session State [Processing Request] Session ID [2] GET /start.nsf/xml?openagent HTTP/1.1

04/14/2004 05:10:48 PM HTTP Server: Waiting for session to finish: Session State [Processing Request] Session ID [1] GET /start.nsf/watting?openagent HTTP/1.1

04/14/2004 05:10:48 PM HTTP Server: Waiting for session to finish: Session State [Processing Request] Session ID [2] GET /start.nsf/xml?openagent HTTP/1.1

What is the possible reason that cuased the problem?

This my code:

import lotus.domino.*;

import java.net.*;

import com.sun.net.*;

import java.security.*;

import javax.net.ssl.*;

import java.io.*;

public class JavaAgent extends AgentBase {

public void NotesMain() {

try {

Session session = getSession();

AgentContext agentContext = session.getAgentContext();

PrintWriter pw = getAgentOutput();

String MYURL = "http://cuongcm/start.nsf/xml?openagent";

URL myurl = new URL(MYURL);

URLConnection uc = myurl.openConnection();

uc.setRequestProperty("Connection", "close");

InputStreamReader isr = new InputStreamReader(uc.getInputStream());

BufferedReader in = new BufferedReader(isr);

String myString = in.readLine();

while (myString != null) 

{

	System.out.println(myString);

	myString=in.readLine();

}

pw.println(myString);

} catch(Exception e) {

e.printStackTrace();

}

}

}