RE: Tomcat is slow with router configured

2007-12-19 Thread Peter Crowther
From: Nabble-Member1 [mailto:[EMAIL PROTECTED] The web app is fast if I configured network bridge mode (both Web server and DB server have same subnet 192.168.1.x). But it is very slow if the network is configured as router mode (Web server and DB server is in different subnets -

Re: Tomcat is slow with router configured

2007-12-19 Thread Gary Evesson
Try using the IP address in the driver specification rather than the name of the machine. THat will tell you if it is a name resolution issue. Gary. On Dec 19, 2007 2:46 AM, Peter Crowther [EMAIL PROTECTED] wrote: From: Nabble-Member1 [mailto:[EMAIL PROTECTED] The web app is fast if I

RE: Tomcat is slow with router configured

2007-12-19 Thread Peter Crowther
From: Gary Evesson [mailto:[EMAIL PROTECTED] Try using the IP address in the driver specification rather than the name of the machine. THat will tell you if it is a name resolution issue. The connection is working but slow - I don't think the OP specified whether they were using the name or

RE: Tomcat is slow with router configured

2007-12-19 Thread Nabble-Member1
Hi all, Thanks for your inputs. The issue is at MySQL. With router mode, even using IP address, MySQL sends TCP messages to resolve hostname. The threads are timed out after each one. It runs fast after I disabled host name resolve my MySQL server. I got the information from this forum.