-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gabe,
Gabe Wong wrote:
Sounds very much like a memory issue as echoed by others on the list.
I'm not so sure: he's getting what looks like a clean shutdown, not a VM
crash or OOME or anything like that.
If it were on Linux and he were running out
Darek Czarkowski wrote:
Martin Cavanagh wrote:
Caldarale, Charles R wrote:
From: Darek Czarkowski [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat crash @ midnight - but why?
Now, this would be funny, can you search the source code of the
deployed application for System.exit call
My logs are being being redirected to other directorys, where log levels
are being applied. This are just the tomcat logs, since its tomcat
which is crashing.
The logs from stdout are just cases where things are still (or also)
being written to Std out -which is the exception rather than the
PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Friday, September 21, 2007 7:19 AM
Subject: Re: Tomcat crash @ midnight - but why?
What's immediately before the shutdown description in the logs?
p
Martin Cavanagh wrote:
Why would windows report it as crashing then?
I know I
Caldarale, Charles R wrote:
From: Darek Czarkowski [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat crash @ midnight - but why?
Now, this would be funny, can you search the source code of
the deployed application for System.exit call?
Heres trouble...the System does call
Martin Cavanagh wrote:
Heres trouble...the System does call System.exit(), when it
can't create the directory... - so I understand why my application would
stop- but why would tomcat shutdown?
And there is the problem. System.exit() will kill the JVM (unless you
are running under a
Martin Cavanagh wrote:
Caldarale, Charles R wrote:
From: Darek Czarkowski [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat crash @ midnight - but why?
Now, this would be funny, can you search the source code of the
deployed application for System.exit call?
Heres trouble
Are you using Log4j in your application?
It has the option to do daily (midnight) rotates on log files...
Oh - and you may want to have a serious talk with the cleaning lady,
not that she unplugs the server for the vacuum cleaner.. ^^
Cheers
Andrew
On 26/09/2007, at 6:11 PM, Christopher
Mark Thomas wrote:
Martin Cavanagh wrote:
Heres trouble...the System does call System.exit(), when it
can't create the directory... - so I understand why my application would
stop- but why would tomcat shutdown?
And there is the problem. System.exit() will kill the JVM (unless
From: Andrew Miehs [mailto:[EMAIL PROTECTED]
Oh - and you may want to have a serious talk with the cleaning lady,
not that she unplugs the server for the vacuum cleaner.. ^^
Don't joke, it happened repeatedly to a box I used to manage in a
hospital. Even after we taped over the plug, writing
From: Martin Cavanagh [mailto:[EMAIL PROTECTED]
Now before I execute the System.exit I do a dump.
Are you sure shutting down the entire Tomcat instance is the appropriate
thing to do if you can't create the log directory? As opposed to, say,
logging the problem and returning an appropriate
Because tomcat is running as a service, permissions may be an issue for
creating/writing to the directory in question, most likely this is why
the task fails... unless the Timer task is a critical process don't use
System.exit(0), just check the if the task runs or not and if not log
the
From: Franck Borel [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat crash @ midnight - but why?
one problem could be insufficient RAM you assigned to Tomcat.
How much RAM have you set to your Tomcat?
Don't confuse physical RAM with the virtual memory sizing of the Java
heap. Having
Charles,
one problem could be insufficient RAM you assigned to Tomcat.
How much RAM have you set to your Tomcat?
Don't confuse physical RAM with the virtual memory sizing of the Java
heap. Having insufficient RAM on the system will only result in
excessive paging, not process termination.
Martin Cavanagh wrote:
Caldarale, Charles R wrote:
From: Darek Czarkowski [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat crash @ midnight - but why?
Now, this would be funny, can you search the source code of the
deployed application for System.exit call?
Heres trouble
@tomcat.apache.org
Sent: Friday, September 21, 2007 7:19 AM
Subject: Re: Tomcat crash @ midnight - but why?
What's immediately before the shutdown description in the logs?
p
Martin Cavanagh wrote:
Why would windows report it as crashing then?
I know I didn't shut it down, I was sleeping, as I assume
for the exact port number)
Martin--
- Original Message -
From: Pid [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Friday, September 21, 2007 7:19 AM
Subject: Re: Tomcat crash @ midnight - but why?
What's immediately before the shutdown description in the logs?
p
Martin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Martin,
Martin Cavanagh wrote:
Hi guys, I'm still having this problem.
Its happened 3 times now. Always at exactly midnight. 21.09, 25.09 and
26.09.
Strange. What is the uptime of your operating system? Perhaps it's being
rebooted every
Hi Martin,
Its happened 3 times now. Always at exactly midnight. 21.09, 25.09 and
26.09.
We have VM Ware Server as the hardware - could this cause the problem?
What kind of network connection are you using? NAT or Bridge?
I have a firewall on the machine with only the HTTPS port open.
From: Martin Cavanagh [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat crash @ midnight - but why?
Hmm maybe this little bit of extra info helps
Not really, but answering Pid's question below might, as would following
David's suggestions.
656MB RAM
That's an awfully small amount of memory
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
From: Martin Cavanagh [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat crash @ midnight - but why?
656MB RAM
That's an awfully small amount of memory for a modern system, but is
probably not pertinent
Christopher Schultz wrote:
Chuck,
Caldarale, Charles R wrote:
From: Martin Cavanagh [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat crash @ midnight - but why?
656MB RAM
That's an awfully small amount of memory for a modern system, but is
probably not pertinent.
Especially when you're
Thanks for your answers
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Martin,
Martin Cavanagh wrote:
Hi guys, I'm still having this problem.
Its happened 3 times now. Always at exactly midnight. 21.09, 25.09 and
26.09.
Strange. What is the uptime of
Hi Frank
Franck Borel wrote:
Hi Martin,
Its happened 3 times now. Always at exactly midnight. 21.09, 25.09
and 26.09.
We have VM Ware Server as the hardware - could this cause the problem?
What kind of network connection are you using? NAT or Bridge?
not sure and I don't have direct
Hi Charles
Caldarale, Charles R wrote:
From: Martin Cavanagh [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat crash @ midnight - but why?
Hmm maybe this little bit of extra info helps
Not really, but answering Pid's question below might, as would following
David's suggestions
, Charles R wrote:
From: Martin Cavanagh [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat crash @ midnight - but why?
656MB RAM
That's an awfully small amount of memory for a modern system, but is
probably not pertinent.
Especially when you're running VMWare server on it, ostensibly
Subject: Re: Tomcat crash @ midnight - but why?
What's immediately before the shutdown description in the logs?
p
Martin Cavanagh wrote:
Why would windows report it as crashing then?
I know I didn't shut it down, I was sleeping, as I assume
everyone else
was who had access
Sorry everyone - no the the Virtual Machine has 656 MB RAM. The Host
has something 656MB Ram (1GB?)
Martin
Peter Crowther wrote:
From: Martin Cavanagh [mailto:[EMAIL PROTECTED]
Physical Hardware:
656MB RAM
2.4 Ghz Xeon Processor
Crikey. And a host OS (what host?), VMware on top of
the JVM is using the default parameters. I installed JRE 1.5.0_11 (which was
upto date at the time...)
Should I be using custom parameters?
VMWare means the the host machine, doesn't know that there is no real
hardware beneath it
Martin
I'm not overly familiar with VMWare, but is that
--
- Original Message -
From: Pid [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Friday, September 21, 2007 7:19 AM
Subject: Re: Tomcat crash @ midnight - but why?
What's immediately before the shutdown description in the logs?
p
Martin Cavanagh wrote:
Why
]
To: Tomcat Users List users@tomcat.apache.org
Sent: Friday, September 21, 2007 7:19 AM
Subject: Re: Tomcat crash @ midnight - but why?
What's immediately before the shutdown description in the logs?
p
Martin Cavanagh wrote:
Why would windows report it as crashing then?
I know I didn't
Is your tomcat set to roll the log files at midnight? Maybe there's
something going on related to that?
Pid wrote:
Martin Cavanagh wrote:
just to to check - there is no hidden setting in Tomcat which says -
shut me down at midnight sometimes for an inexplainable reason?
Oh yeah,
From: Gabe Wong [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat crash @ midnight - but why?
Sounds very much like a memory issue as echoed by others on the list.
I don't think so. Lack of RAM might cause performance problems due to
excessive paging, but it's not going to cause a shutdown
From: Martin Cavanagh [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat crash @ midnight - but why?
There is no \bin\shutdown.bat file - so this isn't being directly
triggered.
That just means you installed from the .exe rather than the .zip
distribution. Something could still be running
Thanks Pid - some good tips
Pid wrote:
Martin Cavanagh wrote:
just to to check - there is no hidden setting in Tomcat which says -
shut me down at midnight sometimes for an inexplainable reason?
Oh yeah, forgot about that one. Filip, Remy et al have a funny sense of
humour - they're
David kerber wrote:
Is your tomcat set to roll the log files at midnight? Maybe there's
something going on related to that?
no i don't think so - (but how do I control that - It would be cool to
use that). Its pretty much a standard Tomcat installation - with HTTPS
turned on and HTTP turned
From: Martin Cavanagh [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat crash @ midnight - but why?
Hmmm - how houw I change the JVM into a Server JVM?
Server vs client JVM is likely to be totally irrelevant, but in any
event, run the tomcat6w.exe program, go to the Java tab, and see what
Caldarale, Charles R wrote:
From: Martin Cavanagh [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat crash @ midnight - but why?
There is no \bin\shutdown.bat file - so this isn't being directly
triggered.
That just means you installed from the .exe rather than the .zip
distribution
Martin Cavanagh wrote:
Thanks Pid - some good tips
Hmmm - how houw I change the JVM into a Server JVM?
(google is your friend).
-server will do it, if it's not autoselected.
-
To start a new topic, e-mail:
From: Martin Cavanagh [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat crash @ midnight - but why?
The Server is started with \Tomcat\bin\tomcat5.exe //RS//Tomcat5 - is
that normal?
Yes, that's fine.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
From: Pid [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat crash @ midnight - but why?
-server will do it, if it's not autoselected.
Tomcat is running a Windows service, so command line options cannot be
used.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
snippet
Each time when Tomcat has crashed, it has been at midnight. At exactly
midnight my program changes log directorys - from 20-09-2007 to
21-09-2007. This is a TimerTask. A thread which runs at exactly
midnightat each of these crashes it has reported Can't create
directory
Martin Cavanagh wrote:
Each time when Tomcat has crashed, it has been at midnight. At exactly
midnight my program changes log directorys - from 20-09-2007 to
21-09-2007. This is a TimerTask. A thread which runs at exactly
midnightat each of these crashes it has reported Can't create
To test the TimerTask theory - I'd suggest changing the TimerTask to run
at 12:30 and see the next crash
-Tim
Pid wrote:
Martin Cavanagh wrote:
Each time when Tomcat has crashed, it has been at midnight. At exactly
midnight my program changes log directorys - from 20-09-2007 to
21-09-2007.
Martin Cavanagh wrote:
Each time when Tomcat has crashed, it has been at midnight. At
exactly midnight my program changes log directorys - from 20-09-2007
to 21-09-2007. This is a TimerTask. A thread which runs at exactly
midnightat each of these crashes it has reported Can't create
From: Darek Czarkowski [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat crash @ midnight - but why?
Now, this would be funny, can you search the source code of
the deployed application for System.exit call?
Doesn't quite fit the symptoms. When a webapp calls System.exit(), the
following
According to your log it did not crash. It did shutdown following the
shutdown procedure (which can be executed by bin\shutdown.bat). I
suggest you investigate possibilities that a local service is setup to
shutdown tomcat at midnight on the server.
The tomcat shutdown procedure is started when
Why would windows report it as crashing then?
I know I didn't shut it down, I was sleeping, as I assume everyone else
was who had access to the system..
Thanks
Martin
David Delbecq wrote:
According to your log it did not crash. It did shutdown following the
shutdown procedure (which
What's immediately before the shutdown description in the logs?
p
Martin Cavanagh wrote:
Why would windows report it as crashing then?
I know I didn't shut it down, I was sleeping, as I assume everyone else
was who had access to the system..
Thanks
Martin
David Delbecq wrote:
Well nothing really.
But (assuming attachements are allowed), I've attached them all (except
Std-Out - thats just junk from my program)
Martin
Pid wrote:
What's immediately before the shutdown description in the logs?
p
Martin Cavanagh wrote:
Why would windows report it as
Martin Cavanagh wrote:
Why would windows report it as crashing then?
It didn't - as the excerpt from the Windows service log you posted
clearly shows. There is nothing to be read there about Tomcat crashing
but just about Tomcat being stopped unexpectedly (unerwartet).
This means nothing more
: Tomcat crash @ midnight - but why?
What's immediately before the shutdown description in the logs?
p
Martin Cavanagh wrote:
Why would windows report it as crashing then?
I know I didn't shut it down, I was sleeping, as I assume everyone else
was who had access to the system
for the exact port number)
Martin--
- Original Message -
From: Pid [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Friday, September 21, 2007 7:19 AM
Subject: Re: Tomcat crash @ midnight - but why?
What's immediately before the shutdown description in the logs
53 matches
Mail list logo