tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 29581] - java.lang.ExceptionInInitializerError when running Jasper twice
Date Wed, 16 Jun 2004 10:06:55 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29581>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29581

java.lang.ExceptionInInitializerError when running Jasper twice





------- Additional Comments From julien@julien-dubois.com  2004-06-16 10:06 -------
Workaround: launch JspC in a separate process.

        <java classname="org.apache.jasper.JspC"
              fork="true"
              failonerror="true"
              classpathref="jasper.classpath">
              
              <arg value="-p"/>
              <arg value="${jspc.package}"/>
              <arg value="-uriroot"/>
              <arg value="${basedir}/target/jspc/war"/>
              <arg value="-d"/>
              <arg value="${basedir}/target/jspc/java"/>
              <arg value="-webinc"/>
              <arg value="${basedir}/target/jspc/webinc.xml"/>
              <arg value="-xmlencoding"/>
              <arg value="ISO-8859-1"/>
              <arg value="-die1"/>
        </java>

HTH,

Julien Dubois

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message