geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Łukasz Budnik" <lukasz.bud...@gmail.com>
Subject Re: pre-compiled JSPs throw exceptions
Date Sat, 05 Apr 2008 10:30:00 GMT
Hi Kevan,

On 04/04/2008, Kevan Miller <kevan.miller@gmail.com> wrote:
> I have some fuzzy memory of somebody reporting the same slow JSP compilation
> performance problem, trying it myself, and not seeing the problem. I
> couldn't find anything searching back through email, though (as i say it's a
> fuzzy memory :).
>
> You'll need to use the JspC class from
> repository/org/apache/tomcat/jasper/6.0.14-G614585/jasper-6.0.14-G614585.jar
> in your Geronimo install. Our pom.xml shows how to do this in maven. I've
> never done it, but as an Ant task, think you'll just need to set your
> jspc-classpath.

Yes, I'm using my own jspc-classpath, and of course I'm using Geronimo's Jasper.

This is my full jspc-classpath (as you can see, every pathelement
starts with ${GERONIMO_HOME}):

<path id="jspc-classpath">
	  <!-- taglib jsp core -->
	  <pathelement
location="${GERONIMO_HOME}\repository\jstl\jstl\1.2\jstl-1.2.jar" />
	  <!-- taglib jsf core and html -->
	  <pathelement
location="${GERONIMO_HOME}\repository\org\apache\myfaces\core\myfaces-impl\1.2.2\myfaces-impl-1.2.2.jar"/>
	  <!-- taglib tomahawk -->
	  <pathelement
location="${GERONIMO_HOME}\repository\org\apache\myfaces\tomahawk\tomahawk\1.1.7-SNAPSHOT\tomahawk-1.1.7-SNAPSHOT.jar"
/>
	  <!-- taglib tomahawk sandbox -->
	  <pathelement
location="${GERONIMO_HOME}\repository\org\apache\myfaces\tomahawk\tomahawk-sandbox\1.1.7-SNAPSHOT\tomahawk-sandbox-1.1.7-SNAPSHOT.jar"
/>
	  <!-- Geronimo's jasper -->
	  <pathelement
location="${GERONIMO_HOME}\repository\org\apache\tomcat\jasper\6.0.14-G614585\jasper-6.0.14-G614585.jar"
/>
	  <pathelement
location="${GERONIMO_HOME}\repository\org\apache\tomcat\jasper-el\6.0.14\jasper-el-6.0.14.jar"
/>
	  <pathelement
location="${GERONIMO_HOME}\repository\org\apache\geronimo\specs\geronimo-jsp_2.1_spec\1.0.1\geronimo-jsp_2.1_spec-1.0.1.jar"
/>
	  <pathelement
location="${GERONIMO_HOME}\repository\org\apache\geronimo\specs\geronimo-el_1.0_spec\1.0.1\geronimo-el_1.0_spec-1.0.1.jar"
/>
	  <!-- required by Jasper -->
	  <pathelement
location="${GERONIMO_HOME}\repository\org\apache\tomcat\juli\6.0.14\juli-6.0.14.jar"
/>
	  <path refid="web-classpath" />
</path>



> Lukasz possible that you could suggest some documentation after you fix your
> problem?

sure, wish me luck ;)

best regards
Łukasz
Mime
View raw message