[opencms-dev] 答复: [opencms-dev] Problems installing OpenCms_5.0_rc_2.zip
hpgu at guanghua.sh.cn
hpgu at guanghua.sh.cn
Tue Mar 11 10:36:29 CET 2003
Hi;
I am using Windows2000,Tomcat4.0.3,mysql-4.0.11a-gamma-win, OpenCms_5.0_rc_2.zip,IE6.0 and Java 1.4.1_01.
During my installation , I first install Mysql, just follw the instruction . Then unzip the OpenCms. Cos I use Jbuilder7.0 Enterprise Trial , so I already have Tomcat4.0.3 installed. And Java 1.4.1_01 has been already installed before.
The Tomcat need some configration but not very complexy. Just set two environment variables. JAVA_HOME, CATALINA_HOME . On some OS platform maybe need set the CATALINA_OPTS(for character encoding).
JAVA_HOME is your JDK home directiry
CATALINA_HOME is your Tomcat home directiry
CATALINA_OPTS is to set the character encoding. Now i am in China so I make it =-Dfile.encoding=ISO-8859-1
Then you launch the tomcat(standalone)
Are you sure that you Tomcat is working?
If you sure that Tomcat is Ok then you stop it and turn to your OpenCms:
First unzip it,then you will find a opencms.war file, copy it to CATALINA_HOME/webapps(where to put this file is determined by the Tomcat root Doc in server.xml, so with the web server port, I use the default 8080)
then start the tomcat again
locate the browser to http://localhost:8080/opencms/ocsetup
Then follow the instruction to install. The database of Mysql will be created during this process.
Maybe in this step the OpenCms will tell you on you Web browser that the .War file should be uppached. When you encounter this problem just use winzip or winRar unpack it.
>From the error scripts I feel that you Mysql is running OK but maybe there are some misconfigurations with you servlet container. Check your environment variables and LIB classpath.
With you luck!
Humphrey.gu
-----邮件原件-----
发件人: Gebreselassie, Gezahegn [mailto:gebreselassie at streitz-consult.de]
发送时间: 2003年3月11日 16:45
收件人: opencms-dev at www.opencms.org
主题: [opencms-dev] Problems installing OpenCms_5.0_rc_2.zip
Hi,
I'm new to OpenCms. I've experienced a lot of problems installing OpenCms_5.0_rc_2.zip. It may be possible that many questions regarding about it have arised many times. But I didn't find any thing that matches to my question. I'm using Windows 2000, Tomcat 4.1.18, mySQL 3.23.55 , IE6 and Java 1.4.1_01. Here is the list of errors, which I encountered during installation.
Best Regards
Gezahegn
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Finished. Please check the output below to ensure that the workplace has been imported without major errors.
66: at com.opencms.boot.CmsMain.begin(CmsMain.java:150)
65: at java.lang.Class.newInstance(Class.java:259)
64: at java.lang.Class.newInstance0(Class.java:306)
63: at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
62: at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
61: at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
60: at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
59: at com.opencms.core.CmsShell.<init>(CmsShell.java:105)
58: at com.opencms.core.OpenCms.<init>(OpenCms.java:206)
57: at com.opencms.file.CmsRbManager.init(CmsRbManager.java:86)
56: at com.opencms.file.genericSql.CmsResourceBroker.init(CmsResourceBroker.java:3970)
55: at com.opencms.template.A_CmsXmlContent.<clinit>(A_CmsXmlContent.java:153)
54: java.lang.VerifyError: (class: com/opencms/template/CmsXmlXercesParser, method: parse signature: (Ljava/io/Reader;)Lorg/w3c/dom/Document;) Incompatible object argument for function call
53: [CmsResourceBroker] init registry.
52: [com.opencms.dbpool.CmsPool] mysqlonline: starting connection-guard
51: [com.opencms.dbpool.CmsPool] mysqlonline: created
50: [com.opencms.dbpool.CmsPool] mysqlonline: creating new connection. Current Amount is:4
49: [com.opencms.dbpool.CmsPool] mysqlonline: creating new connection. Current Amount is:3
48: [com.opencms.dbpool.CmsPool] mysqlonline: creating new connection. Current Amount is:2
47: [com.opencms.dbpool.CmsPool] mysqlonline: creating new connection. Current Amount is:1
46: [com.opencms.dbpool.CmsPool] mysqlonline: creating new connection. Current Amount is:0
45: [CmsDbAccess] fill default resources
44: [com.opencms.dbpool.CmsPool] mysql: starting connection-guard
43: [com.opencms.dbpool.CmsPool] mysql: created
42: [com.opencms.dbpool.CmsPool] mysql: creating new connection. Current Amount is:9
41: [com.opencms.dbpool.CmsPool] mysql: creating new connection. Current Amount is:8
40: [com.opencms.dbpool.CmsPool] mysql: creating new connection. Current Amount is:7
39: [com.opencms.dbpool.CmsPool] mysql: creating new connection. Current Amount is:6
38: [com.opencms.dbpool.CmsPool] mysql: creating new connection. Current Amount is:5
37: [com.opencms.dbpool.CmsPool] mysql: creating new connection. Current Amount is:4
36: [com.opencms.dbpool.CmsPool] mysql: creating new connection. Current Amount is:3
35: [com.opencms.dbpool.CmsPool] mysql: creating new connection. Current Amount is:2
34: [com.opencms.dbpool.CmsPool] mysql: creating new connection. Current Amount is:1
33: [com.opencms.dbpool.CmsPool] mysql: creating new connection. Current Amount is:0
32:
31: [CmsDbAccess] digest created, using: MD5 Message Digest from SUN, <initialized>
30: [CmsDbAccess] read digestFileEncoding from configurations: UTF-8
29: [CmsDbAccess] read digest from configurations: MD5
28: [CmsDbAccess] read backup-pool-name from configurations: jdbc:opencmspool:mysqlbackup
27: [CmsDbAccess] read online-pool-name from configurations: jdbc:opencmspool:mysqlonline
26: [CmsDbAccess] read pool-name from configurations: jdbc:opencmspool:mysql
25: [CmsDbAccess] init the dbaccess-module.
24: [CmsResourceBroker] init the dbaccess-module.
23: [CmsRbManager] created rb-instance
22: [CmsRbManager] got rb-class
21: [CmsRbManager] ressourcebroker-classname: com.opencms.file.mySql.CmsResourceBroker
20: [CmsRbManager] ressourcebroker-name: mysql
19: [OpenCms] initializing the main resource-broker
18: [OpenCms] creating first cms-object
17: [OpenCmsServlet] file.encoding: Cp1252
16: [OpenCmsServlet] OS Info: Windows 2000 5.0 x86
15: [OpenCmsServlet] JDK Info: Java HotSpot(TM) Server VM 1.4.1_01-b01 mixed mode Sun Microsystems Inc.
14: [OpenCmsServlet] logging started
13: %%% props: C:\Programme\Apache\Tomcat 4.1\webapps\opencms\WEB-INF\config/opencms.properties
12: [CmsClassLoader] Adding repository C:\Programme\Apache\Tomcat 4.1\webapps\opencms\WEB-INF\oclib\xerces-1_4_4.jar
11: [CmsClassLoader] Adding repository C:\Programme\Apache\Tomcat 4.1\webapps\opencms\WEB-INF\oclib\Tidy.jar
10: [CmsClassLoader] Adding repository C:\Programme\Apache\Tomcat 4.1\webapps\opencms\WEB-INF\oclib\opencms.jar
9: [CmsClassLoader] Adding repository C:\Programme\Apache\Tomcat 4.1\webapps\opencms\WEB-INF\oclib\mm.mysql-2.0.4-bin.jar
8: [CmsClassLoader] Adding repository C:\Programme\Apache\Tomcat 4.1\webapps\opencms\WEB-INF\oclib\mail.jar
7: [CmsClassLoader] Adding repository C:\Programme\Apache\Tomcat 4.1\webapps\opencms\WEB-INF\oclib\jakarta-oro-2.0.4.jar
6: [CmsClassLoader] Adding repository C:\Programme\Apache\Tomcat 4.1\webapps\opencms\WEB-INF\oclib\fesi.jar
5: [CmsClassLoader] Adding repository C:\Programme\Apache\Tomcat 4.1\webapps\opencms\WEB-INF\oclib\activation.jar
4: jarlist
3: oclib folder: C:\Programme\Apache\Tomcat 4.1\webapps\opencms\WEB-INF\oclib
2: [CmsClassLoader] Adding repository C:\Programme\Apache\Tomcat 4.1\webapps\opencms\WEB-INF\occlasses
1: Collecting Repositories
0: [CmsBase] Setting OpenCms home folder to C:\Programme\Apache\Tomcat 4.1\webapps\opencms\WEB-INF\.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request. exception
javax.servlet.ServletException: Servlet.init() for servlet OpenCmsServlet threw exception
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:962)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:666)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(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.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(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.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(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.invokeNext(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.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
at java.lang.Thread.run(Thread.java:536)
root cause
java.lang.VerifyError: (class: com/opencms/template/CmsXmlXercesParser, method: parse signature: (Ljava/io/Reader;)Lorg/w3c/dom/Document;) Incompatible object argument for function call
at com.opencms.template.A_CmsXmlContent.(A_CmsXmlContent.java:153)
at com.opencms.file.genericSql.CmsResourceBroker.init(CmsResourceBroker.java:3970)
at com.opencms.file.CmsRbManager.init(CmsRbManager.java:86)
at com.opencms.core.OpenCms.(OpenCms.java:206)
at com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:418)
at com.opencms.boot.OpenCmsServlet.init(OpenCmsServlet.java:89)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:934)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:666)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(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.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(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.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(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.invokeNext(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.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
at java.lang.Thread.run(Thread.java:536)
Apache Tomcat/4.1.18
More information about the opencms-dev
mailing list