Re: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1 or 2 days

2006-01-31 Thread Glen Mazza

Monica Wu wrote:


This is a update for this problem/solution.

After removing Java 1.5 + Tomcat 5.0, reinstalling Java 1.3 + Tomcat 3.3.1 on 
last Monday, 1/23/2006, everything has been running fine by far.

I have certain confidence to conclude that different versions of Java and 
Tomcat coexisting introduced the upgrade problem.



By the way, may I ask why you needed to install "J2EE 1.3" (see below) 
also? I can understand the J2SE SDK, but am unsure why you needed J2EE 
downloaded as well.  I wonder if that is causing conflicts with whatever 
TC itself provides.


Glen



Thank you all for your attention and help!

- Monica

-Original Message-
From: Monica Wu [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 24, 2006 11:11 AM
To: Tomcat Users List
Subject: RE: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1
or 2 days


Thank you for your attention, Glen!

These 2 (good and buggy) production tomcat servers run different web applications on different physical machines. Their hardware and operation systems including Windows service packs are same. Tomcat configuration is very similar. The good tomcat server was brand new (new installed operating system, new web application) and started Java 5.0 + tomcat 5.0 at the very beginning. The buggy one started with Java1.3 + Tomcat 3.3.1 and had ran smoothly about 4 years. 


Regarding the web application on the buggy tomcat 5.0 server. The source code remain the 
same before and after the tomcat upgrade. The only change is to use the new java 1.5 
compiler with option "-souce 1.4". Compiling is not a problem. Starting the 
buggy tomcat 5.0 is not a problem. The only problem is hangup after some user access.

All possible changes were minimized during tomcat upgrade.

The buggy tomcat server was rolled back to Java 1.3 + tomcat 3.3.1 again last Friday. This rollback did not fix the problem. Yesterday (last Monday) I removed Java 1.5 + Tomcat 5.0 completely. JDK 1.3 + J2EE 1.3 were re-installed. At this point, everything was rolled back to the state before tomcat upgrade. 


This buggy tomcat server has run okay by far (< 24 hours), but is too early to 
say it is fixed. If it can behave until the end of this week, I may dare to say it 
is fixed and the problem is caused by the upgrade. Maybe the co-existence of Java 
1.3 and 1.5. Maybe co-existence of Tomcat 3.3 and 5.0. Maybe ...

- Monica


-Original Message-
From: Glen Mazza [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 24, 2006 10:47 AM
To: Tomcat Users List
Subject: Re: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1
or 2 days


Monica Wu wrote:



First of all, upgraded to the version I have ever tested. Tomcat 5.0 has been 
running well on my another production server about one year. At that 
installation time, Tomcat 5.0 was the latest. Moreover, having all productions 
share the same Java + tomcat versions is one of my agendas to ease the 
development and maintenance.




Oh!  Now I understand.  Thanks for the explanation and sorry I couldn't 
help you that much with your problem.  It is strange that Tomcat 5.0 has 
been running well for a year on one server but not the new one.  BTW, 
are you running different or the same web applications on the 
good-for-one-year 5.0 server and the buggy new 5.0 one?  I wonder if the 
source of the problem is with the applications that the buggy TC is 
running rather than TC itself.


Glen



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



RE: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1 or 2 days

2006-01-30 Thread Monica Wu
This is a update for this problem/solution.

After removing Java 1.5 + Tomcat 5.0, reinstalling Java 1.3 + Tomcat 3.3.1 on 
last Monday, 1/23/2006, everything has been running fine by far.

I have certain confidence to conclude that different versions of Java and 
Tomcat coexisting introduced the upgrade problem.

Thank you all for your attention and help!

- Monica

-Original Message-
From: Monica Wu [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 24, 2006 11:11 AM
To: Tomcat Users List
Subject: RE: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1
or 2 days


Thank you for your attention, Glen!

These 2 (good and buggy) production tomcat servers run different web 
applications on different physical machines. Their hardware and operation 
systems including Windows service packs are same. Tomcat configuration is very 
similar. The good tomcat server was brand new (new installed operating system, 
new web application) and started Java 5.0 + tomcat 5.0 at the very beginning. 
The buggy one started with Java1.3 + Tomcat 3.3.1 and had ran smoothly about 4 
years. 

Regarding the web application on the buggy tomcat 5.0 server. The source code 
remain the same before and after the tomcat upgrade. The only change is to use 
the new java 1.5 compiler with option "-souce 1.4". Compiling is not a problem. 
Starting the buggy tomcat 5.0 is not a problem. The only problem is hangup 
after some user access.

All possible changes were minimized during tomcat upgrade.

The buggy tomcat server was rolled back to Java 1.3 + tomcat 3.3.1 again last 
Friday. This rollback did not fix the problem. Yesterday (last Monday) I 
removed Java 1.5 + Tomcat 5.0 completely. JDK 1.3 + J2EE 1.3 were re-installed. 
At this point, everything was rolled back to the state before tomcat upgrade. 

This buggy tomcat server has run okay by far (< 24 hours), but is too early to 
say it is fixed. If it can behave until the end of this week, I may dare to say 
it is fixed and the problem is caused by the upgrade. Maybe the co-existence of 
Java 1.3 and 1.5. Maybe co-existence of Tomcat 3.3 and 5.0. Maybe ...

- Monica


-Original Message-
From: Glen Mazza [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 24, 2006 10:47 AM
To: Tomcat Users List
Subject: Re: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1
or 2 days


Monica Wu wrote:

> 
> First of all, upgraded to the version I have ever tested. Tomcat 5.0 has been 
> running well on my another production server about one year. At that 
> installation time, Tomcat 5.0 was the latest. Moreover, having all 
> productions share the same Java + tomcat versions is one of my agendas to 
> ease the development and maintenance.
> 

Oh!  Now I understand.  Thanks for the explanation and sorry I couldn't 
help you that much with your problem.  It is strange that Tomcat 5.0 has 
been running well for a year on one server but not the new one.  BTW, 
are you running different or the same web applications on the 
good-for-one-year 5.0 server and the buggy new 5.0 one?  I wonder if the 
source of the problem is with the applications that the buggy TC is 
running rather than TC itself.

Glen


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


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


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



RE: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1 or 2 days

2006-01-24 Thread Monica Wu
Thank you for your attention, Glen!

These 2 (good and buggy) production tomcat servers run different web 
applications on different physical machines. Their hardware and operation 
systems including Windows service packs are same. Tomcat configuration is very 
similar. The good tomcat server was brand new (new installed operating system, 
new web application) and started Java 5.0 + tomcat 5.0 at the very beginning. 
The buggy one started with Java1.3 + Tomcat 3.3.1 and had ran smoothly about 4 
years. 

Regarding the web application on the buggy tomcat 5.0 server. The source code 
remain the same before and after the tomcat upgrade. The only change is to use 
the new java 1.5 compiler with option "-souce 1.4". Compiling is not a problem. 
Starting the buggy tomcat 5.0 is not a problem. The only problem is hangup 
after some user access.

All possible changes were minimized during tomcat upgrade.

The buggy tomcat server was rolled back to Java 1.3 + tomcat 3.3.1 again last 
Friday. This rollback did not fix the problem. Yesterday (last Monday) I 
removed Java 1.5 + Tomcat 5.0 completely. JDK 1.3 + J2EE 1.3 were re-installed. 
At this point, everything was rolled back to the state before tomcat upgrade. 

This buggy tomcat server has run okay by far (< 24 hours), but is too early to 
say it is fixed. If it can behave until the end of this week, I may dare to say 
it is fixed and the problem is caused by the upgrade. Maybe the co-existence of 
Java 1.3 and 1.5. Maybe co-existence of Tomcat 3.3 and 5.0. Maybe ...

- Monica


-Original Message-
From: Glen Mazza [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 24, 2006 10:47 AM
To: Tomcat Users List
Subject: Re: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1
or 2 days


Monica Wu wrote:

> 
> First of all, upgraded to the version I have ever tested. Tomcat 5.0 has been 
> running well on my another production server about one year. At that 
> installation time, Tomcat 5.0 was the latest. Moreover, having all 
> productions share the same Java + tomcat versions is one of my agendas to 
> ease the development and maintenance.
> 

Oh!  Now I understand.  Thanks for the explanation and sorry I couldn't 
help you that much with your problem.  It is strange that Tomcat 5.0 has 
been running well for a year on one server but not the new one.  BTW, 
are you running different or the same web applications on the 
good-for-one-year 5.0 server and the buggy new 5.0 one?  I wonder if the 
source of the problem is with the applications that the buggy TC is 
running rather than TC itself.

Glen


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


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



Re: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1 or 2 days

2006-01-24 Thread Glen Mazza

Monica Wu wrote:



First of all, upgraded to the version I have ever tested. Tomcat 5.0 has been 
running well on my another production server about one year. At that 
installation time, Tomcat 5.0 was the latest. Moreover, having all productions 
share the same Java + tomcat versions is one of my agendas to ease the 
development and maintenance.



Oh!  Now I understand.  Thanks for the explanation and sorry I couldn't 
help you that much with your problem.  It is strange that Tomcat 5.0 has 
been running well for a year on one server but not the new one.  BTW, 
are you running different or the same web applications on the 
good-for-one-year 5.0 server and the buggy new 5.0 one?  I wonder if the 
source of the problem is with the applications that the buggy TC is 
running rather than TC itself.


Glen


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



RE: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1 or 2 days

2006-01-24 Thread Monica Wu
Thank you Glen for your concern!

Please read through the whole thread including the subject line, I got problems 
on tomcat 5.0.28, rather than 5.5.x.

There are plenty of reasons to adopt the latest release. However, in reality, 
there are lots of perfect execuses to do a halfway upgrade as well. 

First of all, upgraded to the version I have ever tested. Tomcat 5.0 has been 
running well on my another production server about one year. At that 
installation time, Tomcat 5.0 was the latest. Moreover, having all productions 
share the same Java + tomcat versions is one of my agendas to ease the 
development and maintenance.

Tomcat 5.0 is a production quality release too. My web application doesn't 
require any features that are special to tomcat 5.x. It does not matter to 
upgrade to tomcat 5.0 or tomcat 5.5.

Anyway, this halfway upgrade to tomcat 5.0 failed. I have not figured out the 
cause, so how do I know the latest one will overcome it? And also Tomcat 5.5 
might introduce new issues. This is a upgrade on a production server. I want to 
minimize all risks and have a smooth and successful upgrade.

- Monica

-Original Message-
From: Glen Mazza [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 24, 2006 7:55 AM
To: Tomcat Users List
Subject: Re: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1
or 2 days


Monica Wu wrote:

> 
> About updating to Tomcat 5.5. Since the cause is not unclear, and some Tomcat 
> 5.5 hangups were reported as well, I don't think simply upgrading to 5.5 
> would fix my problem.
> 

Perhaps not.  But you *might* get more responses and additional concern 
from the users and developers on the TC user list, because if you're 
using the current-production 5.5.15 quality release and *that* version 
is failing on you, people would tend to view that as more alarming.

Given that 5.5.15 is the current production quality release, I don't 
understand why you're upgrading from 3.3 only halfway to 5.0.

Glen


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


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



Re: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1 or 2 days

2006-01-24 Thread Glen Mazza

Monica Wu wrote:



About updating to Tomcat 5.5. Since the cause is not unclear, and some Tomcat 
5.5 hangups were reported as well, I don't think simply upgrading to 5.5 would 
fix my problem.



Perhaps not.  But you *might* get more responses and additional concern 
from the users and developers on the TC user list, because if you're 
using the current-production 5.5.15 quality release and *that* version 
is failing on you, people would tend to view that as more alarming.


Given that 5.5.15 is the current production quality release, I don't 
understand why you're upgrading from 3.3 only halfway to 5.0.


Glen


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



RE: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1 or 2 days

2006-01-23 Thread Monica Wu
As I mentioned in last email, I rolled back Tomcat 5.0 to 3.3 last Friday. It 
played dead again after lunch today (Monday). I had trouble restarting it - 
dead very soon after restart. The similar symptom to Tomcat 5.0.

Later I decided to remove tomcat 5.0 and Java sdk 5.0 and J2EE 5.0 completely. 
Re-installed JDK1.3.1 and J2EE 1.3.0. Re-started. It runs until now (about 1 
hour).

My question:

Do you think different version of java and tomcat co-exist on the same machine 
causes this problem? For each version, the system environment variables, 
classpath, java_home and path, were adjusted to a single version. Tomcat5's 
service.bat file was ensured to point to Java5.

- Monica

-Original Message-
From: Monica Wu [mailto:[EMAIL PROTECTED]
Sent: Monday, January 23, 2006 9:43 AM
To: Tomcat Users List
Subject: RE: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1
or 2 days


Thank you for your input, Aparna!

Based on Chunk and Aparna's suggestion, I changed PermGen/Heap parameters to be 
128M/256M. It worked well on the following day too. However, Friday's traffic 
is usually light. I am not sure these new parameter values would fix this 
problem. 

Instead of keeping testing this production web server with every end user, I 
rolled this web server back to V.3.3.1, which had run smoothly for about 4 
years.

About updating to Tomcat 5.5. Since the cause is not unclear, and some Tomcat 
5.5 hangups were reported as well, I don't think simply upgrading to 5.5 would 
fix my problem.

Thank you all for your help and attention!

- Monica

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


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



RE: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1 or 2 days

2006-01-23 Thread Monica Wu
Thank you for your input, Aparna!

Based on Chunk and Aparna's suggestion, I changed PermGen/Heap parameters to be 
128M/256M. It worked well on the following day too. However, Friday's traffic 
is usually light. I am not sure these new parameter values would fix this 
problem. 

Instead of keeping testing this production web server with every end user, I 
rolled this web server back to V.3.3.1, which had run smoothly for about 4 
years.

About updating to Tomcat 5.5. Since the cause is not unclear, and some Tomcat 
5.5 hangups were reported as well, I don't think simply upgrading to 5.5 would 
fix my problem.

Thank you all for your help and attention!

- Monica

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



RE: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1 or 2 days

2006-01-19 Thread Caldarale, Charles R
> From: Monica Wu [mailto:[EMAIL PROTECTED] 
> Subject: RE: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after 
> running 1 or 2 days
> 
> There are quite a few cases reported tomcat5 hangups. Did I 
> miss an important place that traded in tomcat upgrade tricks?

The hangs seem to fall into a few major categories, plus a wide variety
of minor ones.  Two of the majors that might be occurring in your
situation:

1) Running out of DB connections due to not closing them.

2) Running out of PermGen space, even though there's plenty of room in
the heap.

The former would seem unlikely, since your app seemed to be running
properly before.  The latter occurs primarily after webapps have been
reloaded, but perhaps could happen even without that if your PermGen is
too small.  (Object allocation and garbage collection has changed
dramatically between JRE 1.3 and 1.5.)  Again, a thread dump should help
you find out where the threads are when everything hangs up.  Setting
-verbose:gc on the java command line will show you if you're getting
into trouble with the PermGen.  You'll need to use that from a command
prompt or redirect the -verbose output with -Xloggc.

Some users have reported occasional problems running with -server, so
you might want to try forcing -client just to make sure that's not
having an affect.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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



RE: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1 or 2 days

2006-01-19 Thread Monica Wu
Thanks, Chuck!

I may try command-line startup.bat rather than a service to run this web 
application later when most people are off work and don't access this server.

This server does not set up any limit on system resource. When Tomcat is 
non-responsive, no complaint about running out memeory. I also paid extra 
attention on the log file. Whenever I re-start my tomcat server, I renamed the 
old log files.

There are quite a few cases reported tomcat5 hangups. Did I miss an important 
place that traded in tomcat upgrade tricks?

Thanks again!

- Monica

-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 19, 2006 11:52 AM
To: Tomcat Users List
Subject: RE: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1
or 2 days


> From: Monica Wu [mailto:[EMAIL PROTECTED] 
> Subject: RE: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after 
> running 1 or 2 days
> 
> Oops! How to retrieve a thread dump when it hangs in Windows?

I don't know how to do that when the process is running as a service.
For investigative purposes, you could try running it from a command
prompt and enter ctrl-break when you get the hang; that should give you
state and walkback info for each thread.

Is it possible you're hitting some kind of quota limits? (Unusual to
have that enabled in Windows, but you never know.)  Hitting the max size
on a log file perhaps?

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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


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



RE: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1 or 2 days

2006-01-19 Thread Caldarale, Charles R
> From: Monica Wu [mailto:[EMAIL PROTECTED] 
> Subject: RE: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after 
> running 1 or 2 days
> 
> Oops! How to retrieve a thread dump when it hangs in Windows?

I don't know how to do that when the process is running as a service.
For investigative purposes, you could try running it from a command
prompt and enter ctrl-break when you get the hang; that should give you
state and walkback info for each thread.

Is it possible you're hitting some kind of quota limits? (Unusual to
have that enabled in Windows, but you never know.)  Hitting the max size
on a log file perhaps?

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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



RE: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1 or 2 days

2006-01-19 Thread Monica Wu
Chuck, thank you very much for your reply!

The old version Tomcat 3.3.1 ran under Win2K SP2. It runs as a service. After 
upgrade, I did remove and install this service with the new service.bat.

Oops! How to retrieve a thread dump when it hangs in Windows?

- Monica

-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 19, 2006 11:18 AM
To: Tomcat Users List
Subject: RE: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1
or 2 days


> From: Monica Wu [mailto:[EMAIL PROTECTED] 
> Subject: FW: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after 
> running 1 or 2 days
> 
> This web application had been running smoothly with tomcat 
> 3.3.1 + JDK 1.3.1 + J2EE 1.3 for about 4 years.

Was that also under Win2K SP4?

Are you running Tomcat as a service, or from a command prompt, or ?

Have you tried getting a thread dump in this hang situation to see what
each thread is waiting on?

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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


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



RE: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1 or 2 days

2006-01-19 Thread Caldarale, Charles R
> From: Monica Wu [mailto:[EMAIL PROTECTED] 
> Subject: FW: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after 
> running 1 or 2 days
> 
> This web application had been running smoothly with tomcat 
> 3.3.1 + JDK 1.3.1 + J2EE 1.3 for about 4 years.

Was that also under Win2K SP4?

Are you running Tomcat as a service, or from a command prompt, or ?

Have you tried getting a thread dump in this hang situation to see what
each thread is waiting on?

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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



RE: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1 or 2 days

2006-01-19 Thread Monica Wu
I need add that:

1. This email was posted only once.

2. The database has been running okay.

3. When tomcat does not respond, the server does not have any sign of "run out 
of memory".

Thanks!

- Monica


-Original Message-
From: Monica Wu [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 19, 2006 10:58 AM
To: users@tomcat.apache.org
Subject: FW: Tomcat upgrade: 3.3.1 --> 5.0.28, hang up after running 1
or 2 days


I hope my lengthy message won't put your help away. I am trying to state my 
problem as clear as possible. 

Problem summary:

Production tomcat server was upgraded from 3.3.1 to 5.0.28 about 3 weeks ago. 
It hang up every 1 or 2 days during weekdays, depending on web server traffic. 

Windowns 2000 with SP4, JDK 1.5 and J2EE 1.5. Tomcat 5.0.28.

This web application had been running smoothly with tomcat 3.3.1 + JDK 1.3.1 + 
J2EE 1.3 for about 4 years. Any source code (java, jsp, oracle related scripts, 
etc.) related to Web application was not changed during tomcat upgrade. 
Compiled successfully with JDK + J2EE 1.5 with option "-source 1.4".

It is a single tomcat server on a physical machine dedicated to this single web 
application. And a single Oracle database runs on another physical machine.

I read through tomcat documentation and googled archived mailing list - MARC. 
Doubted and tried the following things, but finally did not fix my problem:

1. No apache is used, so not a problem caused by a connection between apache 
and tomcat, as described by Richard on 12/9/05.
2. It is an in-house application and accessible within the company only. There 
is no firewall related issues.
3. It is WIN2K, so it is not a problem related to Linux environment.
4. No tomcat built-in database connection pool is used. 
   Instead, this pool is implemented and managed in my packaged java only. In 
another word, this db connection pool is outside of tomcat. This problem is not 
related to tomcat connection pool memory leak.
5. Mentioned in Tomcat 5.0.28 release notes, java compile memory leak was fixed 
in JDK 1.4+. This is not the cause to my problem.
6. Patched with Leo's bugzilla 36541. Hang again 22 hours later.

What's next? I have been on roller-coaster for a while. It is not fun at all.

I appreciate any clues in advance!

- Monica







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


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