[opencms-dev] Tomcat 5.0.16 usage

Geoff Winkless opencms at geoff.dj
Tue Feb 10 12:44:00 CET 2004


09 February 2004 19:51, Mariano Barcia wrote:
> I am sure that Xerces being used in your environment is still v2.5,
> probably because of the J2SDK 1.4.2 (I strongly recommend you using
> J2SDK 1.4.1). I attach you here a tiny patch for your exception, HTH
> 
> Brief instructions:
> Once opencms.war is deployed, stop the context, and replace the Xerces
> library under WEB-INF/lib, then overwrite the .class file in
> WEB-INF/classes/com/opencms/template (CmsXmlXercesParser.class) with
> this one attached, and restart the context.

You also need to modify 

opencms/util/Encoder.java

107c107
<         return URLEncoder.encode(source);
---
>         return encode(source, C_URI_ENCODING , false);
154c154
<         return URLDecoder.decode(source);        
---
>         return decode(source, C_URI_ENCODING, false);        

Geoff


________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________



More information about the opencms-dev mailing list