[opencms-dev] opencms_4.3.22_current + WIN2K + Tomcat + MySQL Installation problems

Lawrence Edwards lawrence at vivid.co.za
Tue Jul 31 23:49:46 CEST 2001


Hi All,

I'm in the process of trying to install on my Win2K box,
but I keep running into the following problem when trying
to configure opencms. Any help would be appreciated!

F:\opencms>java -mx64M -jar opencmsboot.jar < config\cmssetup.txt
No OpenCms home folder given. Trying to guess...
[CmsBase] Setting OpenCms home folder to F:\opencms\.
Collecting Repositories
[CmsClassLoader] Adding repository F:\opencms\occlasses
oclib folder: F:\opencms\oclib
jarlist
[CmsClassLoader] Adding repository F:\opencms\oclib\opencms.jar
[CmsClassLoader] Adding repository F:\opencms\oclib\mysql.jar
[CmsClassLoader] Adding repository F:\opencms\oclib\mail.jar
[CmsClassLoader] Adding repository F:\opencms\oclib\xerces.jar
%%% props: F:\opencms\config/opencms.properties
[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 pool-name from configurations: jdbc:opencmspool:mysql
[CmsDbAccess] read online-pool-name from configurations:
jdbc:opencmspool:mysqlonline
[CmsDbAccess] read backup-pool-name from configurations:
jdbc:opencmspool:mysqlbackup
[CmsDbAccess] read digest from configurations: MD5
[CmsDbAccess] digest created, using: MD5 Message Digest from SUN,
<initialized>

[com.opencms.dbpool.CmsPool] mysql: creating new connection. Current Amount
is:0
[com.opencms.dbpool.CmsPool] mysql: creating new connection. Current Amount
is:1
[com.opencms.dbpool.CmsPool] mysql: creating new connection. Current Amount
is:2
[com.opencms.dbpool.CmsPool] mysql: creating new connection. Current Amount
is:3
[com.opencms.dbpool.CmsPool] mysql: creating new connection. Current Amount
is:4
[com.opencms.dbpool.CmsPool] mysql: creating new connection. Current Amount
is:5
[com.opencms.dbpool.CmsPool] mysql: creating new connection. Current Amount
is:6
[com.opencms.dbpool.CmsPool] mysql: creating new connection. Current Amount
is:7
[com.opencms.dbpool.CmsPool] mysql: creating new connection. Current Amount
is:8
[com.opencms.dbpool.CmsPool] mysql: creating new connection. Current Amount
is:9
[com.opencms.dbpool.CmsPool] mysql: created
[com.opencms.dbpool.CmsPool] mysql: starting connection-guard
[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
while loading resourcebroker. . Caught Exception:
>java.lang.NullPointerException<
        at com.opencms.file.CmsRbManager.init(CmsRbManager.java:98)
        at com.opencms.core.OpenCms.<init>(OpenCms.java:135)
        at com.opencms.core.CmsShell.<init>(CmsShell.java:103)
        at java.lang.Class.newInstance0(Native Method)
        at java.lang.Class.newInstance(Unknown Source)
        at com.opencms.boot.CmsMain.main(CmsMain.java:88)
>java.lang.NullPointerException
>       at java.io.ByteArrayInputStream.<init>(Unknown Source)
>       at
com.opencms.file.genericSql.CmsDbAccess.readSystemProperty(CmsDbAccess.java:
7525)
>       at
com.opencms.file.genericSql.CmsDbAccess.addSystemProperty(CmsDbAccess.java:3
37)
>       at
com.opencms.file.mySql.CmsDbAccess.fillDefaults(CmsDbAccess.java:444)
>       at
com.opencms.file.genericSql.CmsDbAccess.<init>(CmsDbAccess.java:258)
>       at com.opencms.file.mySql.CmsDbAccess.<init>(CmsDbAccess.java:64)
>       at
com.opencms.file.mySql.CmsResourceBroker.createDbAccess(CmsResourceBroker.ja
va:66)
>       at
com.opencms.file.genericSql.CmsResourceBroker.init(CmsResourceBroker.java:35
43)
>       at com.opencms.file.CmsRbManager.init(CmsRbManager.java:86)
>       at com.opencms.core.OpenCms.<init>(OpenCms.java:135)
>       at com.opencms.core.CmsShell.<init>(CmsShell.java:103)
>       at java.lang.Class.newInstance0(Native Method)
>       at java.lang.Class.newInstance(Unknown Source)
>       at com.opencms.boot.CmsMain.main(CmsMain.java:88)

java.lang.NullPointerException
        at com.opencms.core.CmsShell.printPrompt(CmsShell.java:272)
        at com.opencms.core.CmsShell.commands(CmsShell.java:171)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.opencms.boot.CmsMain.main(CmsMain.java:90)

Thanks & Regards

Lawrence Edwards
tel: +27 11 327 5038
fax: +27 11 327 7640
mobile: +27 83 326 8700
e-mail: lawrence at vivid.co.za




More information about the opencms-dev mailing list