AW: [opencms-dev] Opencms install on host server: help me!

Petr Hollay ph at ethikom.de
Thu Feb 26 09:22:01 CET 2004


Hi,

it seems that you need to set properly encoding, both in CATALINA_OPTS (e.g.
-Dfile.encoding=ISO-8859-1) 

and opencms.properties (defaultContentEncoding).

 

 

See the conference archive as this issue was already discussed many times.

 

Best regards

Petr

 

 

  _____  

Von: opencms-dev-admin at opencms.org [mailto:opencms-dev-admin at opencms.org] Im
Auftrag von Maurizio Betti
Gesendet: Mittwoch, 25. Februar 2004 20:13
An: opencms-dev at opencms.org
Betreff: Re: [opencms-dev] Opencms install on host server: help me!

 

Hy,

I asked to change the http.conf, so now it's ok. But if I try to call
http://host/opencms/index.jsp I receive the follow:

HTTP Status 404 - Not Found
----------------------------------------------------------------------------
---
type Status report

message Not Found

description The requested resource (Not Found) is not available.
----------------------------------------------------------------------------
----
Apache Tomcat/4.1.24

like openCms servlet doesn't process the request. Why? Please note that if I
(voluntary) change the file.encoding in the opencms.properties file and try
to recall the same page I receive the follow:

-------------------------------------------------------------------  ERROR
----------------------------------------------------------------------------
----

javax.servlet.ServletException: OpenCms initialization error!
 
Trouble creating the com.opencms.core.CmsObject. Please check the root cause
for more information.
 
 
        at
com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:248)
        at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:93
5)
        at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:668)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:210)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
        at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:171)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at
org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:466)
        at
org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:585)
        at java.lang.Thread.run(Thread.java:536)
 
 

root cause 

java.lang.Exception: OpenCms startup failure: System file.encoding
'ISO8859_1' not equal to OpenCms encoding 'UTF8'
        at com.opencms.core.OpenCms.(OpenCms.java:211)
        at
com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:242)
        at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:93
5)
        at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:668)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:210)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
        at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:171)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at
org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:466)
        at
org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:585)
        at java.lang.Thread.run(Thread.java:536)
 

----------------------------------------------------------------------------
----------------------------------------------------------------------------
-

So, It seems OpenCms is OK.

Please help me!

Regards, Maurizio Betti





At 16.04 23/02/2004 +0200, you wrote:



   Hello,

   You should try to talk with the system admin to modify httpd.conf.
Probably Apache is set to pass only the JSP files to Tomcat.
   You should request from him to pass all /opencms/* requests to Tomcat.

Best wishes,
Andras.

Maurizio Betti wrote:




Hy,

I'm trying to install opencms on host server.
In the setup wizard everythink was OK (connect to db hosted on other server,
import workplace, etc...), but, when I try to visit the start page (or the
login page), I receive an:
----------------------------------------------
http error 404 - File not found
----------------------------------------------

like the opencms VFS is NOT ABLE (It' s possibile? Why?).

I've  installed opencms on a Linux with Apache2 and Tomcat4.1.4 on a host
server. I've placed the WEB-INF, META-INF, ocsetup and Export folder under
the "htdocs" folder of the server (is like put these folders under the
webapps folder on tomcat standalone instllation).

I'm not able to modify the server.xml and the http.conf on the server (I've
just seen the Alkacon OpenCms 5.0.x Howto: Setting up httpd, Tomcat and
mod_proxy, but without any result).

Anybody can help me?
Thanks in advance,
    Maurizio Betti

_______________________________________________
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



_______________________________________________
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20040226/529fdc04/attachment.htm>


More information about the opencms-dev mailing list