Reputation
Top tag
Next privilege 75 Rep.
Set bounties
Badges
1 7
Newest
 Commentator
Impact
~4k people reached

  • 0 posts edited
  • 0 helpful flags
  • 2 votes cast
Apr
19
awarded  Commentator
Apr
19
comment CATALINA_HOME not exported properly in Ubuntu 12.04
Answered my own question after further investigation. The Tomcat 6 and Tomcat 7 packages on Ubuntu 12 and Ubuntu 14 are broken. They do not expose the CATALINA_* environment variables properly (if at all) and as a result files can end up being saved in the Java home directory. Shame on the package maintainers. In order to install Tomcat on Ubuntu 12 and up, you need to install from tomcat.apache.org It's simple and fast. After you install, you will want to create a setenv.sh file
Mar
8
awarded  Tumbleweed
Mar
1
asked CATALINA_HOME not exported properly in Ubuntu 12.04
Mar
7
awarded  Notable Question
Dec
8
comment Will Tomcat 6 cache across Webapps?
Erik - Great answer. For a development server it makes perfect sense. For production, I am not so sure. Given a production instance of several webapps running the same code but with different databases ( a common use case for us ) it seems logical to me to put the Also - I note that if you crash on permgen out of memory in one webapp - the entire tomcat 6 instance crashes since permgen is Tomcat-wide.
Dec
8
accepted Will Tomcat 6 cache across Webapps?
Dec
7
awarded  Teacher
Dec
7
asked Will Tomcat 6 cache across Webapps?
Dec
7
answered slow apache access on virtualbox 4.2
Dec
11
awarded  Popular Question
Aug
15
comment How to optimize Tomcat 6 SSL performance
@mahnc. Yep - users seem happy. One more thing - tangential but still important in this sort of scenario is the amount of logging the application is doing - going thru logs I discovered that the Web app was logging every transaction - and I reduced log levels to errors only. I know from experience that on DB servers like mysql and Postgresql - the detailed logging just hoses performance. So - being critical about performance issues is a good thing I reckon. ;-)
Aug
15
awarded  Scholar
Aug
15
accepted How to optimize Tomcat 6 SSL performance
Aug
15
comment How to optimize Tomcat 6 SSL performance
@mahnc I set MaxKeepAliveRequest="-1" (unlimited) since the machine is not stressed out on CPU or memory resources and since the Web app performs 70-80 http requests per page we're going to need a high keep alive limit anyhow as we ramp up more users on the system. Granted I will have to keep on eye on the sys stats.
Aug
15
comment How to optimize Tomcat 6 SSL performance
@mahnc Yes. I've been monitoring the server today and setting to -1 does the trick. Users report improved user experience too. Thanks for f/u. Looking at the Tomcat6 documentation - I would say it needs some serious work ;-)
Aug
15
awarded  Supporter
Aug
15
comment How to optimize Tomcat 6 SSL performance
- I agree in general but , we are using a single server right now running Tomcat 6. Logically, there is no advantage to adding another proxy layer on the same server - even if we assume that Apache with Open SSL is faster than Tomcat with Java SSL - the bottleneck is not the server but the network latency caused by the number of SSL handshakes made by remote client browsers. It seems to me that since handshakes are the root cause of the problem, we need an efficient way of caching the SSL client requests and not re handshaking every http request
Aug
15
comment How to optimize Tomcat 6 SSL performance
@mahnc Good call. tomcat.apache.org/tomcat-6.0-doc/config/http.html was specific about setting maxKeepAliveRequests to -1 for unlimited. My bad for confusing with the Apache settings. The documentation is unclear on what value 0 means but ssldump seems to indicate that it turns it off.
Aug
14
awarded  Student