Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
JSP - A mailing list about Java Server Pages specification and reference
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
New Tomcat shuts down thread

New Tomcat shuts down thread

2007-01-12       - By Steve Ingraham

 Back
Reply:     1     2  

I have started a new thread concerning my shutdown problems as they were
addressed in the previous "tomcat shuts down" thread.  Below is the
latest reply to that thread.

Is anything flooding my server?  I don't think so.  That server only
houses our MySQL database.  Multiple users input data into it using a
web interface.  The web interface is the reason for the Tomcat set up on
this server.  I would guess that at any given time there could be a
dozen users inputting at the same time but not much more than that.  It
is possible that it is hanging due to memory usage.  The loop issue is
interesting.  What was the resolution for that?

As I stated previously I manually stop and start Tomcat every morning.
It is not that big of an inconvenience to do that in general but at the
same time I would like to know why it is doing this and resolve it.
There is something wrong with the application and fixing it would make
things run smoother.

Steve

-- ---- ---- ---- ---- ---- ---- --

Andre Prasetya wrote:

Hi Steve,

Is there anything that flood your server with requests or trigger an
infinite loop within the application ? I have similar experiences in 2
scenarios 1. A tomcat died every morning, Then we foundout that its
flooded by requests at a certain time and there is a flaw at our design
that permits only 1 connection for the flooded application. 2. An
application causing the tomcat server to hang, exhausting our cpu
resources to 100%, trigerred by Stop command from manager. Even after
shutting down the tomcat, the process is still running and we have to
manually kill the java thread. Thenwe found out that our application got
an infinite loop bug when we force it to close.



On 1/12/07, Steve Ingraham <singraham@(protected)> wrote:

>

> I have a similar problem. I would be interested to know what is said

> about this.

>

> In our case we have a web based application that calls up a MySQL

> database. It is running in Tomcat 5.5.15 on a Red Hat AS 3 machine.

> Every morning I have to manually stop and restart Tomcat. If I do not

> do so and let it run, over the course of a day or two, definitely no

> more than the third day, Tomcat will lock up and the web application

> will display access errors to the users.

>

> I then have to run the shutdown.sh script on Tomcat. Then because the

> instance will not clear out I have to run ps aux, find the instance of


> java that is running. I then have to run the kill -9 <pid #> command

> and then startup.sh to restart Tomcat. If I do this first thing in

> the morning Tomcat will function without locking up. If I do not do

> it first thing in the morning, sometime during that day, or if I am

> lucky the next day, Tomcat will lockup.

>

> If anyone has ideas on what can be done to correct this problem I will


> be anxious to read any replies.

>

> Thanks,

> Steve

>

> -- --Original Message-- --

> From: Propes, Barry L [GCG-NAOT] [mailto:barry.l.propes@(protected)
<mailto:barry.l.propes@(protected)> ]

> Sent: Thursday, January 11, 2007 4:06 PM

> To: Tomcat Users List

> Subject: RE: Tomcat unexpectedly shuts down

>

>

> I'd find out what other major processes are running on those two UNIX

> boxes, as it sounds like something there's clashing terribly, and

> killing off the Tomcat process.

>

> -- --Original Message-- --

> From: Brown, Carlton [mailto:Carlton.Brown@(protected)
<mailto:Carlton.Brown@(protected)> ]

> Sent: Thursday, January 11, 2007 4:01 PM

> To: users@(protected)

> Subject: Tomcat unexpectedly shuts down

>

>

> Hello,

>

> My Tomcat instance is unexpectedly shutting itself down every 8 to 72

> hours. Can someone give me some advice on this? By all appearances

> this is a graceful shutdown. I do not see any interesting exceptions

> in the logs (I have looked in catalina.out and the various localhost*

> files). Perhaps I am looking for the wrong thing.

>

> This happens on Tomcat 4.1.31 and 5.028 on Redhat Linux and Solaris

> 10. JSP apps running on the server are about 3 different instances of

> Anthill 1.8.0.264.

>

> Thanks in advance,

> Carlton

>

> *****

>

> The information transmitted is intended only for the person or entity

> to which it is addressed and may contain confidential, proprietary,

> and/or privileged material. Any review, retransmission, dissemination

> or other use of, or taking of any action in reliance upon this

> information by persons or entities other than the intended recipient

> is prohibited. If you received this in error, please contact the

> sender and delete the material from all computers. GA623

>

>

>

> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------

> To start a new topic, e-mail: users@(protected)

> To unsubscribe, e-mail: users-unsubscribe@(protected)

> For additional commands, e-mail: users-help@(protected)

>

>

> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------

> To start a new topic, e-mail: users@(protected)

> To unsubscribe, e-mail: users-unsubscribe@(protected)

> For additional commands, e-mail: users-help@(protected)

>

>



--

-Andre-

People see things the way they are and say "why ?" I see things that
never were and say "Why not ?"





©2008 junlu.com - Jax Systems, LLC, U.S.A.