Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 97814 invoked from network); 2 Jan 2009 13:33:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Jan 2009 13:33:09 -0000 Received: (qmail 57144 invoked by uid 500); 2 Jan 2009 13:32:57 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 57111 invoked by uid 500); 2 Jan 2009 13:32:57 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 57100 invoked by uid 99); 2 Jan 2009 13:32:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jan 2009 05:32:57 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jan 2009 13:32:48 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LIk8Y-0005a6-Vg for users@tomcat.apache.org; Fri, 02 Jan 2009 05:32:26 -0800 Message-ID: <21251457.post@talk.nabble.com> Date: Fri, 2 Jan 2009 05:32:26 -0800 (PST) From: davefury To: users@tomcat.apache.org Subject: Re: Servlets works fine, JSP's don't In-Reply-To: <495E1002.9000000@ice-sa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: david.corral@silicetelecom.com References: <21250058.post@talk.nabble.com> <495E1002.9000000@ice-sa.com> X-Virus-Checked: Checked by ClamAV on apache.org Hello awarnier, thank you very much for your detailed response: 1) I'm accessing Tomcat via http://machine_ip/ so, its through apache. 2) At the bottom of the error pages (the 500 Internal Server Error), the following can be found: Apache/2.2.3 (Debian) mod_jk/1.2.27 Server at 62.175.253.142 Port 80 3) I've had a look at both apache2 & tomcat logs, and it just throws nothing after I reproduce the error. Catalina is set on debug mode, and I having a look at it, I only find DEBUG entries, not ERROR ones. Do you know if there is a way to increase verboseness on the errors shown on the browser to debug that error 500 a little more? I'm using tomcat apache-tomcat-5.5.17 & apache2 2.2.3-4+etch6. The mod_jk connector is the latest version download from the official website. 4) I'm affraid I can't connect to tomcat via 8080, since we'r all firewalled. Anyways, I assume its working correctly since its redirecting data to port 80, and its displaying fine. Guess mod_jk conector is working as intended. Thanks a lot for your time awarnier. awarnier wrote: > > davefury wrote: > [...] > There seems to be something preventing Tomcat from running your JSP > pages. I can't help you directly there, but before digging further, the > following are some general tips, also usable for other problems with > Apache and Tomcat. > > 1) Are you accessing Tomcat through Apache, or directly ? > (Assuming you really are totally new to this : > Usually Tomcat itself has a HTTP connector listening on port 8080 or so, > while Apache listens on the standard port 80. So if you access Tomcat > directly, you use a URL like http://myhost.mycompany.com:8080/examples/.. > while if you go through Apache and mod_jk, you would use > http://myhost.mycompany.com/examples/.. > ) > > 2) is the error page you receive an Apache page, or a Tomcat page, or an > internal page from IE ? (they are usually easy to distinguish by style) > > 3) what do the logfiles say ? > In your environment, the logfiles > - of Apache would be in /var/log/apache2/* > - of Tomcat would be in /var/log/tomcat5 (or 5.5) > (That is, by the way, always a good place to start looking) ;-) > > It would also help a bit if you were a little more precise with the > versions, like Apache 2.x.y? and Tomcat 5.x.y? > > 4) If you were accessing Tomcat through Apache, how about trying the > same, but accessing Tomcat directly (see above, add :tomcat-port to your > URL). > If not 8080, you can find out which port Tomcat is using by looking at > /etc/tomcat5(.5?)/server.xml > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > > -- View this message in context: http://www.nabble.com/Servlets-works-fine%2C-JSP%27s-don%27t-tp21250058p21251457.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org