[opencms-dev] Installation problems with OpenCMS 6.0 Alpha 2

Arash Kaffamanesh kaffamanesh at dmu-world.de
Sat Dec 18 23:19:49 CET 2004


Nick,

I guess: your problem with 5.0.1 installation could be the encoding
problem or the version of your xerces xml-parser.
Try to use iso-8859-1 as default encoding of your jvm: to do that set
JAVA_OPT=-Dfile.encoding="ISO-8859-1"
And probably after the installation you have to copy the
xerces-1_4_4.jar from opencms/WEB-INF/lib to
$CATALINA_HOME/common/endorsed directory.

In the case of opencms 6 alpha 2 installation, It seems that the jasper
jsp-compiler of your tomcat 4.1.x (x=?) could be old, try to use tomcat
5.0.29 (or latest) and the latest SUN jdk 1.4.2 (It didn't work for me
with IBM and BEA jrockit compiler). For production / development use of
opencms take the latest HEAD from cvs and build it from source, it's
very easy.

Best Regards
Arash

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Nick Andrew
Sent: Samstag, 18. Dezember 2004 16:28
To: opencms-dev at opencms.org
Subject: [opencms-dev] Installation problems with OpenCMS 6.0 Alpha 2


I am attempting to install OpenCMS for the first (well, second) time.
First attempt was with OpenCMS 5.0.1 and the install failed with an
error message at almost the first screen. I found some postings in the
mailing list which described the same error upon installation, but no
followups to explain the error. Some kind of security problem, and when
I tried to investigate it seemed to be a problem in a Bean.

SO I gave up on 5.0.1 and am now trying 6.0 Alpha 2. This installation
has gone a lot further but it's real frustrating to get an error and see
nothing other than a Tomcat page with a huge java traceback yet
containing very very little information about what the application was
trying to do at the time of the error. I'm not a java programmer so I
can't debug the script.

Can anybody suggest a fix?

Here's what worked:

  - accepting the license agreement

  - component tests: (all checked okay)
    - JDK version: 1.4.2-rc1
    - Servlet engine: Apache Tomcat/4.1
    - Operating System: Linux 2.4.25-bf2.4
    - XML Parser: Xerces-J 2.6.2
    - Unpacked WAR file: yes
    - Default Encoding: UTF-8

  - select database (Mysql 3.x-4.0)
    - database specific settings

  - creating database, creating tables

  - modules available for installation (all 6 checked)

I completed the following form, and then the error appeared:

  OpenCms settings
    Enter your server's ethernet (MAC) address (12:34:56:12:34:56)
    Enter the URL of your OpenCms site
(http://example.com:8180/opencms)
    Enter a name for your OpenCms server  (OpenCms Server)
  Workplace import
    Do you want to import the workplace?  (yes)

Here is the error page I received:

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.runtime.JspRuntimeLibrary.internalIntrospecthelper(Jsp
RuntimeLibrary.java:274)
at
org.apache.jasper.runtime.JspRuntimeLibrary.access$000(JspRuntimeLibrary
.java:109)
at
org.apache.jasper.runtime.JspRuntimeLibrary$PrivilegedIntrospectHelper.r
un(JspRuntimeLibrary.java:134)
at java.security.AccessController.doPrivileged(Native Method) at
org.apache.jasper.runtime.JspRuntimeLibrary.introspecthelper(JspRuntimeL
ibrary.java:214)
at
org.apache.jasper.runtime.JspRuntimeLibrary.introspect(JspRuntimeLibrary
.java:198)
at
org.apache.jsp.step_8_import_workplace_jsp._jspService(step_8_import_wor
kplace_jsp.java:62)
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.access$000(ApplicationFi
lterChain.java:98)
at
org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterC
hain.java:176)
at java.security.AccessController.doPrivileged(Native Method) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:172)
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:242
2)
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
:163)
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:199)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:82
8)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:700)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:58
4)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:683)
at java.lang.Thread.run(Thread.java:534)

root cause 

java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.jasper.runtime.JspRuntimeLibrary.internalIntrospecthelper(Jsp
RuntimeLibrary.java:270)
at
org.apache.jasper.runtime.JspRuntimeLibrary.access$000(JspRuntimeLibrary
.java:109)
at
org.apache.jasper.runtime.JspRuntimeLibrary$PrivilegedIntrospectHelper.r
un(JspRuntimeLibrary.java:134)
at java.security.AccessController.doPrivileged(Native Method) at
org.apache.jasper.runtime.JspRuntimeLibrary.introspecthelper(JspRuntimeL
ibrary.java:214)
at
org.apache.jasper.runtime.JspRuntimeLibrary.introspect(JspRuntimeLibrary
.java:198)
at
org.apache.jsp.step_8_import_workplace_jsp._jspService(step_8_import_wor
kplace_jsp.java:62)
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.access$000(ApplicationFi
lterChain.java:98)
at
org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterC
hain.java:176)
at java.security.AccessController.doPrivileged(Native Method) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:172)
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:242
2)
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
:163)
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:199)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:82
8)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:700)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:58
4)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:683)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.NullPointerException
at org.opencms.setup.CmsSetupBean.setExtProperty(CmsSetupBean.java:1350)
at org.opencms.setup.CmsSetupBean.setServerName(CmsSetupBean.java:1198)
... 49 more

-- 


_______________________________________________
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