Sounds like fun, but totally unnecessary, unless you have some sort of custom configuration that you haven't told us about.
John > -----Original Message----- > From: Marcelino Cruz [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 29, 2003 2:04 PM > To: 'Tomcat Users List' > Subject: Re: JSP Compilation Error > > > Still no luck. I'm downloading the source and building > Tomcat locally. > --- > ----- Original Message ----- > From: "John Trollinger" <[EMAIL PROTECTED]> > To: "'Tomcat Users List'" <[EMAIL PROTECTED]> > Sent: Wednesday, January 29, 2003 1:08 PM > Subject: RE: JSP Compilation Error > > > > I put the tools.jar in my webserver/common/lib > > > > > -----Original Message----- > > > From: Marcelino Cruz [mailto:[EMAIL PROTECTED]] > > > 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" <[EMAIL PROTECTED]> > > > To: "'Tomcat Users List'" <[EMAIL PROTECTED]> > > > 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:[EMAIL PROTECTED]] > > > > > 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: > [EMAIL PROTECTED] > > > > > For additional commands, e-mail: > > > [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]