D.Cihak a écrit : > Hello, > > I tried to modify Jahia engines. Firstly I changed web.xml to use open source > engines instead of precompiled ones. But when I activated Jahia an error > occured. It looks like the two sets of engines are not equivalent. Have you > got any further information about this? I use Jahia Professional Edition (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</servlet-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</servlet-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 --=[ rfelden_at_jahia_dot_com ]=-- Jahia Solutions 9 route des Jeunes CH-1227 Les Acacias This e-mail and its contents are subject to the DISCLAIMER at http://www.jahia.com/disclaimer _______________________________________________ dev_list mailing list [email protected] http://lists.jahia.org/cgi-bin/mailman/listinfo/dev_list
