You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Tran, Thanh" <tt...@nds.com> on 2007/12/18 02:11:27 UTC

Tomcat is slow with router configured

Hi Tomcat experts,

I have a war file deployed in a Tomcat server (Jakarta-tomcat 5.5.9)
running on a windows server 2003.  Web server accesses MySQL server
running on a different box, also Windows server 2003.
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 - 192.168.1.1 for web, 196.168.2.1 for DB, the 2 boxes
communicate via a router device).  

Is there settings in Tomcat to deal with this?

I tested MySQL client running on Web server side.  MySQL client is very
fast for both bridge mode and router mode.
I also tested the file transfer.  The MS ftp is very fast for both
bridge mode and router mode on the 2 boxes.

I appreciate very much for your help

Thanh Tran

**************************************************************************************
This e-mail is confidential, the property of NDS Ltd and intended for the addressee only.  Any dissemination, copying or distribution of this message or any attachments by anyone other than the intended recipient is strictly prohibited.  If you have received this message in error, please immediately notify the postmaster@nds.com and destroy the original message.  Messages sent to and from NDS may be monitored.  NDS cannot guarantee any message delivery method is secure or error-free.  Information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.  We do not accept responsibility for any errors or omissions in this message and/or attachment that arise as a result of transmission.  You should carry out your own virus checks before opening any attachment.  Any views or opinions presented are solely those of the author and do not necessarily represent those of NDS.

To protect the environment please do not print this e-mail unless necessary.

NDS Limited Registered office: One Heathrow Boulevard, 286 Bath Road, West Drayton, Middlesex, UB7 0DQ, United Kingdom. A company registered in England and Wales  Registered no. 3080780   VAT no. GB 603 8808 40-00
**************************************************************************************