Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 47404 invoked from network); 12 Feb 2007 21:32:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Feb 2007 21:32:57 -0000 Received: (qmail 85844 invoked by uid 500); 12 Feb 2007 21:32:54 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 85327 invoked by uid 500); 12 Feb 2007 21:32:52 -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 85316 invoked by uid 99); 12 Feb 2007 21:32:52 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Feb 2007 13:32:52 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [204.127.200.85] (HELO sccrmhc15.comcast.net) (204.127.200.85) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Feb 2007 13:32:41 -0800 Received: from [192.168.1.47] (c-69-143-26-154.hsd1.va.comcast.net[69.143.26.154]) by comcast.net (sccrmhc15) with ESMTP id <2007021221321501500dql0ge>; Mon, 12 Feb 2007 21:32:16 +0000 Message-ID: <45D0DD58.9080709@christopherschultz.net> Date: Mon, 12 Feb 2007 16:34:16 -0500 From: Christopher Schultz User-Agent: Thunderbird 2.0b2 (Windows/20070116) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Tomcat 4.0 on UNIX: no /bin directory in $CATALINA_HOME, and JSP compilation errors References: <45D0DA84.6090209@lle.rochester.edu> In-Reply-To: <45D0DA84.6090209@lle.rochester.edu> X-Enigmail-Version: 0.94.1.2.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Daniel, Daniel Gresh wrote: > I've searched the web for information on Tomcat's directory structure. > According to one page I found, Tomcat should have a /bin directory, > which contains binary executables, such as startup.sh, which I can use > to restart Tomcat. When I navigate to my Tomcat installation, I can find > no /bin directory. The only directories I have are conf, work, logs, and > webapps. I assume this is a major problem. It might not be. How did you install Tomcat? If you used a version from a Linux distribution (you didn't specify what "UNIX" meant) then the installation paths can be all kinds of screwed up. If you installed it yourself from a package from apache.org then you /should/ have a bin directory as you describe. Another possibility is that you are looking at CATALINA_BASE instead of CATALINA_HOME and you are using a shared binary installation but looking at the part that should be application-specific (see RUNNING.TXT in your installation directory and read the "Advanced" section to understand what I'm talking about). > If so, should I re-install Tomcat (and update to Tomcat 6.0 while I'm at it)? Since you are just starting out, I highly recommend getting either the latest stable version (5.5) or the latest unstable version (6.0 -- apologies to the authors if 6.0 /is/ considered stable) and start there. Unless there is a very compelling reason to stick with a version that old, I'd advise you to upgrade. > The relevant part of the error message is: > > org.apache.jasper.JasperException: Unable to compile class for JSPNote: > sun.tools.javac.Main has been deprecated. Wow, I've never see that before. I assume that you are using a rather new version of Java (maybe JDK 1.5 or 1.6) with Tomcat 4.0. Tomcat 4.0 uses the old javac compiler and the newer ones use something else. It's possible that if you are using Java 5 (JDK 1.5) or Java 6 (JDK 1.6) that support has actually be completely removed for the old compiler invocation. An upgrade to a move recent version of Tomcat will certainly help if I have correctly identified the problem. > I've checked my JDK version to make sure it supports generics, > which it does. If this problem is not related to the first problem, I > believe there may be a problem with my CLASSPATH variable. What exactly > do I have to set this variable to so Tomcat can > recognize the proper settings? You can't change the CLASSPATH used by Tomcat (well, you /can/, but there's no reason to do so). I think that your Tomcat version is killing you, here. Upgrade and try again. If you have problems at that point, feel free to post another question. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF0N1X9CaO5/Lv0PARAsWYAKCZpgQlv/yHXkWOdRco5NRNr/EM0ACgivnB RGUigcc+9EA4lNNJKakg6+o= =XRRR -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org