Okay, a simple answer from a simple mind:
Check that you are closing resources in your java code appropriately. Don't rely on 
garbage collection!

Are you closing any files opened by your Java code?
Are you always closing your jdbc SQL statements/result sets, etc...?
Are you closing your Oracle connections? Are there too many open connections?
Are there any blocking db locks?

I have had this problem before where my db connected application had not committed 
it's transaction and ended up hanging tomcat. Always check to see that your resources 
are being released and not halting other requests.

Since you're using Oracle, check the V$SESSION view  to make sure you don't have more 
active connections than you believe you should have. Check the v$session_wait to make 
sure nothing is blocked. I'll bet a t-shirt that it's a db problem. If you can't get 
to those views, ask your friendly dba to help.

>>> [EMAIL PROTECTED] 05/28/02 07:24PM >>>
Here, we have the same problem!!! What can it be?

Our configuration:

 - SunOS 5.8;
 - Solaris 8;
 - Dual UltraSparc 400Mhz;
 - J2SE SUN 1.4;
 - Tomcat 4.0.3;
 - We are using -Xmx1024 -Xms512;
 - MaxProcessors=250, MinProcessors=10, acceptCount=250;
 - Oracle Thin JDBC;

PS 1: we are not having the "classic" OutOfMemory error. Tomcat just
hangs-up with no reason.
PS 2: We already used OptimizeIt to tune the application.
PS 3: Tomcat stops even with a low rate of usage.

Wagner Danda

> ---------- Mensagem original -----------
>
> De      : "Rui Oliveira" <[EMAIL PROTECTED]>
> Para    : <[EMAIL PROTECTED]>
> Cc      :
> Data    : Tue, 28 May 2002 18:54:36 +0100
> Assunto : Tomcat Hangs-UP...
>
> Hello,
>
>
>
> I have a Tomcat Server running on Solaris as JSP and WEB server. Aft
er
> executing for a while, the Tomcat just Hangs-UP and the only way of
> restarting it is to kill the Tomcat process.
>
>
>
> My configuration is the following:
>
>
>
> - SunOS 5.8
>
> - Solaris 8
>
> - JRE 1.3.1_03
>
> - Tomcat 4.0.3
>
>
>
> Does anyone have a clue on what is the problem?
>
>
>
>
>
> Regards
>
> Rui Oliveira
>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to