[opencms-dev] Installation OpenCMS on SuSE Linux 7.0

Karl König king at gulasch.org
Sun Feb 18 16:55:07 CET 2001


Hello!

I am experiencing problems installing OpenCMS on SuSE 7.0 with 
preinstalled Apache and MySQL. 
I get the following error on different versions of OpenCMS, so there may 
be a general problem with my installation. I am using jdk 1.1.7 and also 
tried 1.2.2.

During step 6 the following occured:

root at paprika:/usr/local/opencms > /usr/lib/java/bin/java -mx64M -classpath 
openc
ms.jar:xerces.jar:mysql.jar:/usr/lib/java/lib/classes.zip 
com.opencms.core.CmsSh
ell 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.CmsResourceBrok
er
[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/opencms4
1
[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: sun.security.provider.MD5 Message 
Digest <i
ncomplete>

[CmsDbAccess] pool created
[CmsDbAccess] all statements initialized in the pool
[CmsDbAccess] max-ids initialized
[CmsDbAccess] fill default resources
[CmsRbManager] Critical error while loading resourcebroker.
[OpenCms] Critical error while loading resourcebroker.
[CmsException]: 33 Resourcebroker-init error. Detailed Error: Critical 
error whi
le loading resourcebroker. . Caught Exception: 
>java.lang.NullPointerException:
<
        at com.opencms.file.CmsRbManager.init(CmsRbManager.java:98)
        at com.opencms.core.OpenCms.<init>(OpenCms.java:118)
        at com.opencms.core.CmsShell.<init>(CmsShell.java:85)
        at com.opencms.core.CmsShell.main(CmsShell.java:196)
>java.lang.NullPointerException:
>       at java.io.ByteArrayInputStream.<init>(ByteArrayInputStream.java)
>       at 
com.opencms.file.genericSql.CmsDbAccess.readSystemProperty(CmsDbAcces
s.java:5262)
>       at 
com.opencms.file.genericSql.CmsDbAccess.addSystemProperty(CmsDbAccess
.java:398)
>       at 
com.opencms.file.mySql.CmsDbAccess.fillDefaults(CmsDbAccess.java:452)
>       at 
com.opencms.file.genericSql.CmsDbAccess.<init>(CmsDbAccess.java:348)
>       at com.opencms.file.mySql.CmsDbAccess.<init>(CmsDbAccess.java:65)
>       at 
com.opencms.file.mySql.CmsResourceBroker.createDbAccess(CmsResourceBr
oker.java:66)
>       at 
com.opencms.file.genericSql.CmsResourceBroker.init(CmsResourceBroker.
java:3523)
>       at com.opencms.file.CmsRbManager.init(CmsRbManager.java:86)
>       at com.opencms.core.OpenCms.<init>(OpenCms.java:118)
>       at com.opencms.core.CmsShell.<init>(CmsShell.java:85)
>       at com.opencms.core.CmsShell.main(CmsShell.java:196)

java.lang.NullPointerException
        at com.opencms.core.CmsShell.printPrompt(CmsShell.java:266)
        at com.opencms.core.CmsShell.commands(CmsShell.java:153)
        at com.opencms.core.CmsShell.main(CmsShell.java:199)
root at paprika:/usr/local/opencms >


I would be glad if you can give me  a hint!

Best regards,

Karl König




More information about the opencms-dev mailing list