Re: (no subject)

Romain Felden <[email protected]> Mon, 26 May 2008 16:37:38 +0200
Newsgroups gmane.comp.cms.jahia.devel
Message-ID <[email protected]>
D.Cihak a =E9crit :
> Hello,
>
> I tried to modify Jahia engines. Firstly I changed web.xml to use open so=
urce engines instead of precompiled ones. But when I activated Jahia an err=
or occured. It looks like the two sets of engines are not equivalent. Have =
you got any further information about this? I use Jahia Professional Editio=
n (60 days trial).
>
> Thank's a lot.
> _______________________________________________
> dev_list mailing list
> [email protected]
> http://lists.jahia.org/cgi-bin/mailman/listinfo/dev_list
>
>   =

Hi,

When editing the web.xml file to bypass precompiled JSPs, you have to =

remove two entry types :

the servlet declaration :
<servlet>
  =

<servlet-name>org.jahia.jsp.jahia.war.jsp.jahia.administration.login_jsp</s=
ervlet-name>
  =

<servlet-class>org.jahia.jsp.jahia.war.jsp.jahia.administration.login_jsp</=
servlet-class>
</servlet>

and the corresponding servletmapping :
<servlet-mapping>
  =

<servlet-name>org.jahia.jsp.jahia.war.jsp.jahia.administration.login_jsp</s=
ervlet-name>
  <url-pattern>/jsp/jahia/administration/login.jsp</url-pattern>
</servlet-mapping>

Be careful to remove only entries generated by Jasper, they are located =

between these two blocks :

<!--
Automatically created by Apache Jakarta Tomcat JspC.
Place this fragment in the web.xml before all icon, display-name,
description, distributable, and context-param elements.
-->

and

<!--
All session-config, mime-mapping, welcome-file-list, error-page, taglib,
resource-ref, security-constraint, login-config, security-role,
env-entry, and ejb-ref elements should follow this fragment.
-->

If done properly, everything will work fine, with just an additional =

loading time when compiling the JSP.

-- =

Romain Felden --=3D[ rfelden_at_jahia_dot_com ]=3D--

Jahia Solutions
9 route des Jeunes
CH-1227 Les Acacias

This e-mail and its contents are subject to the DISCLAIMER at http://www.ja=
hia.com/disclaimer

_______________________________________________
dev_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/dev_list