Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 15378 invoked from network); 29 Jan 2003 18:12:47 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 29 Jan 2003 18:12:47 -0000 Received: (qmail 11117 invoked by uid 97); 29 Jan 2003 18:14:15 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 11107 invoked from network); 29 Jan 2003 18:14:14 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 29 Jan 2003 18:14:14 -0000 Received: (qmail 2348 invoked by uid 500); 29 Jan 2003 18:08:50 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 2303 invoked from network); 29 Jan 2003 18:08:50 -0000 Received: from buzzard.cqhost.net (209.126.140.128) by daedalus.apache.org with SMTP; 29 Jan 2003 18:08:50 -0000 Received: from jtrollingerxp (alcvpn.automatedlogic.com [208.6.162.2]) by virtualbuzzard.cqhost.net (8.10.2/8.10.2) with ESMTP id h0TI8pL26581 for ; Wed, 29 Jan 2003 13:08:51 -0500 From: "John Trollinger" To: "'Tomcat Users List'" Subject: RE: JSP Compilation Error Date: Wed, 29 Jan 2003 13:08:35 -0500 Message-ID: <01ef01c2c7c1$71000f00$fc0110ac@jtrollingerxp> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <00f701c2c7be$3ce59df0$57b4020a@PAYCHEX.COM> Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I put the tools.jar in my webserver/common/lib > -----Original Message----- > From: Marcelino Cruz [mailto:mcruz@paychex.com] > Sent: Wednesday, January 29, 2003 12:46 PM > To: Tomcat Users List > Subject: Re: JSP Compilation Error > > > I have the JDK. > > In $CATALINA_HOME/bin (I understand this replaces > $TOMCAT_HOME in the newer versions of Tomcat?) there is a > startup.sh that calls catalina.sh that in turn calls > setclasspath.sh. setclasspath.sh was asking for a "$BASEDIR" > variable that I set to be equal to $CATALINA_HOME. Now, my > questions are: > > 1) Do I modify the setclasspath.sh to look for the tools.jar > and dt.jar (as some people have suggested; to me the > tools.jar should be sufficient) in $JAVA_HOME/lib ? > 2) ...or do I copy tools.jar to $JAVA_HOME/jre/lib/ext ? > 3) ...or do I copy tools.jar to $CATALINA_HOME/server/ and > then either classes or lib ? > 4) ...or do I copy tools.jar to $CATALINA_HOME/shared/ and > then either classes or lib ? > > Just which jar file(s) exactly does Tomcat (Catalina) need > access to, where do those files need to be located, and where > (which script) do I make the changes so that the JVM that > Tomcat (Catalina) uses can find those compilation classes. > > Thank you! > MC > --- > ----- Original Message ----- > From: "John Trollinger" > To: "'Tomcat Users List'" > Sent: Wednesday, January 29, 2003 11:20 AM > Subject: RE: JSP Compilation Error > > > > Make sure you have the JDK and not the JRE, if you have the JRE you > > need the tools.jar from the JDK, if you have the JDK and > still get the > > problem make sure tomcats classpath can see tools.jar. > > > > John > > > > > -----Original Message----- > > > From: Marcelino Cruz [mailto:mcruz@paychex.com] > > > Sent: Wednesday, January 29, 2003 11:05 AM > > > To: Tomcat Users List > > > Subject: JSP Compilation Error > > > > > > > > > I know that this topic has been covered over and over... > I went to > > > the archives but didn't find a solution to my problem. > > > > > > I downloaded and installed (on Solaris 8 box) > jakarta-tomcat-4.1.18. > > > Unzipped the file (I don't have GNU Tar installed on this > machine to > > > get the tar version, and my company has FTP firewall access > > > blocked). > > > > > > I have Java v1.4.1_01. JAVA_HOME is set to the location of the > > > aforementioned Java version. CATALINA_HOME is set to the > > > installation location of jakarta-tomcat-4.1.18. I > proceed to start > > > tomcat and it comes up. Then when I try to access it with > > > http://myserver.company.com:8080 I get the following error: > > > > > > --- > > > org.apache.jasper.JasperException: Unable to compile class for JSP > > > > > > An error occurred at line: -1 in the jsp file: null > > > > > > Generated servlet error: > > > [javac] Compiling 1 source file > > > > > > /export/home/u01/jakarta-tomcat-4.1.18/work/Standalone/localho > > > st/_/index_jsp > > > .java:266: handlePageException(java.lang.Exception) in > > > javax.servlet.jsp.PageContext cannot be applied to > > > (java.lang.Throwable) > > > if (pageContext != null) pageContext.handlePageException(t); > > > ^ > > > 1 error > > > > > > ...and a long stack trace... > > > --- > > > > > > I've tried everything I've run into in the archives. Jasper uses > > > Ant. How can I ensure that the correct jar files are > being called > > > so that Jasper/Ant can compile JSP files? Why isn't it working? > > > Please help. I need to evaluate a content management > solution (Red > > > Hat's CCM) that runs on top of Tomcat. > > > > > > Thank you. > > > > > > MC > > > > > > > > > > > > > -------------------------------------------------------------------- > > > - > > > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > > > For additional commands, e-mail: > tomcat-user-help@jakarta.apache.org > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org