2 Replies Latest reply on Oct 4, 2002 3:47 AM by edurand

    JBoss 3 /Tomcat 4 and Jikes

    edurand Newbie

      Hi,

      We are using Orion, Weblogic and BES since a long time, and now we are looking for JBoss.

      The first problem we can easy see is the very low performance of the JSP compilation time.

      So our question : How configure JBoss and/or Tomcat to use Jikes ?

      Or another solution to get better JSP compilation performance.

      Thanks.

        • 1. Re: JBoss 3 /Tomcat 4 and Jikes
          Aaron Lee Newbie

          Hi,

          You need to modify the jsp section in web.xml


          <servlet-name>jsp</servlet-name>
          <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
          <init-param>
          <param-name>logVerbosityLevel</param-name>
          <param-value>WARNING</param-value>
          </init-param>

          <init-param>
          <param-name>jspCompilerPath</param-name>
          <param-value>G:\jikes-1.17\bin\jikes.exe</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>


          -Aaron

          • 2. Re: JBoss 3 /Tomcat 4 and Jikes
            edurand Newbie

            Thanks, it works !

            I have also added rt.jar of Jikes to JBOSS_CLASSPATH, like this :
            set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;%JAVAC_JAR%;%RUNJAR%;\Jikes\rt.jar