EL Expression failed with empty/not functions
---------------------------------------------

                 Key: CONTINUUM-1844
                 URL: http://jira.codehaus.org/browse/CONTINUUM-1844
             Project: Continuum
          Issue Type: Bug
          Components: Web - Configuration
    Affects Versions: 1.1
         Environment: Windows XP SP3 FR
java (JDK) "1.6.0_07"
apache tomcat "6.0.18"
activation-1.1.jar
mail-1.4.jar
            Reporter: Fabrice Daugan
            Priority: Critical


This bug is duplicate-like bug withe the one i've post to Archiva's JIRA : 
http://jira.codehaus.org/browse/MRM-905

After installing as Wiki said, as a tomcat WAR, i get parsing error in some 
JSP/TAG code in the header only.
Nevertheless, some other data may not appear.... i've not checked it.

Some examples :
org.apache.jasper.JasperException: 
/WEB-INF/jsp/components/companyLogo.jsp(22,0) "${!empty(organisationLogo)}" 
contient d'incorrecte(s) expression(s): javax.el.ELException: Function ':empty' 
not found

The workaround is very simple :
replace EL expressions containing "empty(" with "empty (", and "not(" with "not 
(" as EL expression requires.

Everything works fine an identical configuration but a 6.0.14 tomcat version.

As said in the Archiva's defect, this error is due to 6.0.18 tomcat's update as 
Hans Wurst highlights.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to