[opencms-dev] the encoding of your Java VM is different from the OpenCms encoding!
Vincent Hanniet
vhanniet at free.fr
Wed May 19 17:56:01 CEST 2004
Hi,
Did you try to type manually the entire command line ? I mean without
using the environment "variables" like CATALINA_OPTS but replacing them
directly by the command parameters... No very funny but you could be
sure of the command line...
Vincent
Peter Baxter wrote:
> Hi Vincent, and sorry for the delay in getting back to you on this
> (other work-project related crap has encompassed my life of late, now
> back to this - way more fun =) ).... I appreciate your input on this, I
> tried this but can't seem to get it to work in the command line... but I
> did set CATALINA_OPTS="-Dfile.encoding=ISO-8859-1" tried to re- run the
> opencms set up and still get the same freakin error....
>
> I've tried everything (including changing the java vm encoding to
> ISO-8859-1 .... but no dice, anyone have another suggestion, this is
> getting annoying!
>
> Thanks in advance,
>
> Pete
>
> PS - Pablo - the link
> <http://www.adictosaltrabajo.com/tutoriales/tutoriales.php?pagina=opencm=>http://www.adictosaltrabajo.com/tutoriales/tutoriales.php?pagina=opencm=
> <http://www.adictosaltrabajo.com/tutoriales/tutoriales.php?pagina=opencm=s>s gave
> me the following error - thanks anyways tho "*Warning*:
> main(opencm=s.php): failed to open stream: No such file or directory in
> */home/adictosa/public_html/tutoriales/tutoriales.php* on line *132"*
>
>>>Hello,
>>>Try to add -Dfile.encoding=ISO-8859-1 in catalina.bat directly in the
>>>command line like :
>>>%_EXECJAVA% %JAVA_OPTS% -Dfile.encoding=ISO-8859-1 %CATALINA_OPTS%
>>>%DEBUG_OPTS% -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath
>>>"%CLASSPATH%" -Dcatalina.base="%CATALINA_BASE%"
>>>-Dcatalina.home="%CATALINA_HOME%" -Djava.io.tmpdir="%CATALINA_TMPDIR%"
>>>%MAINCLASS% %CMD_LINE_ARGS% %ACTION%
>
>>>I had the same problems an found that the parameter CATALINA_OPTS was
>>>not taken into account...
>
>>>Vincent
>
> Peter Baxter wrote:
>
>>/ Hi all,
> />/
> />/ OK..I have googled this and found many poepl have had the same issue,
> />/ but none of thier solutions have helped me to date and I'm wondering if
> />/ anyone can assist me here with thier knowlege and previous experience...
> />/
> />/ OS: Windows XP (Home Edition) ver 5.1
> />/ Tomcat: Version 4.1
> />/ OpenCMS: 5.0.1
> />/ JDK: 1.4
> />/
> />/ CATALINA_OPTS=-Dfile.encoding=ISO-8859-1
> />/ I also added the parameter |-Dfile.encoding=ISO-8859-1| to the command
> />/ line behind the call of the java executable.
> />/
> />/ But no luck....I am still getting the same error..
> />/
> />/ Error: the encoding of your Java VM is different from the OpenCms encoding!
> />/
> />/ Java VM file encoding: Cp1252
> />/ OpenCms encoding: ISO-8859-1
> />/
> />/
> />/ .... and no matter what I try I can't figure out what is causing this
> />/ error, any suggestions? direction?
> />/
> />/ Thanks in advance for any help you can give me on this!
> />/
> />/ Best,
> />/
> />/ Peter Baxter
> /
>
> ------------------------------------------------------------------------
>
> * Previous message: [opencms-dev] the encoding of your Java VM is
> different from the OpenCms encoding!
> <http://mail.opencms.org/pipermail/opencms-dev/2004q2/011251.html>
> * Next message: [opencms-dev] the encoding of your Java VM is
> different from the OpenCms encoding!
> <http://mail.opencms.org/pipermail/opencms-dev/2004q2/011259.html>
> * *Messages sorted by:* [ date ]
> <http://mail.opencms.org/pipermail/opencms-dev/2004q2/date.html#11258>
> [ thread ]
> <http://mail.opencms.org/pipermail/opencms-dev/2004q2/thread.html#11258>
> [ subject ]
> <http://mail.opencms.org/pipermail/opencms-dev/2004q2/subject.html#11258>
> [ a
> <http://mail.opencms.org/pipermail/opencms-dev/2004q2/author.html#11258>
More information about the opencms-dev
mailing list