hello all im using tomcat as the application container and apache server as the from gate proxy web server . the apache is managing the requests and i compiled it to work with threads (worker mode ) but how can i improve performance of the actual tomcat server that it will run faster and process the jsp's/servelts/java classes can i configure some kind of distributed tomcat configuration ? or some other tricks? thanks
If you want to improve your performance, you should profile your app to find out where the bottlenecks are. They may not even be in Tomcat.
Depending on the nature of your app, you might be able to speed things up by dropping the Apache Web Server and connector and running Tocmat as a standalone. The later versions of Tomcat can be configured to use the Apache Portable Runtime (APR). This gives you the native capabilities of the Apache Web Server without the overhead of running both + the connectors. http://tomcat.apache.org/tomcat-5.5-doc/apr.html