Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 48838 invoked from network); 6 Jul 2000 16:05:56 -0000 Received: from web1603.mail.yahoo.com (128.11.23.203) by locus.apache.org with SMTP; 6 Jul 2000 16:05:56 -0000 Received: (qmail 23073 invoked by uid 60001); 6 Jul 2000 16:05:56 -0000 Message-ID: <20000706160556.23072.qmail@web1603.mail.yahoo.com> Received: from [167.132.64.195] by web1603.mail.yahoo.com; Thu, 06 Jul 2000 09:05:56 PDT Date: Thu, 6 Jul 2000 09:05:56 -0700 (PDT) From: Ben Kimball Subject: Re: Tomcat JSP via reverse proxy? To: tomcat-user@jakarta.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii I think I figured out the problem. I should have looked at the error message a bit more carefully. The Linux/Apache/Tomcat server is behind the firewall/reverse proxy. The reverse proxy machine is an NT Server, running IIS _and_ JRun. I finally noticed that the error produced was: 500 Internal Server Error com.livesoftware.jsp.JSPServlet: Live Software is the name of the original maker of JRun. It looks like JRun on the Reverse Proxy/NT machine is intercepting any calls to .jsp files on the Apache/Linux machine and attempting to run them on the NT server, which, of course, cannot find them on the local NT machine, as they are actually located on the Linux/Apache/Tomcat box. That explains why reverse-proxied servlets work, but not reverse-proxied .jsps. Weird. OK, definitely not a problem with Tomcat, but a problem in my reverse proxy configuration. This one'll be a tricky thing to catch. Anybody have any ideas how to tell JRun (not Tomcat) to ignore .jsp files in certain locations, so that the request will get proxied to the Tomcat server instead? --------- Re: Tomcat JSP via reverse proxy? -------- I have Tomcat running on Apache on an Intranet server. Everything works fine via the Intranet. However, I have also set up a reverse proxy connection from an Internet proxy server to get to the Apache server from the Internet. Servlets work fine, but I get an error when trying to run a JSP via the reverse proxy. http://ooze.bloomnet.com/apache/examples/servlets/ - All these work fine via the reverse proxy, but are pre-compiled (non-JSP) servlets. http://ooze.bloomnet.com/apache/examples/jsp/ - These give me the following error: ------- 500 Internal Server Error com.livesoftware.jsp.JSPServlet: javax.servlet.ServletException: The page '/apache/examples/jsp/num/numguess.jsp' does not exist. ------- Apparently Tomcat is getting confused by the addition of the '/apache' directory added in by the reverse proxy. (The proxy is set so that anything with /apache in the URL is reverse-proxied to the Intranet machine) Any ideas on how to tell Tomcat that this is normal? Thanks __________________________________________________ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/