[opencms-dev] Registry missing?

Markus Klink mkl at baba9.com
Wed Oct 25 18:00:38 CEST 2000


Hi All,

I try to install opencms 4.1.36, but face a couple of problems.

The documentation on the web and in the config folder of the zip file 
seem to refer to opencms 4.1.30, and although the installation went 
smooth at first, I hit the wall, when it comes to invoking the shell. 
Here I get the following error:

[root at mkl opencms_4.1.36]# java com.opencms.core.CmsShell 
config/opencms.properties < config/cmssetup.txt
[OpenCms] creating first cms-object
[OpenCms] initializing the main resource-broker
[CmsRbManager] ressourcebroker-name: mySql
[CmsRbManager] ressourcebroker-classname: 
com.opencms.file.mySql.CmsResourceBroker
[CmsRbManager] got rb-class
[CmsRbManager] created rb-instance
[CmsResourceBroker] init the dbaccess-module.
[CmsDbAccess] init the dbaccess-module.
[CmsDbAccess] read driver from configurations: org.gjt.mm.mysql.Driver
[CmsDbAccess] read url from configurations: 
jdbc:mysql://localhost:3306/opencms41
[CmsDbAccess] read user from configurations: root
[CmsDbAccess] read maxConn from configurations: 10
[CmsDbAccess] read digest from configurations: MD5
[CmsDbAccess] read guard-sleeptime from configurations: 120
[CmsDbAccess] digest created, using: MD5 Message Digest from SUN, 
<initialized>

[CmsDbAccess] pool created
[CmsDbAccess] all statements initialized in the pool
[CmsDbAccess] max-ids initialized
[CmsDbAccess] start connection guard
[CmsResourceBroker] init registry.
[CmsRbManager] Critical error while loading resourcebroker: 
[CmsException]: 34 Registry error
Detailed Error: couldn't init registry
Caught Exception: java.lang.NullPointerException

       at com.opencms.file.CmsRegistry.<init>(CmsRegistry.java:137)
       at 
com.opencms.file.genericSql.CmsResourceBroker.init(CmsResourceBroker.java:3521)
       at com.opencms.file.CmsRbManager.init(CmsRbManager.java:86)
       at com.opencms.core.OpenCms.<init>(OpenCms.java:134)
       at com.opencms.core.CmsShell.init(CmsShell.java:1325)
       at com.opencms.core

and so on. The shell will not start up.

The registry file (or what I think it is config/registry.xml) does not 
seem to be found.

My classpath includes all the jar files (esp. xerces), and I am unable 
to find the error.

Can someone help me please?

Markus

P.S. Is there a searchable mailinglist archive somewhere?




More information about the opencms-dev mailing list