[opencms-dev] OpenCMS Frustrations
Phan Dang Dinh
phan_dang_dinh at yahoo.co.uk
Thu Aug 19 04:04:24 CEST 2004
Pls try:
+ Open Registry
+ Go to:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Apache
Tomcat\Parameters]
+ Add: JVM Option Number 2 with value:
-Dfile.encoding=UTF-8
+ Open opencms.properties file and change
defaultContentEncoding=ISO-8859-1 to
defaultContentEncoding=UTF-8
+ Restart App server.
+ run: http://127.0.0.1/opencms/ocsetup
Dinh
--- max power <max.power at myrealbox.com> wrote:
>
> Hello List,
>
> I have speant manys late night trying to get opencms
> working first on a w2k server than on a debian box.
>
>
>
> The w2k problem was posted to the opencms list but
> did not seem to make it.
>
>
> W2k problem.
>
>
> On a windows 2K server I have set
> CATALINA_OPTS=-Dfile.encoding=ISO-8859-1 as per the
> documentation. now when I run
> http://127.0.0.1/opencms/ocsetup I get an exception.
> Remove CATALINA_OPTS and we are back to the "file
> encoding does not match error.
>
> Have tryed all the suggestions for this problem on
> the mailing opencms mailing list and a different
> machine as well as re-installing java, tomcat &
> opencms.
>
> Debian problem
>
>
>
> when running localhost://opencms/ocsetup & selecting
> continue.
>
> 2004-08-16 00:41:23 StandardWrapperValve[jsp]:
> Servlet.service() for servlet jsp
> threw exception
> java.security.AccessControlException: access denied
> (java.util.PropertyPermissio
> n * read,write)
> at
>
java.security.AccessControlContext.checkPermission(AccessControlConte
> xt.java:269)
> at
>
java.security.AccessController.checkPermission(AccessController.java:
> 401)
> at
>
java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
> at
>
java.lang.SecurityManager.checkPropertiesAccess(SecurityManager.java:
> 1243)
> at
> java.lang.System.getProperties(System.java:501)
> at
>
org.apache.jsp.content_0005fencoding$jsp._jspService(content_0005fenc
> oding$jsp.java:91)
> at
>
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
> at
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspSer
> vlet.java:201)
> at
>
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
> 81)
> at
>
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
> at
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
> icationFilterChain.java:247)
> at
>
org.apache.catalina.core.ApplicationFilterChain.access$000(Applicatio
> nFilterChain.java:98)
> at
>
org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilt
> erChain.java:176)
> at
> java.security.AccessController.doPrivileged(Native
> Method)
> at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
> ilterChain.java:172)
> at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
> alve.java:243)
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
> .java:566)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
> a:472)
> at
>
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
> alve.java:190)
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
> .java:566)
> at
>
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve
> .java:246)
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
> .java:564)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
> a:472)
> at
>
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
>
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:
> 2347)
> at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
> ava:180)
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
> .java:566)
> at
>
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche
> rValve.java:170)
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
> .java:564)
> at
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
> ava:170)
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
> .java:564)
> at
>
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
> 468)
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
> .java:564)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
> a:472)
> at
>
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
> ve.java:174)
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
> .java:566)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
> a:472)
> at
>
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
>
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcesso
> r.java:1027)
> at
>
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.ja
> va:1125)
> at java.lang.Thread.run(Thread.java:534)
>
>
> Can anyone help? Please....
>
>
>
>
>
> _______________________________________________
> This mail is send to you from the opencms-dev
> mailing list
> To change your list options, or to unsubscribe from
> the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
>
___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com
More information about the opencms-dev
mailing list