[opencms-dev] encoding-conflict on mac os x
Ilja
imhehenkamp at hotmail.com
Fri Oct 10 21:19:02 CEST 2003
Tried installing the latest opencms version on my mac osx machine, tomcat
5.08 and getting the following error:
"Error: the encoding of your Java VM is different from the OpenCms
encoding!"
So I tried setting the JAVA_OPTS in catalina.sh (not really sure if the
syntax is valid)
JAVA_OPTS='-Dlog4j.debug=true'
JAVA_OPTS=${JAVA_OPTS}:'-Dfile.encoding=ISO-8859-1'
and am now getting the following error:
java.lang.NullPointerException
com.opencms.boot.CmsSetup.getExtProperty(CmsSetup.java:163)
com.opencms.boot.CmsSetup.getDefaultContentEncoding(CmsSetup.java:1061)
org.apache.jsp.ocsetup.content_005fencoding_jsp._jspService(content_005fencoding_jsp.java:65)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:136)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:320)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:293)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
It's the same error I get when I tried setting defaultContentEncoding to
MacRoman in opencms.properties
Anyone know how I can solve this or what I'm doing wrong?
Ilja
More information about the opencms-dev
mailing list