Get non-ROOT applications to return for getContextPath?

2006-11-16 Thread Eric Jain
Is it possible to trick an application into believing that it is the ROOT application (i.e. getContextPath returns ), even when it isn't? The reason for this is that managing virtual hosts with Tomcat can be a bit cumbersome, and some management applications won't work in such a setup. The

Setting up virtual hosts behind a reverse proxy

2005-12-01 Thread Eric Jain
I have a Tomcat (5.5.12) server that is hidden behind Apache. On the Apache server, several virtual hosts are defined. VirtualHost xxx.xxx.xxx.xxx ServerName .xxx.xx ProxyPass / http://localhost:8080/ ProxyPassReverse / http://localhost:8080/ /VirtualHost Now I'd like to map

Slow and incomplete dynamic content generation after enabling native connector support in 5.5.12

2005-11-24 Thread Eric Jain
After adding the APR library to the java.library.path [as described in http://tomcat.apache.org/tomcat-5.5-doc/apr.html], certain JSPs that produce a lot of output (but used to be served in under a second) are now very slow and produce incomplete output. The header appears only after a few

Re: Slow and incomplete dynamic content generation after enabling native connector support in 5.5.12

2005-11-24 Thread Eric Jain
Remy Maucherat wrote: Sure. File a bug with a test WAR. Of course, it will likely end up as INVALID, since I expect this to work. Well, I also expected this to work, but alas, it didn't :-) http://issues.apache.org/bugzilla/show_bug.cgi?id=37627