Showing posts with label tomcat. Show all posts
Showing posts with label tomcat. Show all posts

Monday, June 11, 2012

Best practices for configuring Apache / Tomcat


We are currently using Apache 2.2.3 and Tomcat 5 (Embedded in JBoss 4.2.2) using mod_proxy_jk as the connector.

Sunday, June 3, 2012

Bad Gateway 502 error with Apache mod_proxy and Tomcat


We're running a web app on Tomcat 6 and Apache mod_proxy 2.2.3. Seeing a lot of 502 errors like this:

Monday, May 21, 2012

How to tune Tomcat 5.5 JVM Memory settings without using the configuration program


I need to configure Tomcat memory settings as part of a larger installation, so manually configuring tomcat with the configuration app after the fact is out of the question. I thought I could just throw the JVM memory settings into the JAVA_OPTS environment variable, but I'm testing that with jconsole to see if it works and it... doesn't.

Wednesday, March 7, 2012

Howto embed Tomcat 6?


I'm currently running my webapps on Tomcat 6 in production, and would like to evaluate running Tomcat in embedded mode.

Friday, February 24, 2012

One Tomcat instance for two domains and two webapps


How can I configure Tomcat (in standalone mode, that is without Apache [*]) so that I can deploy it on one server and have it serve two different webapps, depending on the domain name requested?

Tuesday, February 14, 2012

How to make simplest servlet filter respect setted character encoding


Gentlemen, it feels like I'm stuck. I'm trying to write the simplest servlet Filter (and deploy it to tomcat). It's a groovy code, but actually I'm heavily usin java approaches here, so it is almost copypaste, that's the reason I've added java tag as well.