I've been using JavaTM 2 SDK, Standard Edition, Version 1.2.2. I don't know
if it is JDK 1.2.2_002 or anything else. I'll try to change the VM.
I have another problem here.
I have a servlet which collects the name of the table as a parameter, runs
an sql query and displays the information on an html page. That page has to
be periodically refreshed, by everytime doing the query and displaying the
info.
This is what I have been using.
out.println("<html>");
out.println("<meta http-equiv=Refresh content= "+ refreshtime + ";
URL=http://171.70.9.195:8080/demo/servlet/status?tname= "+tablename+">");
out.println("<head>");
The servlet works fine the first time. But gives a null pointer exception
the next time when it is refreshed. the tablename is being collected as null
during the refreshing. It works ok, if I do a manual refresh.
Any pointers please,
Thanks,
L
-----Original Message-----
From: Randy Layman [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 28, 2001 12:43 PM
To: [EMAIL PROTECTED]
Subject: RE: error in refreshing the servlet window
For what its worth, I recently upgraded from JDK 1.2.2_002 to
1.2.2_007 (I upgraded because of the security alert). I have been having
the VM crash on me two or three times a day during active development. In
the past three days since I upgraded it hasn't crashed once. This is on Win
NT 4.0, not 2000, but it should be about the same.
Randy
-----Original Message-----
From: Ben Flaumenhaft [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 28, 2001 1:34 PM
To: [EMAIL PROTECTED]
Subject: Re: error in refreshing the servlet window
This is a VM crash. What VM are you using? You might try a different VM.
There are two high-quality, stable ones that I've been using -- one is the
Sun one, and the other is the IBM JDK, which you can get at
http://ibm.com/java.
Regards,
Ben Flaumenhaft
Principal, Sidelight Consulting
http://www.sidelight.com
----- Original Message -----
From: "Adilakshmi Lingam" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 28, 2001 10:13 AM
Subject: error in refreshing the servlet window
>
>
> Hi,
>
> I've started using Tomcat 3.2.1 on Win 2k very recently. I've been doing
> some small applications and had no problems, so far.
> Today, when I started to refresh the servlet page, after a couple of
times,
> the tomcat is automatically shut down and a window appears saying, "
> Java.exe has generated errors and closing the application. You will need
to
> restart the program. An error log is being generated."
>
> what might be the problem? Is there a way to automatically start Tomcat as
> soon as it has been shut down?
> Any sort of clues are very much appreciated.
>
> Thanks,
> Lakshmi
>
>
> ---------------------------------------------------------------------
> 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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]