Hay there,
Because of the outOfMemory errors I get while compiling the (large
number of) jsp's I like to use Jikes to compile them.
In conf/web.xml I try to configure Tomcat to use Jikes as followed:
<servlet>
<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>compiler</param-name>
<param-value>jikes</param-value>
</init-param>
<init-param>
<param-name>fork</param-name>
<param-value>true</param-value>
</init-param>
<load-on-startup>3</load-on-startup>
</servlet>
And on top in bin/catalina.sh I added:
CATALINA_OPTS="-Dbuild.compiler.emacs=true".
Furter I have set -Xms and -Xmx for the java compiler, but I don't think
I have to do this when I want to use Jikes
When I now start Tomcat and go through the jsp's I'm still getting the
outOfMemory errors after a while.
When I'm thinking about this it lookes like Tomcat Isn't using Jikes at
all to compile the jsp's
Is there a way to check if Tomcat is using Jikes???
And did I do something wrong with my configuration in Tomcat???
Is it necesary to set the fork parameter when I want to use Jikes???
Any help is preciated
Hans
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)