RE: Upgrade to Jahia 4.1.1_01

"Nicolas Lafaury" <[email protected]>
Newsgroups gmane.comp.cms.jahia.devel
Message-ID <[email protected]>
If you want I can send to you my modifications. 

-----Message d'origine-----
De : Serge Huber [mailto:[email protected]] 
Envoyé : jeudi 24 novembre 2005 15:22
À : [email protected]
Objet : Re: Upgrade to Jahia 4.1.1_01


Hi Nicolas,

Jahia isn't yet compatible with JDK 1.5

Regards,
  Serge Huber.

Nicolas Lafaury wrote:

> Hello I want to update a Jahia 4.1.0 to the new one 4.1.1_01.
> I use the patch on the website JahiaUpdate4.1.1_01.jar.
>  
> The patch seems work correctly and I have no errors. The proble is 
> when I tried to update a container I have an exeption :
>  
>  
>
><!--
>Error :
>
>Error during handle of operation, Error during handle of operation, 
>root cause:Error while forwarding a Jahia engine's content, Error while 
>forwarding the Engine /jsp/jahia/engines/engine.jsp : Unable to compile 
>class for JSP
>
>An error occurred at line: -1 in the jsp file: null
>
>Generated servlet error:
>    [javac] Compiling 1 source file
>    [javac] D:\jahia410_build6050\tomcat\work\Standalone\localhost\jahia\jsp\jahia\engines\addcontainer\addcontainer_jsp.java:157: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
>    [javac] (try -source 1.4 or lower to use 'enum' as an identifier)
>    [javac]     Enumeration enum = fieldNames.elements();
>    [javac]                 ^
>    [javac] D:\jahia410_build6050\tomcat\work\Standalone\localhost\jahia\jsp\jahia\engines\addcontainer\addcontainer_jsp.java:159: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
>    [javac] (try -source 1.4 or lower to use 'enum' as an identifier)
>    [javac]     while (enum.hasMoreElements()) {
>    [javac]            ^
>
> 
>
>This seems to be the version of my jdk. I use actually 
>jdk-1_5_0_05-nb-4_1-win-ml.exe
>
>Is anyone has an idea?
>
>In fact if i install directly the full version 4.1.1_01 I have no errors, so the problems seems to come from the patch.
>
>Thanks for your help.
>
> 
>
>Nicolas
>
>  
> Nicolas LAFAURY
> Ingénieur étude et dévelopement.
> Smile- Motoriste Internet
> 01-41-40-11-05
> [email protected] <mailto:[email protected]>
>  
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.