[opencms-dev] Installation problem
Hendrik Eppinga
hendrik.eppinga at framfab.no
Thu Jul 5 21:31:31 CEST 2001
Have you created a user on the database and added this one in the
configuration file?
Looks like that...
Hendrik
-----Original Message-----
From: owner-opencms-dev at www.opencms.com
[mailto:owner-opencms-dev at www.opencms.com]On Behalf Of Mark Owens
Sent: 5. juli 2001 21:21
To: Opencms list
Subject: [opencms-dev] Installation problem
Hi
I've followed the instructions in installation43.html down to step 6 then I
get
problems.
Here's the output from issuing the command:
java -mx64M -jar opencmsboot.jar < config/cmssetup.txt
No OpenCms home folder given. Trying to guess...
[CmsBase] Setting OpenCms home folder to /opt/opencms_4.3.22_current/.
Collecting Repositories
[CmsClassLoader] Adding repository /opt/opencms_4.3.22_current/occlasses
oclib folder: /opt/opencms_4.3.22_current/oclib
jarlist
[CmsClassLoader] Adding repository
/opt/opencms_4.3.22_current/oclib/opencms.jar
[CmsClassLoader] Adding repository
/opt/opencms_4.3.22_current/oclib/xerces_1_3_1.jar
[CmsClassLoader] Adding repository
/opt/opencms_4.3.22_current/oclib/fop-0_17_0.jar
[CmsClassLoader] Adding repository
/opt/opencms_4.3.22_current/oclib/activation.jar
[CmsClassLoader] Adding repository
/opt/opencms_4.3.22_current/oclib/mail.jar
[CmsClassLoader] Adding repository
/opt/opencms_4.3.22_current/oclib/mm.mysql-2.0.1-bin.jar
%%% props: /opt/opencms_4.3.22_current/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
[CmsDbAccess] fill default resources
[com.opencms.dbpool.CmsPool] mysql: creating new connection. Current Amount
is:0
[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: >[CmsException]: 4 Sql
exception. Detailed Error: [com.opencms.file.mySql.CmsDbAccess]Server
configuration denies access to data source. Caught Exception:
>java.sql.SQLException: Server configuration denies access to data source<<
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(Class.java:237)
at com.opencms.boot.CmsMain.main(CmsMain.java:88)
>[CmsException]: 4 Sql exception. Detailed Error:
[com.opencms.file.mySql.CmsDbAccess]Server configuration denies access to
data source. Caught Exception: >java.sql.SQLException: Server configuration
denies access to data source<
> at
com.opencms.file.genericSql.CmsDbAccess.addSystemProperty(CmsDbAccess.java:3
17)
> 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(Class.java:237)
> at com.opencms.boot.CmsMain.main(CmsMain.java:88)
>>java.sql.SQLException: Server configuration denies access to data source
>> at org.gjt.mm.mysql.MysqlIO.init(MysqlIO.java)
>> at org.gjt.mm.mysql.Connection.connectionInit(Connection.java)
>> at org.gjt.mm.mysql.jdbc2.Connection.connectionInit(Connection.java:89)
>> at org.gjt.mm.mysql.Driver.connect(Driver.java)
>> at com.opencms.dbpool.CmsPool.createConnection(CmsPool.java:286)
>> at com.opencms.dbpool.CmsPool.createConnections(CmsPool.java:268)
>> at com.opencms.dbpool.CmsPool.<init>(CmsPool.java:110)
>> at com.opencms.dbpool.CmsDriver.createPool(CmsDriver.java:213)
>> at com.opencms.dbpool.CmsDriver.getPool(CmsDriver.java:188)
>> at com.opencms.dbpool.CmsDriver.connect(CmsDriver.java:107)
>> at java.sql.DriverManager.getConnection(DriverManager.java:517)
>> at java.sql.DriverManager.getConnection(DriverManager.java:199)
>> at
com.opencms.file.genericSql.CmsDbAccess.addSystemProperty(CmsDbAccess.java:3
10)
>> 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(Class.java:237)
>> 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)
Can anyone help ?
Many thanks
Mark
More information about the opencms-dev
mailing list