[opencms-dev] Installation on OSX - fun and joy!

Sam Easterby-Smith lists at samscam.co.uk
Wed Jul 16 16:29:02 CEST 2003


Hi there.

I am utterly new to Tomcat and OpenCms, and am attempting to get it  
running on Mac OSX Server
(mainly to see if it's any cop ;-)

So i've upgraded Tomcat from the pre-installed v3.something to a fresh  
copy of v4.1.24

And low, the server works, the examples work, the opencms package is in  
the right place and I get as far as ocsetup (choosing standard or  
advanced) and then hang my head in shame as I get the torrent of errors  
given below. (on the content_encoding.jsp page)

What else might help?

java version "1.4.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39)
Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode)

If anyone has any ideas it would be much appreciated.

Cheers,
Sam

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

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(JspServletWrapper.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.internalDoFilter(Applica 
tionFilterChain.java:247)
         at  
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt 
erChain.java:193)
         at  
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv 
e.java:256)
         at  
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i 
nvokeNext(StandardPipeline.java:643)
         at  
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 
80)
         at  
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at  
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv 
e.java:191)
         at  
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i 
nvokeNext(StandardPipeline.java:643)
         at  
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 
80)
         at  
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at  
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:241 
5)
         at  
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java 
:180)
         at  
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i 
nvokeNext(StandardPipeline.java:643)
         at  
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa 
lve.java:171)
         at  
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i 
nvokeNext(StandardPipeline.java:641)
         at  
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java 
:172)
         at  
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i 
nvokeNext(StandardPipeline.java:641)
         at  
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 
80)
         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.i 
nvokeNext(StandardPipeline.java:643)
         at  
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.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(Http11Processor.java:59 
4)
         at  
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC 
onnection(Http11Protocol.java:392)
         at  
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:56 
5)
         at  
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool 
.java:619)
         at java.lang.Thread.run(Thread.java:554)



root cause
java.lang.NullPointerException
         at com.opencms.boot.CmsSetup.getExtProperty(CmsSetup.java:163)
         at  
com.opencms.boot.CmsSetup.getDefaultContentEncoding(CmsSetup.java:1061)
         at  
org.apache.jsp.content_encoding_jsp._jspService(content_encoding_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(JspServletWrapper.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.internalDoFilter(Applica 
tionFilterChain.java:247)
         at  
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt 
erChain.java:193)
         at  
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv 
e.java:256)
         at  
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i 
nvokeNext(StandardPipeline.java:643)
         at  
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 
80)
         at  
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at  
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv 
e.java:191)
         at  
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i 
nvokeNext(StandardPipeline.java:643)
         at  
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 
80)
         at  
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at  
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:241 
5)
         at  
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java 
:180)
         at  
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i 
nvokeNext(StandardPipeline.java:643)
         at  
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa 
lve.java:171)
         at  
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i 
nvokeNext(StandardPipeline.java:641)
         at  
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java 
:172)
         at  
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i 
nvokeNext(StandardPipeline.java:641)
         at  
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 
80)
         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.i 
nvokeNext(StandardPipeline.java:643)
         at  
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.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(Http11Processor.java:59 
4)
         at  
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC 
onnection(Http11Protocol.java:392)
         at  
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:56 
5)
         at  
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool 
.java:619)
         at java.lang.Thread.run(Thread.java:554)



Apache Tomcat/4.1.24




More information about the opencms-dev mailing list