[opencms-dev] OpenCMS Frustrations

Cederic Van Herreweghe cedericvh at BRANTANO.COM
Mon Aug 16 17:14:42 CEST 2004



When you have installed Tomcat to startup as a Win2K service you need to
change a property and to add a propery in the registry of Windows.
 
Go to : My
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Apache
Tomcat 4.1\Parameters

Change : JVM Option Count to 5 (instead of 4)

Add : JVM Option Number 4 : -Dfile.encoding=ISO-8859-1


After doing this it worked for me....

Kind regards,

Cederic
 

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of max power
Sent: maandag 16 augustus 2004 17:05
To: opencms-dev at opencms.org
Subject: [opencms-dev] OpenCMS Frustrations


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



More information about the opencms-dev mailing list