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</param-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]>

Reply via email to