Re: How to change the timezone for Tomcat?

2005-01-20 Thread Eric Rotick
On Thu, 20 Jan 2005 11:18:12 -0500, Tim Funk <[EMAIL PROTECTED]> wrote: > Odd. Is it possible the userid being used to launch tomcat has a borked > environment variable? > > For example: > public class Foo { >public static void main(String args[]) { >System.out.println(""+ new java.uti

Re: Tomcat/JVM crashes on Linux

2004-12-21 Thread Eric Rotick
() be called somewhere? Isn't there a way to prevent > >> System.exit() from being called? I know I'm grasping at straws, but > >> what else is there to do in this situation? > >> > >> Greg > >> On Dec 20, 2004, at 1:57 PM, Eric Rotick wrote:

Re: Tomcat/JVM crashes on Linux

2004-12-21 Thread Eric Rotick
t else is there to do in this situation? > > Greg > On Dec 20, 2004, at 1:57 PM, Eric Rotick wrote: > > > I had a similar problem with an almost identical setup to yours which > > turned out to be bad memory. An extra 1GB stick was added which had a > > bad section in

Re: Tomcat/JVM crashes on Linux

2004-12-20 Thread Eric Rotick
The application receives data packets from acoustic sensors. While the total load is not huge, because of the way the data is collected there are periods of no activity and then periods when all hell breaks loose. This happens every 15 minutes and we size the memory based on the use of swap over a

Re: Tomcat/JVM crashes on Linux

2004-12-20 Thread Eric Rotick
n't > think it could be the RAM. > > Greg > > On Dec 20, 2004, at 1:57 PM, Eric Rotick wrote: > > > I had a similar problem with an almost identical setup to yours which > > turned out to be bad memory. An extra 1GB stick was added which had a > > bad

Re: Tomcat/JVM crashes on Linux

2004-12-20 Thread Eric Rotick
I had a similar problem with an almost identical setup to yours which turned out to be bad memory. An extra 1GB stick was added which had a bad section in the top of the memory map. This memory only got used when things got busy so everyone suspected some threading issue. We got lucky and spotted s

Re: strange tomcat Behavior need urgent help.

2004-12-20 Thread Eric Rotick
This is a MySql problem. It shuts down connections if they have been idle for too long. You need a pool manager that takes care of this. Something like c3p0 will do the job. On Sun, 19 Dec 2004 12:28:09 + (GMT), Krishnakant Mane <[EMAIL PROTECTED]> wrote: > > > hello all, > I am Krishnakant

Re: Why it is better to call response.isCommitted() before calling sendRedirect()?

2004-12-05 Thread Eric Rotick
If the response has already committed then you cannot send a redirect. The various header details contain the redirect information and the response is said to be committed if these headers have already been sent back to the client. On Sun, 5 Dec 2004 23:21:34 +0800, zerol tib <[EMAIL PROTECTED]>

Re: Why some variables and methods have leading "_" in the servlet compiled from JSP?

2004-12-05 Thread Eric Rotick
I think the variables defined by the JSP compiler are named with the leading underscore to avoid any naming clashes with names you may have used yourself. Of course, if you've used leading underscores yourself On Sun, 5 Dec 2004 10:11:01 -0500, Rhino <[EMAIL PROTECTED]> wrote: > > > > ---

Re: Tomcat diagnostic tools

2004-12-05 Thread Eric Rotick
You could use 'netstat -an' to see if there is a process listening on your chosen ports and 'tcpdump port ' to see the packets going to and from the port. You could also use ethereal to capture the packets and then use the 'follow TCP stream' option to see inside the packets. On 05 Dec 2004 1

Re: PureTLSImplementation

2004-11-03 Thread Eric Rotick
>From looking at the source I say not. The message is benign so what's the problem with it appearing in a _debug_ log file? On Wed, 3 Nov 2004 16:57:04 +0100 (CET), Giuseppe Briotti <[EMAIL PROTECTED]> wrote: > > > > This only comes out when asking for detailed debug information > > and can be i

Re: PureTLSImplementation

2004-11-03 Thread Eric Rotick
This only comes out when asking for detailed debug information and can be ignored. It arises when you use SSL and Tomcat tries to load one of two implementations. The first generally fails as the relevant jars are not available which is what you are seeing. The second implementation loads OK as th