> 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]