[opencms-dev] Problems upgrading to 6.0.2

Nigel Kersten nigel at cofa.unsw.edu.au
Fri Nov 18 04:33:57 CET 2005


I had some problems upgrading from 6.0 to 6.0.2, and noticed there  
were errors regarding locked files in the templateonedemo area (I'd  
been fiddling around with it a bit).

I rolled back to my 6.0 config, published /sites/default, and did the  
install again. I got a few errors in teh log, which I've got below,  
but now my install gives me:

org.opencms.main.CmsInitException: Critical error during OpenCms  
initialization: Unable to read the OpenCms XML configuration.
	org.opencms.main.OpenCmsCore.getInstance(OpenCmsCore.java:268)
	org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:120)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

and the OpenCMS init log gives me:

--------------------
The following critical error occured:
Critical error during OpenCms initialization: Unable to read the  
OpenCms XML configuration.
Giving up, unable to start OpenCms.
--------------------

Any suggestions?



--------------------
Update Log Errors:
--------------------
6448:	( 1 / 10 ) Deleting file /system/modules/org.opencms.welcome/ 
default_bodies/default ... o.k.
6447:	------ Publishing files ...
6446:	Deleting /system/modules/org.opencms.welcome/
6445:		... 15 more
6444:		at org.opencms.db.CmsSecurityManager.readResource 
(CmsSecurityManager.java:3836)
6443:		at org.opencms.db.CmsSecurityManager.readResource 
(CmsSecurityManager.java:5589)
6442:		at org.opencms.db.CmsDriverManager.readResource 
(CmsDriverManager.java:5541)
6441:		at org.opencms.db.generic.CmsVfsDriver.readResource 
(CmsVfsDriver.java:1431)
6440:	Caused by: org.opencms.file.CmsVfsResourceNotFoundException:  
Unable to read resource "/release".
6439:		at org.opencms.setup.CmsUpdateThread.run(CmsUpdateThread.java: 
179)
6438:		at org.opencms.main.CmsShell.start(CmsShell.java:663)
6437:		at org.opencms.main.CmsShell.executeCommands(CmsShell.java:842)
6436:		at org.opencms.main.CmsShell.executeCommand(CmsShell.java:767)
6435:		at org.opencms.main.CmsShell$CmsCommandObject.executeMethod 
(CmsShell.java:246)
6434:		at java.lang.reflect.Method.invoke(Method.java:324)
6433:		at sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:25)
6432:		at sun.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:39)
6431:		at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
6430:		at org.opencms.setup.CmsUpdateBean.updateModulesFromUpdateBean 
(CmsUpdateBean.java:562)
6429:		at org.opencms.setup.CmsUpdateBean.updateModule 
(CmsUpdateBean.java:625)
6428:		at org.opencms.module.CmsModuleManager.deleteModule 
(CmsModuleManager.java:526)
6427:		at org.opencms.file.CmsObject.lockResource(CmsObject.java:1733)
6426:		at org.opencms.file.CmsObject.lockResource(CmsObject.java:1753)
6425:		at org.opencms.file.CmsObject.readResource(CmsObject.java:2658)
6424:		at org.opencms.db.CmsSecurityManager.readResource 
(CmsSecurityManager.java:3838)
6423:		at org.opencms.db.CmsDbContext.report(CmsDbContext.java:197)
6422:		at org.opencms.db.CmsDbContext.throwException 
(CmsDbContext.java:213)
6421:		at  
org.opencms.file.CmsVfsResourceNotFoundException.createException 
(CmsVfsResourceNotFoundException.java:78)
6420:	org.opencms.file.CmsVfsResourceNotFoundException: Error reading  
resource from path "/release/".
6419:	!!! Exception Error reading resource from path "/release/".
6418:		... 15 more
6417:		at org.opencms.db.CmsSecurityManager.readResource 
(CmsSecurityManager.java:3836)
6416:		at org.opencms.db.CmsSecurityManager.readResource 
(CmsSecurityManager.java:5589)
6415:		at org.opencms.db.CmsDriverManager.readResource 
(CmsDriverManager.java:5541)
6414:		at org.opencms.db.generic.CmsVfsDriver.readResource 
(CmsVfsDriver.java:1431)
6413:	Caused by: org.opencms.file.CmsVfsResourceNotFoundException:  
Unable to read resource "/index.jsp".
6412:		at org.opencms.setup.CmsUpdateThread.run(CmsUpdateThread.java: 
179)
6411:		at org.opencms.main.CmsShell.start(CmsShell.java:663)
6410:		at org.opencms.main.CmsShell.executeCommands(CmsShell.java:842)
6409:		at org.opencms.main.CmsShell.executeCommand(CmsShell.java:767)
6408:		at org.opencms.main.CmsShell$CmsCommandObject.executeMethod 
(CmsShell.java:246)
6407:		at java.lang.reflect.Method.invoke(Method.java:324)
6406:		at sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:25)
6405:		at sun.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:39)
6404:		at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
6403:		at org.opencms.setup.CmsUpdateBean.updateModulesFromUpdateBean 
(CmsUpdateBean.java:562)
6402:		at org.opencms.setup.CmsUpdateBean.updateModule 
(CmsUpdateBean.java:625)
6401:		at org.opencms.module.CmsModuleManager.deleteModule 
(CmsModuleManager.java:526)
6400:		at org.opencms.file.CmsObject.lockResource(CmsObject.java:1733)
6399:		at org.opencms.file.CmsObject.lockResource(CmsObject.java:1753)
6398:		at org.opencms.file.CmsObject.readResource(CmsObject.java:2658)
6397:		at org.opencms.db.CmsSecurityManager.readResource 
(CmsSecurityManager.java:3838)
6396:		at org.opencms.db.CmsDbContext.report(CmsDbContext.java:197)
6395:		at org.opencms.db.CmsDbContext.throwException 
(CmsDbContext.java:213)
6394:		at  
org.opencms.file.CmsVfsResourceNotFoundException.createException 
(CmsVfsResourceNotFoundException.java:78)
6393:	org.opencms.file.CmsVfsResourceNotFoundException: Error reading  
resource from path "/index.jsp".
6392:	!!! Exception Error reading resource from path "/index.jsp".
6391:		... 13 more
6390:		at org.opencms.db.CmsSecurityManager.readResource 
(CmsSecurityManager.java:3836)
6389:		at org.opencms.db.CmsSecurityManager.readResource 
(CmsSecurityManager.java:5589)
6388:		at org.opencms.db.CmsDriverManager.readResource 
(CmsDriverManager.java:5541)
6387:		at org.opencms.db.generic.CmsVfsDriver.readResource 
(CmsVfsDriver.java:1431)
6386:	Caused by: org.opencms.file.CmsVfsResourceNotFoundException:  
Unable to read resource "/release".
6385:		at org.opencms.setup.CmsUpdateThread.run(CmsUpdateThread.java: 
179)
6384:		at org.opencms.main.CmsShell.start(CmsShell.java:663)
6383:		at org.opencms.main.CmsShell.executeCommands(CmsShell.java:842)
6382:		at org.opencms.main.CmsShell.executeCommand(CmsShell.java:767)
6381:		at org.opencms.main.CmsShell$CmsCommandObject.executeMethod 
(CmsShell.java:246)
6380:		at java.lang.reflect.Method.invoke(Method.java:324)
6379:		at sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:25)
6378:		at sun.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:39)
6377:		at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
6376:		at org.opencms.setup.CmsUpdateBean.updateModulesFromUpdateBean 
(CmsUpdateBean.java:562)
6375:		at org.opencms.setup.CmsUpdateBean.updateModule 
(CmsUpdateBean.java:619)
6374:		at org.opencms.file.CmsObject.copyResourceToProject 
(CmsObject.java:462)
6373:		at org.opencms.file.CmsObject.readResource(CmsObject.java:2658)
6372:		at org.opencms.db.CmsSecurityManager.readResource 
(CmsSecurityManager.java:3838)
6371:		at org.opencms.db.CmsDbContext.report(CmsDbContext.java:197)
6370:		at org.opencms.db.CmsDbContext.throwException 
(CmsDbContext.java:213)
6369:		at  
org.opencms.file.CmsVfsResourceNotFoundException.createException 
(CmsVfsResourceNotFoundException.java:78)
6368:	org.opencms.file.CmsVfsResourceNotFoundException: Error reading  
resource from path "/release/".
6367:	!!! Exception Error reading resource from path "/release/".
6366:		... 13 more
6365:		at org.opencms.db.CmsSecurityManager.readResource 
(CmsSecurityManager.java:3836)
6364:		at org.opencms.db.CmsSecurityManager.readResource 
(CmsSecurityManager.java:5589)
6363:		at org.opencms.db.CmsDriverManager.readResource 
(CmsDriverManager.java:5541)
6362:		at org.opencms.db.generic.CmsVfsDriver.readResource 
(CmsVfsDriver.java:1431)
6361:	Caused by: org.opencms.file.CmsVfsResourceNotFoundException:  
Unable to read resource "/index.jsp".
6360:		at org.opencms.setup.CmsUpdateThread.run(CmsUpdateThread.java: 
179)
6359:		at org.opencms.main.CmsShell.start(CmsShell.java:663)
6358:		at org.opencms.main.CmsShell.executeCommands(CmsShell.java:842)
6357:		at org.opencms.main.CmsShell.executeCommand(CmsShell.java:767)
6356:		at org.opencms.main.CmsShell$CmsCommandObject.executeMethod 
(CmsShell.java:246)
6355:		at java.lang.reflect.Method.invoke(Method.java:324)
6354:		at sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:25)
6353:		at sun.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:39)
6352:		at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
6351:		at org.opencms.setup.CmsUpdateBean.updateModulesFromUpdateBean 
(CmsUpdateBean.java:562)
6350:		at org.opencms.setup.CmsUpdateBean.updateModule 
(CmsUpdateBean.java:619)
6349:		at org.opencms.file.CmsObject.copyResourceToProject 
(CmsObject.java:462)
6348:		at org.opencms.file.CmsObject.readResource(CmsObject.java:2658)
6347:		at org.opencms.db.CmsSecurityManager.readResource 
(CmsSecurityManager.java:3838)
6346:		at org.opencms.db.CmsDbContext.report(CmsDbContext.java:197)
6345:		at org.opencms.db.CmsDbContext.throwException 
(CmsDbContext.java:213)
6344:		at  
org.opencms.file.CmsVfsResourceNotFoundException.createException 
(CmsVfsResourceNotFoundException.java:78)
6343:	org.opencms.file.CmsVfsResourceNotFoundException: Error reading  
resource from path "/index.jsp".
6342:	!!! Exception Error reading resource from path "/index.jsp".
6341:	------ Begin deletion of old module org.opencms.welcome ...
6340:	------ Begin update of module org.opencms.welcome ...
6339:	------ ... finished update of module  
org.opencms.workplace.tools.accounts!
-----------------------------


--
Nigel Kersten [Senior Technical Officer]
College of Fine Arts, University of NSW, Australia.
CRICOS Provider Code: 00098G





More information about the opencms-dev mailing list