I believe the documentation in the conf/web.xml is incorrect
about the "classpath" init parameter.  I believe this init
parameter has no effect.  Instead, the RELEASE-NOTES-4.0.1.txt
file says modify the catalina.sh/catalina.bat file to add rt.jar
to the CLASSPATH.  See the "Jasper and Jikes" section.

Cheers,
Larry

> -----Original Message-----
> From: Jack Lauman [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 10, 2001 7:24 PM
> To: Tomcat Users List
> Subject: Re: Jikes Config and Tomcat 4.0
> 
> 
> I asked the same question about 2 weeks ago and never got a response.
> The docs in web.xml are pretty vague, maybe a commented out example
> could be added the distributions web.xml to reduce the confusion.
> 
> Regards,
> 
> Jack
> 
> Jakob Lemler wrote:
> > 
> > Hi all,
> > 
> > tried to install Jikes 1.15 and Tomcat 4.0.1 with jdk 1.3.1_01.
> > 
> > Problem: When Tomcat starts Jikes to compile a jsp, it did 
> not find the
> > java classes (java.lang, java.util ...).
> > Instead it searches only some Tomcat directories.
> > An external declared classpath variable did not help either.
> > 
> > Here a quote of my web.xml file in $CATALINA_HOME$\conf:
> > 
> >   <!-- If you wish to use Jikes to compile JSP pages:
> > -->
> >   <!-- * Set the "classpath" initialization parameter appropriately
> > -->
> >   <!--   for this web application.
> > -->
> >   <!-- * Set the "jspCompilerPlugin" initialization parameter to
> > -->
> >   <!--   "org.apache.jasper.compiler.JikesJavaCompiler".
> > -->
> > 
> >   <servlet>
> >     <servlet-name>jsp</servlet-name>
> >     
> <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
> >     <init-param>
> >       <param-name>logVerbosityLevel</param-name>
> >       <param-value>INFORMATION</param-value>
> >     </init-param>
> >     <init-param>
> >       <param-name>classpath</param-name>
> >       <param-value>c:\jdk\jre\lib\rt.jar;.</param-value>
> >     </init-param>
> >     <init-param>
> >       <param-name>jspCompilerPlugin</param-name>
> > 
> > 
> <param-value>org.apache.jasper.compiler.JikesJavaCompiler</par
am-value>
> >     </init-param>
> >     <load-on-startup>3</load-on-startup>
> >   </servlet>
> > 
> > What�s wrong? Hope this is not a faq... ;-)
> > 
> > Bye and thanks in advance
> > Jakob
> > 
> > --
> > To unsubscribe:   
> <mailto:[EMAIL PROTECTED]>
> > For additional commands: 
> <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: 
> <mailto:[EMAIL PROTECTED]>
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to