RE: sleepy tomcat

2004-06-21 Thread Yana Begun
Thanks for all for the help. I found out that the problem is the way how I connect to the database. With JRun I used InitialContext ctx = new InitialContext(); DataSource ds = (DataSource)ctx.lookup(xxx); con = ds.getConnection(); It didn't work with Tomcat

Re: sleepy tomcat

2004-06-18 Thread John Najarian
What's the RAM? What platform? -Original Message- From: Yana Begun [EMAIL PROTECTED] Sent: Jun 18, 2004 12:23 PM To: [EMAIL PROTECTED] Subject: sleepy tomcat Hi, I have stand alone version of our web application running with Tomcat. Everything is fine, but after displaying 5-6 pages

Re: sleepy tomcat

2004-06-18 Thread Filip Hanik - Dev
look in your code, that is where it happens, most likely your code is super slow, and the other requests are just being queued until your current requests are completing. Filip - Original Message - From: Yana Begun [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 18, 2004

RE: sleepy tomcat

2004-06-18 Thread Yana Begun
But the web version with JRun works OK. Everything runs on XP 2002 + Service Pack 1. 512MB of RAM -Original Message- From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Sent: Friday, June 18, 2004 3:29 PM To: Tomcat Users List Subject: Re: sleepy tomcat look in your code, that is where

RE: sleepy tomcat

2004-06-18 Thread John Najarian
What else is running? Check your page file size or just increase it. -Original Message- From: Yana Begun [EMAIL PROTECTED] Sent: Jun 18, 2004 12:36 PM To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: sleepy tomcat But the web version with JRun works OK. Everything runs on XP 2002

RE: sleepy tomcat

2004-06-18 Thread Yana Begun
CPU Usage 2% Page File Usage 380/1249 - should be enough? -Original Message- From: John Najarian [mailto:[EMAIL PROTECTED] Sent: Friday, June 18, 2004 3:59 PM To: Tomcat Users List Subject: RE: sleepy tomcat What else is running? Check your page file size or just increase

RE: sleepy tomcat

2004-06-18 Thread John Najarian
Najarian [EMAIL PROTECTED] Subject: RE: sleepy tomcat CPU Usage 2% Page File Usage 380/1249 - should be enough? -Original Message- From: John Najarian [mailto:[EMAIL PROTECTED] Sent: Friday, June 18, 2004 3:59 PM To: Tomcat Users List Subject: RE: sleepy tomcat What else is running

Re: sleepy tomcat

2004-06-18 Thread Wade Chandler
Yana Begun wrote: Hi, I have stand alone version of our web application running with Tomcat. Everything is fine, but after displaying 5-6 pages it starts to work VERY slowly. Like 30 minutes for one page. CPU is not busy at this moment. It seems like nothing happen or tomcat falling asleep. I