[opencms-dev] Install Wizard reports VerifyError

Christian Fritze The.Finn at sprawl.de
Fri Oct 25 13:15:24 CEST 2002


Hello everybody!


I seem not to be able to install OpenCMS properly. 

What I have so far is:

1. a Linux system (admittedly a bit overaged in some corners)
2. JDK 1.3.0 properly installed
3. Tomcat 4.1.12 up and running
4. mySQL 3.23.52 up and running

Now I start the Install Wizard for OpenCMS 4.6.1 and everything works
fine until I try to import the workspace. Then it reports the following
lines (paths shortened for discretion against customer... ;-) :


64:                at
com.opencms.boot.CmsSetupThread.run(CmsSetupThread.java:81)
63:                at
com.opencms.boot.CmsMain.startSetup(CmsMain.java:117)
62:                at com.opencms.boot.CmsMain.begin(CmsMain.java:150)
61:                at java.lang.Class.newInstance(Class.java:237)
60:                at java.lang.Class.newInstance0(Native Method)
59:                at
com.opencms.core.CmsShell.<init>(CmsShell.java:105)
58:                at com.opencms.core.OpenCms.<init>(OpenCms.java:175)
57:                at
com.opencms.file.CmsRbManager.init(CmsRbManager.java:86)
56:                at
com.opencms.file.genericSql.CmsResourceBroker.init(CmsResourceBroker.java:3989)
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

[...]

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

[...]

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: ISO-8859-1
16:        [OpenCmsServlet] OS Info: Linux 2.2.13 i386
15:        [OpenCmsServlet] JDK Info: Java HotSpot(TM) Client VM 1.3.0
mixed mode Sun Microsystems Inc.
14:        [OpenCmsServlet] logging started
13:        %%% props:
/.../packages/jakarta-tomcat-4.1.12/webapps/opencms/WEB-INF/config/opencms.properties
12:        [CmsClassLoader] Adding repository
/.../packages/jakarta-tomcat-4.1.12/webapps/opencms/WEB-INF/oclib/xerces-1_4_4.jar
11:        [CmsClassLoader] Adding repository
/.../packages/jakarta-tomcat-4.1.12/webapps/opencms/WEB-INF/oclib/Tidy.jar
10:        [CmsClassLoader] Adding repository
/.../packages/jakarta-tomcat-4.1.12/webapps/opencms/WEB-INF/oclib/opencms.jar
9:        [CmsClassLoader] Adding repository
/.../packages/jakarta-tomcat-4.1.12/webapps/opencms/WEB-INF/oclib/mm.mysql-2.0.4-bin.jar
8:        [CmsClassLoader] Adding repository
/.../packages/jakarta-tomcat-4.1.12/webapps/opencms/WEB-INF/oclib/mail.jar
7:        [CmsClassLoader] Adding repository
/.../packages/jakarta-tomcat-4.1.12/webapps/opencms/WEB-INF/oclib/jakarta-oro-2.0.6.jar
6:        [CmsClassLoader] Adding repository
/.../packages/jakarta-tomcat-4.1.12/webapps/opencms/WEB-INF/oclib/fesi.jar
5:        [CmsClassLoader] Adding repository
/.../packages/jakarta-tomcat-4.1.12/webapps/opencms/WEB-INF/oclib/activation.jar
4:        jarlist
3:        oclib folder:
/.../packages/jakarta-tomcat-4.1.12/webapps/opencms/WEB-INF/oclib
2:        [CmsClassLoader] Adding repository
/.../packages/jakarta-tomcat-4.1.12/webapps/opencms/WEB-INF/occlasses
1:        Collecting Repositories
0:        [CmsBase] Setting OpenCms home folder to
/.../packages/jakarta-tomcat-4.1.12/webapps/opencms/WEB-INF/.


Please note that Derek Hohls reported that exception a few months ago 
[http://www.opencms.org/majordomo/opencms-dev/0208/msg00102.html]

In reply to his question Stephan Hartmann first suggested to state 
a complete URI in the document type declaration of web.xml. 
[http://www.opencms.org/majordomo/opencms-dev/0208/msg00106.html]
I did this and it had no effect on the problem. 

Then Stephan suggested that there may be an additional XML parser 
reachable for tomcat (in $JAVA_HOME/jre/lib/ext or wherever...) 
[http://www.opencms.org/majordomo/opencms-dev/0208/msg00110.html]
This is not the case. I do have another XML parser but it's installed
in a 'non standard' location and explicitly referenced by the 
application using it. I did verify this by simply removing the file
xerces-1_4_4.jar from the oclib directory temporarily and then getting
a ClassDefNotFound as expected.


So now I need a third idea. Any suggestions?


lost in the woods...
Christian 


--
Grüße aus Europas größtem       Greetings from Europe's largest
Urban Sprawl (DUDOMA -- Duisburg Dortmund Metropolitan Axis ;-)
Christian Fritze   <The.Finn at sprawl.de>   http://www.sprawl.de/




More information about the opencms-dev mailing list