[opencms-dev] Problems installing on FreeBSD 4.8

Roedel, Mark MarkRoedel at letu.edu
Fri Jun 27 00:23:01 CEST 2003


I've got OpenCMS running just fine in the same environment here.

The FreeBSD native JDK defaults to a different content
encoding/character set than what OpenCMS expects.  You can override this
on your server by setting the CATALINA_OPTS environment variable to a
value of "-Dfile.encoding=ISO-8859-1" (without the quotes, of course)
before starting Tomcat.


---
Mark Roedel           | "Blessed is he who has learned to laugh
Systems Programmer    |  at himself, for he shall never cease
LeTourneau University |  to be entertained."
Longview, Texas, USA  |                          -- John Powell


> -----Original Message-----
> From: Thomas von Hassel [mailto:thomas at elements.dk] 
> Sent: Thursday, June 26, 2003 8:11 AM
> To: opencms-dev at opencms.org
> Subject: [opencms-dev] Problems installing on FreeBSD 4.8
> 
> 
> Hi there
> 
> I'm having problems installing on FreebSD 4.8. I have sucessfully  
> installed the JDK (ports/java/jdk14) and Tomcat  
> (ports/www/jakarta-tomcat41)
> 
> When i try to run http://130.227.212.242:8180/opencms/ocsetup/ i get  
> the starting page, but when i choose setup (advanced or 
> standard) and  
> click continue i get the error pasted in belov... any ideas ? i can  
> access the tomcat mangaer and the example webapps just fine.
> 
> 
> 
> 
> HTTP Status 500 -
> 
> type Exception report
> 
> message
> 
> description The server encountered an internal error () that 
> prevented  
> it from fulfilling this request.
> 
> exception
> org.apache.jasper.JasperException
>          at  
> org.apache.jasper.servlet.JspServletWrapper.service(JspServlet
> Wrapper.ja 
> va:254)
>          at  
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet
> .java:295)
>          at  
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>          at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>          at  
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
> er(Applica 
> tionFilterChain.java:247)
>          at  
> org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
> cationFilt 
> erChain.java:193)
>          at  
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
> rapperValv 
> e.java:256)
>          at  
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.i 
> nvokeNext(StandardPipeline.java:643)
>          at  
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:4 
> 80)
>          at  
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>          at  
> org.apache.catalina.core.StandardContextValve.invoke(StandardC
> ontextValv 
> e.java:191)
>          at  
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.i 
> nvokeNext(StandardPipeline.java:643)
>          at  
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:4 
> 80)
>          at  
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>          at  
> org.apache.catalina.core.StandardContext.invoke(StandardContex
> t.java:241 
> 5)
>          at  
> org.apache.catalina.core.StandardHostValve.invoke(StandardHost
> Valve.java 
> :180)
>          at  
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.i 
> nvokeNext(StandardPipeline.java:643)
>          at  
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
> spatcherVa 
> lve.java:171)
>          at  
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.i 
> nvokeNext(StandardPipeline.java:641)
>          at  
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
> Valve.java 
> :172)
>          at  
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.i 
> nvokeNext(StandardPipeline.java:641)
>          at  
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:4 
> 80)
>          at  
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>          at  
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
> gineValve. 
> java:174)
>          at  
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.i 
> nvokeNext(StandardPipeline.java:643)
>          at  
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:4 
> 80)
>          at  
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>          at  
> org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.
> java:223)
>          at  
> org.apache.coyote.http11.Http11Processor.process(Http11Process
> or.java:59 
> 4)
>          at  
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandle
> r.processC 
> onnection(Http11Protocol.java:392)
>          at  
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoi
> nt.java:56 
> 5)
>          at  
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> ThreadPool 
> .java:619)
>          at java.lang.Thread.run(Thread.java:536)
> 
> root cause
> java.lang.NullPointerException
>          at 
> com.opencms.boot.CmsSetup.getExtProperty(CmsSetup.java:163)
>          at  
> com.opencms.boot.CmsSetup.getDefaultContentEncoding(CmsSetup.j
> ava:1061)
>          at  
> org.apache.jsp.content_encoding_jsp._jspService(content_encodi
> ng_jsp.jav 
> a:66)
>          at  
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
>          at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>          at  
> org.apache.jasper.servlet.JspServletWrapper.service(JspServlet
> Wrapper.ja 
> va:210)
>          at  
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet
> .java:295)
>          at  
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>          at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>          at  
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
> er(Applica 
> tionFilterChain.java:247)
>          at  
> org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
> cationFilt 
> erChain.java:193)
>          at  
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
> rapperValv 
> e.java:256)
>          at  
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.i 
> nvokeNext(StandardPipeline.java:643)
>          at  
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:4 
> 80)
>          at  
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>          at  
> org.apache.catalina.core.StandardContextValve.invoke(StandardC
> ontextValv 
> e.java:191)
>          at  
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.i 
> nvokeNext(StandardPipeline.java:643)
>          at  
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:4 
> 80)
>          at  
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>          at  
> org.apache.catalina.core.StandardContext.invoke(StandardContex
> t.java:241 
> 5)
>          at  
> org.apache.catalina.core.StandardHostValve.invoke(StandardHost
> Valve.java 
> :180)
>          at  
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.i 
> nvokeNext(StandardPipeline.java:643)
>          at  
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
> spatcherVa 
> lve.java:171)
>          at  
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.i 
> nvokeNext(StandardPipeline.java:641)
>          at  
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
> Valve.java 
> :172)
>          at  
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.i 
> nvokeNext(StandardPipeline.java:641)
>          at  
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:4 
> 80)
>          at  
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>          at  
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
> gineValve. 
> java:174)
>          at  
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.i 
> nvokeNext(StandardPipeline.java:643)
>          at  
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:4 
> 80)
>          at  
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>          at  
> org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.
> java:223)
>          at  
> org.apache.coyote.http11.Http11Processor.process(Http11Process
> or.java:59 
> 4)
>          at  
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandle
> r.processC 
> onnection(Http11Protocol.java:392)
>          at  
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoi
> nt.java:56 
> 5)
>          at  
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> ThreadPool 
> .java:619)
>          at java.lang.Thread.run(Thread.java:536)
> 
> Apache Tomcat/4.1.24 
> 
> _______________________________________________
> 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