[opencms-dev] OpenCms 5.0 and Tomcat 5.0.27
Emilio Escobar
escoembulma at terra.es
Tue Aug 3 10:10:01 CEST 2004
Hi Felipe,
look at com.opencms.template.CmsXmlXercesParser and replace
String result = ((org.apache.xerces.dom.CoreDocumentImpl)doc).getEncoding();
with
String result =
((org.apache.xerces.dom.CoreDocumentImpl)doc).getXmlEncoding();
opencms jar will compile but i haven't test it
> Hi Claus:
>
> I have made some changes to my opencms.jar so I can't change my
> opencms.jar for your opencms.jar, but I'm very interesting in putting the
> new xercer.jar instead de old one.
>
> What type of changes must I do in the source code of OpenCMS to work with
> the new xerces?
>
> Thank you very much for your help!!
>
>
> ------------------------------------------------
> Felipe Ramos
> Steria España
> Paseo de las Doce Estrellas, 2
> Campo de las Naciones
> 28042 Madrid, Spain
> Tel.: 913 939 888
> -------------------------------------------------
>
>
>
>
>
> Claus Priisholm <cpr at codedroids.com>
> Sent by: opencms-dev-admin at opencms.org
> 03/08/2004 08:46
> Please respond to opencms-dev
>
>
> To: opencms-dev at opencms.org
> cc:
> Subject: Re: [opencms-dev] OpenCms 5.0 and Tomcat 5.0.27
>
>
> I seem to recall someone stating that newer Xerces performs better than
> the old one, so it would probably be better use a version of
> opencms.jar which works with the newer Xerces. I've compiled a version
> of the opencms.jar from the 5.0.x branch of the source which works with
> newer Tomcat installs.
>
> You can download the opencms.jar from
> http://www.codedroids.com/community/opencms.
>
> I did the following steps on a number of OpenCms 5.0.1/Tomcat 4.1.18
> sites that were upgraded to Tomcat 5.0.25:
>
> 1. stopped Tomcat,
> 2. upgraded Tomcat,
> 3. moved the relevant web-apps into the new installation,
> 4. replaced their .../WEB-INF/lib/opencms.jar with the new one
> 5. and started Tomcat.
>
> Hasn't caused any problems as far as I know.
>
> On 2/8-2004, at 20.08, Arash Kaffamanesh wrote:
>
>> Manuel,
>>
>> I'm running it on linux without any problem, the only thing which I
>> had to change was the xercesImpl-2.6.2.jar with xcerces-1_4_4.jar
>> under /Tomcat5.0.27/common/endorsed. You will find
>> xcerces-1_4_4.jar under /opencms/WEB-INF/lib folder.
>>
>> best regards
>> Arash
>> -----Original Message-----
>> From: opencms-dev-admin at opencms.org
>> [mailto:opencms-dev-admin at opencms.org] On Behalf Of Manuel Wallnöfer
>> Sent: Monday, August 02, 2004 7:22 PM
>> To: OpenCMS List
>> Subject: [opencms-dev] OpenCms 5.0 and Tomcat 5.0.27
>>
>>
>> Hi all,
>>
>>
>>
>> i have a question about OpenCms 5.0 and Tomcat 5.0.27.
>>
>>
>>
>> Can I use both components together or is OpenCms 5.0 not compatible
>> with Tomcat 5.0.27?
>>
>>
>>
>> Thx for help!
>>
>>
>>
>>
>>
>>
>>
>> ------------------------------------------
>>
>> Manuel Wallnöfer
>>
>> Roseweg 1
>>
>> A - 4111 Walding
>>
>>
>>
> --
> Claus Priisholm, CodeDroids ApS
> +45 48 22 46 46
> cpr (you-know-what) interlet.dk - cpr (you-know-what) codedroids.com
> http://www.interlet.dk - http://www.codedroids.com
>
>
>
>
--
Emilio
More information about the opencms-dev
mailing list