Discussion:
Engine JSPs compilation cache
Lorenzo Patocchi
2008-06-26 05:16:24 UTC
Permalink
Hello,
I wanted to customize the "Reset date" behavior in Jahia interface and
located the JSP containing the piece of code here:

...\Jahia\jsp\jahia\engines\shared\date_field.jsp

but any change made on file is ignored by tomcat.
I suppose there is some compilation cache. I erased *tomcat/work*
content but still it get not recompiled.

Any idea how can I tell tomcat to clean compilation cache or rebuild all
JSPs?

Thank you a lot !

Lorenzo
--
Lorenzo Patocchi
Dipl. Ing. STS/ETS/HTL
lorenzo.patocchi a cryms.com - www.cryms.com
Tel: +41 91 60 55266
Cel: +41 79 375 0891
Fax: +41 91 223 9797

Cryms sagl
Via Vedeggio 1
Uovo di Manno
6928 Manno - Lugano
Switzerland
Werner
2008-06-26 14:24:57 UTC
Permalink
Hi Lorenzo,

This jsp is precompiled in tomcat. You must remove follow entries from the
.../WEB-INF/web.xml

<servlet-mapping>

<servlet-name>org.jahia.jsp.jahia.war.jsp.jahia.engines.shared.date_005ffield_jsp</servlet-name>
<url-pattern>/jsp/jahia/engines/shared/date_field.jsp</url-pattern>
</servlet-mapping>

<servlet>

<servlet-name>org.jahia.jsp.jahia.war.jsp.jahia.engines.shared.date_005ffield_jsp</servlet-name>

<servlet-class>org.jahia.jsp.jahia.war.jsp.jahia.engines.shared.date_005ffield_jsp</servlet-class>
</servlet>

After that the tomcat will recompile the jsp with your changes.

regards
Werner
Post by Lorenzo Patocchi
Hello,
I wanted to customize the "Reset date" behavior in Jahia interface and
...\Jahia\jsp\jahia\engines\shared\date_field.jsp
but any change made on file is ignored by tomcat.
I suppose there is some compilation cache. I erased *tomcat/work* content
but still it get not recompiled.
Any idea how can I tell tomcat to clean compilation cache or rebuild all
JSPs?
Thank you a lot !
Lorenzo
--
Lorenzo Patocchi
Dipl. Ing. STS/ETS/HTL
lorenzo.patocchi a cryms.com - www.cryms.com
Tel: +41 91 60 55266
Cel: +41 79 375 0891
Fax: +41 91 223 9797
Cryms sagl
Via Vedeggio 1
Uovo di Manno
6928 Manno - Lugano
Switzerland
_______________________________________________
template_list mailing list
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
Lorenzo Patocchi
2008-07-03 15:01:57 UTC
Permalink
Thank you Werner,
works perfectly.

cheers,
Lorenzo
Post by Werner
Hi Lorenzo,
This jsp is precompiled in tomcat. You must remove follow entries from
the .../WEB-INF/web.xml
<servlet-mapping>
<servlet-name>org.jahia.jsp.jahia.war.jsp.jahia.engines.shared.date_005ffield_jsp</servlet-name>
<url-pattern>/jsp/jahia/engines/shared/date_field.jsp</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>org.jahia.jsp.jahia.war.jsp.jahia.engines.shared.date_005ffield_jsp</servlet-name>
<servlet-class>org.jahia.jsp.jahia.war.jsp.jahia.engines.shared.date_005ffield_jsp</servlet-class>
</servlet>
After that the tomcat will recompile the jsp with your changes.
regards
Werner
Hello,
I wanted to customize the "Reset date" behavior in Jahia
...\Jahia\jsp\jahia\engines\shared\date_field.jsp
but any change made on file is ignored by tomcat.
I suppose there is some compilation cache. I erased *tomcat/work*
content but still it get not recompiled.
Any idea how can I tell tomcat to clean compilation cache or
rebuild all JSPs?
Thank you a lot !
Lorenzo
--
Lorenzo Patocchi
Dipl. Ing. STS/ETS/HTL
lorenzo.patocchi a cryms.com <http://cryms.com> - www.cryms.com <http://www.cryms.com>
Tel: +41 91 60 55266
Cel: +41 79 375 0891
Fax: +41 91 223 9797
Cryms sagl
Via Vedeggio 1
Uovo di Manno
6928 Manno - Lugano
Switzerland
_______________________________________________
template_list mailing list
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
------------------------------------------------------------------------
_______________________________________________
template_list mailing list
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
--
Lorenzo Patocchi
Dipl. Ing. STS/ETS/HTL
***@cryms.com - www.cryms.com
Tel: +41 91 60 55266
Cel: +41 79 375 0891
Fax: +41 91 223 9797

Cryms sagl
Via Vedeggio 1
Uovo di Manno
6928 Manno - Lugano
Switzerland
Loading...