[opencms-dev] Problems installing 6.2.2

Trevor Glen tg at sarugo.net
Wed Jul 26 13:57:25 CEST 2006


Hi All,

I've spent all day Googling and searching the archives and I can't find
the answer to this one.

I've been trying to install 6.2.2 today and the setup wizard gets to a
seemingly random point and stops with a NullPointerException in the logs
(see an excerpt below).

Each time I run the installer, it will stop at a different spot, and
even if I try to install a minimal number of modules, it still does not
complete the installation.

I get "green ticks" across the board with the second step of the
installation and the database is a "clean db" every time.

My system:

$ java -version
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode)

$ uname -a
Linux gonzo 2.6.15-23-386 #1 PREEMPT Tue May 23 13:49:40 UTC 2006 i686
GNU/Linux

Tomcat: 5.5

Mysql:  5.0.21-Debian_3ubuntu1-log

Let me know if you need some more details.

Please help! I really want to give opencms a go, but just can't get it
installed.

1364:   ------ Importing module ... org.opencms.editors.htmlarea ...
Import Version 4
1365:   ( 1 / 185 ) Importing /system/ ... o.k.
1366:   ( 2 / 185 ) Skipping /system/workplace/
1367:   ( 3 / 185 ) Importing /system/workplace/editors/ ... o.k.
1368:   ( 4 / 185 ) Importing /system/workplace/editors/htmlarea/ ... o.k.
1369:   ( 5 / 185 ) Importing
/system/workplace/editors/htmlarea/editor.jsp ... o.k.
1370:   ( 6 / 185 ) Importing
/system/workplace/editors/htmlarea/editor_configuration.xml ... o.k.
1371:   ( 7 / 185 ) Importing
/system/workplace/editors/htmlarea/htmlarea-ocms.js ... o.k.
1372:   ( 8 / 185 ) Skipping /system/workplace/resources/
1373:   ( 9 / 185 ) Importing /system/workplace/resources/editors/ ...
1374:
1375:   Shutting down OpenCms, version 6.2.2 in web application "opencms"
1376:   !!! Exception Error creating resource
"/system/workplace/resources/editors/" on path
"/system/workplace/resources/editors/".
1377:   org.opencms.file.CmsVfsException: Error creating resource
"/system/workplace/resources/editors/" on path
"/system/workplace/resources/editors/".
1378:           at
org.opencms.db.CmsDbContext.throwException(CmsDbContext.java:217)
1379:           at org.opencms.db.CmsDbContext.report(CmsDbContext.java:197)
1380:           at
org.opencms.db.CmsSecurityManager.importResource(CmsSecurityManager.java:2561)
1381:           at
org.opencms.file.types.A_CmsResourceType.importResource(A_CmsResourceType.java:425)
1382:           at
org.opencms.file.CmsObject.importResource(CmsObject.java:1658)
1383:           at
org.opencms.importexport.CmsImportVersion4.importResource(CmsImportVersion4.java:316)
1384:           at
org.opencms.importexport.CmsImportVersion4.readResourcesFromManifest(CmsImportVersion4.java:478)
1385:           at
org.opencms.importexport.CmsImportVersion4.importResources(CmsImportVersion4.java:132)
1386:           at
org.opencms.importexport.CmsImport.importResources(CmsImport.java:325)
1387:           at
org.opencms.module.CmsModuleImportExportHandler.importModule(CmsModuleImportExportHandler.java:516)
1388:           at
org.opencms.module.CmsModuleImportExportHandler.importData(CmsModuleImportExportHandler.java:356)
1389:           at
org.opencms.importexport.CmsImportExportManager.importData(CmsImportExportManager.java:620)1390:
          at
org.opencms.setup.CmsSetupBean.importModuleFromDefault(CmsSetupBean.java:1896)
1391:           at
org.opencms.setup.CmsSetupBean.importModulesFromSetupBean(CmsSetupBean.java:1022)
1392:           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
1393:           at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
1394:           at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
1395:           at java.lang.reflect.Method.invoke(Method.java:585)
1396:           at
org.opencms.main.CmsShell$CmsCommandObject.executeMethod(CmsShell.java:247)
1397:           at
org.opencms.main.CmsShell.executeCommand(CmsShell.java:787)
1398:           at
org.opencms.main.CmsShell.executeCommands(CmsShell.java:859)
1399:           at org.opencms.main.CmsShell.start(CmsShell.java:687)
1400:           at
org.opencms.setup.CmsSetupWorkplaceImportThread.run(CmsSetupWorkplaceImportThread.java:194)1401:
  Caused by: java.lang.NullPointerException
1402:           at
org.apache.commons.pool.impl.GenericObjectPool.addObjectToPool(GenericObjectPool.java:875)
1403:           at
org.apache.commons.pool.impl.GenericObjectPool.returnObject(GenericObjectPool.java:854)
1404:           at
org.apache.commons.dbcp.PoolableConnection.close(PoolableConnection.java:80)
1405:           at
org.apache.commons.dbcp.PoolingDriver$PoolGuardConnectionWrapper.close(PoolingDriver.java:240)
1406:           at
org.opencms.db.generic.CmsSqlManager.closeAll(CmsSqlManager.java:166)
1407:           at
org.opencms.db.generic.CmsVfsDriver.writeLastModifiedProjectId(CmsVfsDriver.java:2053)
1408:           at
org.opencms.db.CmsDriverManager.lockResource(CmsDriverManager.java:4026)
1409:           at
org.opencms.db.CmsDriverManager.createResource(CmsDriverManager.java:1697)
1410:           at
org.opencms.db.CmsSecurityManager.importResource(CmsSecurityManager.java:2559)
1411:           ... 20 more
1412:   Shutdown completed, total uptime was 00:06:38.
1413:

-- 
Trevor Glen <tg at sarugo.net>
Sarugo: Securing your digital memories.
http://www.sarugo.net/

Why not give Sarugo Backup a try? http://www.sarugo.net/register



More information about the opencms-dev mailing list