RE: Tomcat launch problem

2007-02-05 Thread Varley, Roger
> > > Well, check you Sysdeo Plugin settingts. See if they point to a > different server.xml file. From the stack trace it appears the > server.xml is broken. Usually this file is found in > /conf/server.xml but Sysdeo plugin might have changed it. > Could this be caused by Tomcat using a differe

RE: How to forcibly close abandoned database connections?

2007-01-10 Thread Varley, Roger
> > I agree that is probably what is happening, since the application has > gone idle. However, with garbage collection, while it will only > reclaim memory when necessary, there is a way to force garbage > collection. I am looking for a similar process with abandoned > database connections. >

RE: Strange behaviour after upgrade to 5.5.20

2007-01-05 Thread Varley, Roger
> > Hi > > I've been undertaking a major tomcat upgrade, moving from > Tomcat 4.1.31 running on Win NT with IIS 1.2 to Tomcat 5.5.20 > running on Win 2003 Server with IIS 6.0. I'm just about > there, but I've got a problem with a servlet that runs fine > under the old setup but exhibits stran

RE: Strange behaviour after upgrade to 5.5.20

2007-01-04 Thread Varley, Roger
> > Besides, HashMap is not thread-safe, have you tried it with a > thread-safe implementaion (i.e. Map m = > Collections.synchronizedMap(new HashMap(...));) > Yep, that fixed it. Interestingly, the original servlet using the hashmap continues to work fine with Tomcat 4.1.31. I can only surmise

RE: Strange behaviour after upgrade to 5.5.20

2007-01-04 Thread Varley, Roger
> I think you're going to have to be a bit less vague if you > want any real > responses. A description of the actual symptoms, exact error > messages, > log entries, etc., would help. "Strange behaviour" doesn't > give anyone > much to go on. Sorry, Im still grappling with the new Tomcat. Th

Strange behaviour after upgrade to 5.5.20

2007-01-03 Thread Varley, Roger
Hi I've been undertaking a major tomcat upgrade, moving from Tomcat 4.1.31 running on Win NT with IIS 1.2 to Tomcat 5.5.20 running on Win 2003 Server with IIS 6.0. I'm just about there, but I've got a problem with a servlet that runs fine under the old setup but exhibits strange behaviour under

RE: how to better save a trans in DBCP?

2005-12-06 Thread Varley, Roger
> I have classes which deal with tables individually. > In each class, it has the following lines to get connection pooling > and then commit a single table. > > Context envCtx = (Context) ctx.lookup("java:comp/env"); > DataSource ds = (DataSource) envCtx.lookup("jdbc/myERP"); > conn = ds.getConne

RE: Performance problems

2005-12-06 Thread Varley, Roger
ml > > HTH - Richard > > > -Original Message- > > From: Varley, Roger [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, December 06, 2005 6:05 AM > > To: users@tomcat.apache.org > > Subject: Performance problems > > > > Hi > > > > We

Performance problems

2005-12-06 Thread Varley, Roger
Hi We're running Tomcat 4.1.31 under Win NT with 5 individual web-apps. Most of the time every thing is fine. However, intermittently the CPU usage of the JVM (java.exe) leaps from it's normal 4-5% to 70-80% and stays there until we shut down Tomcat and restart it. The problem is that this jump

Tomcat Deployment Problem

2005-10-26 Thread Varley, Roger
Forget it! I've spoken to the developer, which with hindsight I should've done first, and this helpful error message is issued by the application itself when one of its initialisation parameters can't be found. Enlightenment has been delivered with the clue bat and all is now working Regards Ro

Tomcat Deployment Problem

2005-10-26 Thread Varley, Roger
Hi I have deployed a web-app that was developed under Tomcat 5.0.28 into our live environment which is running Tomcat 4.1.31. When I call the web-app from the browser I get a page that says "Internal Server Error" and that's it. There is no stacktrace data on the returned page, in any of the To