[opencms-dev] Installation problems - Please help

David Tildesley (DSLWN) DavidTi at datacom.co.nz
Tue Dec 3 09:49:26 CET 2002


Hey Dean,

This is what the 5.0b2 installation manual says:

<quote>1 Install the Java JDK
Install Java JDK 1.4 or later (from SUN http://java.sun.com/products/j2se/).
This version of OpenCms was tested with Java 1.4 only. Some features
regarding file encoding where uses that are not available with Java releases
before 1.4. For details on how to install Java on your operating system, see
the documentation that comes with it.</quote> 


-----Original Message-----
From: Dean Drolet [mailto:deand at intergate.ca]
Sent: Tuesday, 3 December 2002 5:27 p.m.
To: opencms-dev at opencms.org
Subject: [opencms-dev] Installation problems - Please help


I have searched and searched, and after about 16 hours of trying, I cannot
get opencms to install correctly.  The setup:  Redhat 8.0 with jdk1.3.1_06
and Tomcat 4.0.6 installed.  Tomcat responds to requests at
http://serverip:8080.  Opencms setup works up until importing the default
workspace when I get an XML exception thrown.  Details will follow below.

Can anyone point me in the right direction?  I am at my wits end here.

Details:  warning LONG:

187: {Admin at Online}> exit
186: {Admin at Online}> writeExportPath export/
185: Vector was null or empty
184: currentUser:[User]:Admin , Id=2 , flags=0 , type=0 :the admin-user
183: PublishProject 2 CmsObject Time:Mon Dec 02 20:17:45 PST 2002
182: ###################################
181: {Admin at _setupProject}> publishProject 2
180:
179: > at com.opencms.boot.CmsSetupThread.run(CmsSetupThread.java:81)
178: > at com.opencms.boot.CmsMain.startSetup(CmsMain.java:117)
177: > at com.opencms.boot.CmsMain.begin(CmsMain.java:159)
176: > at java.lang.reflect.Method.invoke(Native Method)
175: > at com.opencms.core.CmsShell.commands(CmsShell.java:188)
174: > at com.opencms.core.CmsShell.call(CmsShell.java:147)
173: > at java.lang.reflect.Method.invoke(Native Method)
172: > at
com.opencms.core.CmsShellCommands.importResources(CmsShellCommands.java:1875
)
171: > at com.opencms.file.CmsObject.importResources(CmsObject.java:2033)
170: > at
com.opencms.file.genericSql.CmsResourceBroker.importResources(CmsResourceBro
ker.java:3931)
169: > at
com.opencms.file.genericSql.CmsResourceBroker.getFirstTagFromManifest(CmsRes
ourceBroker.java:7716)
168: > at
com.opencms.template.CmsXmlXercesParser.parse(CmsXmlXercesParser.java:134)
167: > at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
166: > at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
java:381)
165: > at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XM
LDocumentScanner.java:1094)
164: > at
org.apache.xerces.readers.AbstractCharReader.scanContent(AbstractCharReader.
java:1014)
163: > at
org.apache.xerces.readers.AbstractCharReader.changeReaders(AbstractCharReade
r.java:150)
162: > at
org.apache.xerces.readers.XMLEntityReader.changeReaders(XMLEntityReader.java
:168)
161: > at
org.apache.xerces.readers.DefaultEntityHandler.changeReaders(DefaultEntityHa
ndler.java:1031)
160: > at
org.apache.xerces.validators.common.XMLValidator.sendEndOfInputNotifications
(XMLValidator.java:712)
159: > at
org.apache.xerces.framework.XMLDocumentScanner.endOfInput(XMLDocumentScanner
.java:418)
158: > at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.endOfInput(
XMLDocumentScanner.java:1406)
157: > at
org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDocume
ntScanner.java:579)
156: > at
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1213)
155: >org.xml.sax.SAXParseException: The element type "file" must be
terminated by the matching end-tag "</file>".
154:  at com.opencms.boot.CmsSetupThread.run(CmsSetupThread.java:81)
153:  at com.opencms.boot.CmsMain.startSetup(CmsMain.java:117)
152:  at com.opencms.boot.CmsMain.begin(CmsMain.java:159)
151:  at java.lang.reflect.Method.invoke(Native Method)
150:  at com.opencms.core.CmsShell.commands(CmsShell.java:188)
149:  at com.opencms.core.CmsShell.call(CmsShell.java:147)
148:  at java.lang.reflect.Method.invoke(Native Method)
147:  at
com.opencms.core.CmsShellCommands.importResources(CmsShellCommands.java:1875
)
146:  at com.opencms.file.CmsObject.importResources(CmsObject.java:2033)
145:  at
com.opencms.file.genericSql.CmsResourceBroker.importResources(CmsResourceBro
ker.java:3931)
144:  at
com.opencms.file.genericSql.CmsResourceBroker.getFirstTagFromManifest(CmsRes
ourceBroker.java:7720)
143: [CmsException]: 0 Unknown exception. Detailed Error: NO MESSAGE. Caught
Exception: >org.xml.sax.SAXParseException: The element type "file" must be
terminated by the matching end-tag "</file>".<
142: {Admin at _setupProject}> importResources ocsetup/vfs
141: [Project]:_setupProject , Id=2 :the project for setup
140: {Admin at Online}> setCurrentProject 2
139: [Project]:tempFileProject , Id=3 :Project for temporary files
138: {Admin at Online}> createTempfileProject
137: {Admin at Online}> addFileExtension gif image
136: {Admin at Online}> addFileExtension jpg image
135: {Admin at Online}> addFileExtension jpeg image
134: {Admin at Online}> addFileExtension htm plain
133: {Admin at Online}> addFileExtension html plain
132: {Admin at Online}> addFileExtension txt plain
131: {Admin at Online}> addFileExtension class binary
130: {Admin at Online}> addFileExtension zip binary
129: {Admin at Online}> addFileExtension pdf binary
128: {Admin at Online}> addFileExtension doc binary
127: [Propertydefinition]:exportname , Id=49 , ResourceType=2
126: {Admin at Online}> createPropertydefinition exportname link
125: [Propertydefinition]:exportname , Id=48 , ResourceType=6
124: {Admin at Online}> createPropertydefinition exportname image
123: [Propertydefinition]:exportname , Id=47 , ResourceType=1
122: {Admin at Online}> createPropertydefinition exportname page
121: [Propertydefinition]:exportname , Id=46 , ResourceType=3
120: {Admin at Online}> createPropertydefinition exportname plain
119: [Propertydefinition]:exportname , Id=45 , ResourceType=0
118: {Admin at Online}> createPropertydefinition exportname folder
117: [Propertydefinition]:exportname , Id=44 , ResourceType=8
116: {Admin at Online}> createPropertydefinition exportname compatiblePlain
115: [Propertydefinition]:export , Id=43 , ResourceType=2
114: {Admin at Online}> createPropertydefinition export link
113: [Propertydefinition]:export , Id=42 , ResourceType=1
112: {Admin at Online}> createPropertydefinition export page
111: [Propertydefinition]:export , Id=41 , ResourceType=3
110: {Admin at Online}> createPropertydefinition export plain
109: [Propertydefinition]:export , Id=40 , ResourceType=0
108: {Admin at Online}> createPropertydefinition export folder
107: [Propertydefinition]:export , Id=39 , ResourceType=8
106: {Admin at Online}> createPropertydefinition export compatiblePlain
105: [Propertydefinition]:Description , Id=38 , ResourceType=6
104: {Admin at Online}> createPropertydefinition Description image
103: [Propertydefinition]:Keywords , Id=37 , ResourceType=5
102: {Admin at Online}> createPropertydefinition Keywords binary
101: [Propertydefinition]:Description , Id=36 , ResourceType=5
100: {Admin at Online}> createPropertydefinition Description binary
99: [Propertydefinition]:module , Id=35 , ResourceType=8
98: {Admin at Online}> createPropertydefinition module compatiblePlain
97: [Propertydefinition]:Keywords , Id=34 , ResourceType=8
96: {Admin at Online}> createPropertydefinition Keywords compatiblePlain
95: [Propertydefinition]:Description , Id=33 , ResourceType=8
94: {Admin at Online}> createPropertydefinition Description compatiblePlain
93: [Propertydefinition]:Keywords , Id=32 , ResourceType=3
92: {Admin at Online}> createPropertydefinition Keywords plain
91: [Propertydefinition]:Description , Id=31 , ResourceType=3
90: {Admin at Online}> createPropertydefinition Description plain
89: [Propertydefinition]:Keywords , Id=30 , ResourceType=1
88: {Admin at Online}> createPropertydefinition Keywords page
87: [Propertydefinition]:Description , Id=29 , ResourceType=1
86: {Admin at Online}> createPropertydefinition Description page
85: [Propertydefinition]:TemplateType , Id=28 , ResourceType=4
84: {Admin at Online}> createPropertydefinition TemplateType XMLTemplate
83: [Propertydefinition]:TemplateType , Id=27 , ResourceType=7
82: {Admin at Online}> createPropertydefinition TemplateType pdfpage
81: [Propertydefinition]:TemplateType , Id=26 , ResourceType=8
80: {Admin at Online}> createPropertydefinition TemplateType compatiblePlain
79: [Propertydefinition]:TemplateType , Id=25 , ResourceType=3
78: {Admin at Online}> createPropertydefinition TemplateType plain
77: [Propertydefinition]:NavPos , Id=24 , ResourceType=7
76: {Admin at Online}> createPropertydefinition NavPos pdfpage
75: [Propertydefinition]:NavText , Id=23 , ResourceType=7
74: {Admin at Online}> createPropertydefinition NavText pdfpage
73: [Propertydefinition]:Title , Id=22 , ResourceType=7
72: {Admin at Online}> createPropertydefinition Title pdfpage
71: [Propertydefinition]:ChannelId , Id=21 , ResourceType=0
70: {Admin at Online}> createPropertydefinition ChannelId folder
69: [Propertydefinition]:Keywords , Id=20 , ResourceType=0
68: {Admin at Online}> createPropertydefinition Keywords folder
67: [Propertydefinition]:Description , Id=19 , ResourceType=0
66: {Admin at Online}> createPropertydefinition Description folder
65: [Propertydefinition]:Title , Id=18 , ResourceType=0
64: {Admin at Online}> createPropertydefinition Title folder
63: [Propertydefinition]:NavPos , Id=17 , ResourceType=0
62: {Admin at Online}> createPropertydefinition NavPos folder
61: [Propertydefinition]:NavText , Id=16 , ResourceType=0
60: {Admin at Online}> createPropertydefinition NavText folder
59: [Propertydefinition]:NavPos , Id=15 , ResourceType=8
58: {Admin at Online}> createPropertydefinition NavPos compatiblePlain
57: [Propertydefinition]:NavText , Id=14 , ResourceType=8
56: {Admin at Online}> createPropertydefinition NavText compatiblePlain
55: [Propertydefinition]:NavPos , Id=13 , ResourceType=2
54: {Admin at Online}> createPropertydefinition NavPos link
53: [Propertydefinition]:NavText , Id=12 , ResourceType=2
52: {Admin at Online}> createPropertydefinition NavText link
51: [Propertydefinition]:NavPos , Id=11 , ResourceType=3
50: {Admin at Online}> createPropertydefinition NavPos plain
49: [Propertydefinition]:NavText , Id=10 , ResourceType=3
48: {Admin at Online}> createPropertydefinition NavText plain
47: [Propertydefinition]:NavPos , Id=9 , ResourceType=1
46: {Admin at Online}> createPropertydefinition NavPos page
45: [Propertydefinition]:NavText , Id=8 , ResourceType=1
44: {Admin at Online}> createPropertydefinition NavText page
43: [Propertydefinition]:Title , Id=7 , ResourceType=2
42: {Admin at Online}> createPropertydefinition Title link
41: [Propertydefinition]:Title , Id=6 , ResourceType=6
40: {Admin at Online}> createPropertydefinition Title image
39: [Propertydefinition]:Title , Id=5 , ResourceType=5
38: {Admin at Online}> createPropertydefinition Title binary
37: [Propertydefinition]:Title , Id=4 , ResourceType=4
36: {Admin at Online}> createPropertydefinition Title XMLTemplate
35: [Propertydefinition]:Title , Id=3 , ResourceType=1
34: {Admin at Online}> createPropertydefinition Title page
33: [Propertydefinition]:Title , Id=2 , ResourceType=8
32: {Admin at Online}> createPropertydefinition Title compatiblePlain
31: [Propertydefinition]:Title , Id=1 , ResourceType=3
30: {Admin at Online}> createPropertydefinition Title plain
29: [User]:Admin , Id=2 , flags=0 , type=0 :the admin-user
28: {Guest at Online}> {Guest at Online}> login Admin admin
27:
26: exit or quit Leaves the Shell
25: help help Prints this text
24: help <substring> Lists only those commands containing this substring
23: help <command> Shows signature of command
22: help Gives a list of available commands with signature
21:
20: further details.
19: Please see the GNU Lesser General Public Licence for
18: redistribute it under certain conditions.
17: This is free software, and you are welcome to
16: OpenCms comes with ABSOLUTELY NO WARRANTY
15: Copyright (C) 2001 The OpenCms Group
14:
13: 4.6.1 Tleilax
12:
11: further details.
10: Please see the GNU Lesser General Public Licence for
9: redistribute it under certain conditions.
8: This is free software, and you are welcome to
7: OpenCms comes with ABSOLUTELY NO WARRANTY
6: Copyright (C) 2001 The OpenCms Group
5:
4: 4.6.1 Tleilax
3: %%% props:
/usr/tomcat/jakarta-tomcat-4.0.6/webapps/opencms/WEB-INF/config/opencms.prop
erties
2: jarlist
1: oclib folder:
/usr/tomcat/jakarta-tomcat-4.0.6/webapps/opencms/WEB-INF/oclib
0: Collecting Repositories

End log.  I hope someone can help

Thanks in advance,
Dean




More information about the opencms-dev mailing list