Re: probing tomcat

2001-08-21 Thread Mark Castillo

One simple thing that you could do is create a "ping" servlet which you can
request from a remote machine (just a minimal servlet that prints a
message). On the remote machine you would probably have a script or
monitoring software attempt to grab the URL of the servlet. Although this
tells you if Tomcat is running it doesn't tell you about other parts of your
application (which you could probably arrange in the ping servlet).

--
Mark Castillo
[EMAIL PROTECTED]
http://www.webFreak.com

- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 21, 2001 5:32 AM
Subject: probing tomcat


>
>
> Hi,
> does anybody know whether there exists a way to probe from a remote
computer whether tomcat is still alive ?
>
> Steven
>




Re: JVM and use of memory

2001-08-20 Thread Mark Castillo

Roy,

Do you have any output in the logs either from Tomcat or the JVM?

--
Mark Castillo
[EMAIL PROTECTED]
http://www.webFreak.com

- Original Message - 
From: "Roy K. Mayr R." <[EMAIL PROTECTED]>
To: "TomcatUser" <[EMAIL PROTECTED]>
Sent: Monday, August 20, 2001 2:41 PM
Subject: JVM and use of memory


> 
> When I start tomcat, it process use 44M and 16M res. (aprox).
> But when I work, and work, and work it process use
> 49,52,60,80,100,120 M and crash tomcat !!!
> 
> I have JSP pages that use 8 beans... then memory used it increases more
> quicky
> 
> I'm using:
> 
> Tomcat 3.3
> JDK 1.3.1
> Apache 1.3.20
> Solaris 2.8
> 
> Help me!!
> 
> Thanks.
> 
> 
> Roy




Re: tomcat crash...

2001-08-20 Thread Mark Castillo

What JVM command line options are you using?  Are you using HotSpot? Do you
ever see OutOfMemoryException or anything like that?

Do you get a HotSpot error that looks something like this?:

#
# HotSpot Virtual Machine Error : 11
# Error ID : 4F530E43505002CC
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Server VM (1.3.1-b24 mixed mode)
#

Unexpected Signal : 11 occurred at PC=0x40266D88

--
Mark Castillo
[EMAIL PROTECTED]
http://www.webFreak.com

- Original Message -
From: "Roy K. Mayr R." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 20, 2001 11:12 AM
Subject: RE: tomcat crash...


> I'm using jdk 1.3.
>
> Yes, before it crashes cpu utilization is very high.  Close x-server and
> full temporal disk too.
>
> Roy
>
>




Re: tomcat crash...

2001-08-20 Thread Mark Castillo

Roy,

Which JVM are you using?  Before it crashes is CPU utilization very high?

--
Mark Castillo
[EMAIL PROTECTED]
http://www.webFreak.com

- Original Message -
From: "Roy K. Mayr R." <[EMAIL PROTECTED]>
To: "TomcatUser" <[EMAIL PROTECTED]>
Sent: Monday, August 20, 2001 10:31 AM
Subject: tomcat crash...


> Hi,
>
> I'm using Tomcat 3.3b1 and Apache 1.3.20 on solaris. I work with JSP
pages.
>
> Every day crash tomcat.  Server work slow, slow and then crash tomcat
> !!!
> Many times I found a big big "core" archive
>
> Other times (many times), I seen the next error:
>
>
> Ajp13Interceptor: Processing connection
> org.apache.tomcat.util.net.TcpConnection@453807 - java.net
> .SocketException: Connection reset by peer: Connection reset by peer
> at java.net.SocketInputStream.socketRead(Native Method)
> at java.net.SocketInputStream.read(SocketInputStream.java:86)
> at org.apache.tomcat.modules.server.Ajp13.receive(Ajp13.java:647)
> at
> org.apache.tomcat.modules.server.Ajp13.receiveNextRequest(Ajp13.java:241)
> at
>
org.apache.tomcat.modules.server.Ajp13Request.receiveNextRequest(Ajp13Interc
> eptor.java:218)
> at
>
org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Ajp13Int
> erceptor.java:153)
> at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:438)
> at
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
> a:505)
> at java.lang.Thread.run(Thread.java:484)
>
>
> anyone has any ideas on how to fix this ?
>
>  thanks !
>
> Roy Mayr