[opencms-dev] Init Problem
Svern Grunwald
grunwald at ivs.cs.uni-magdeburg.de
Fri Jun 8 17:04:57 CEST 2001
Hi
I can't init the database. The opencms.properties file is ok. The User has
full access.
Thanks.
--
-----------------------------------------------------------------------
Sven Grunwald - Universität Magdeburg - Institut für verteilte Systeme
e-Mail: grunwald at ivs.cs.uni-magdeburg.de
Tel.: 0391 67 12566
Sven Grunwald - Magdeburger Linux User Group
e-Mail: grunwald at mdlug.de
Tel.: 0179 45 36 488
-------------- next part --------------
[root at euk-lab12 opencms4.3.16]# java -mx64M -jar -cp oclib/mm.mysql-2.0.1-bin.jar opencmsboot.jar < config/cmssetup.txt
No OpenCms home folder given. Trying to guess...
[CmsBase] Setting OpenCms home folder to /opt/opencms4.3.16/.
Collecting Repositories
[CmsClassLoader] Adding repository /opt/opencms4.3.16/occlasses
oclib folder: /opt/opencms4.3.16/oclib
jarlist
[CmsClassLoader] Adding repository /opt/opencms4.3.16/oclib/opencms.jar
[CmsClassLoader] Adding repository /opt/opencms4.3.16/oclib/xerces.jar
[CmsClassLoader] Adding repository /opt/opencms4.3.16/oclib/mm.mysql-2.0.1-bin.jar
[CmsClassLoader] Adding repository /opt/opencms4.3.16/oclib/mail.jar
[CmsClassLoader] Adding repository /opt/opencms4.3.16/oclib/activation.jar
[CmsClassLoader] Adding repository /opt/opencms4.3.16/oclib/fop_bin.jar
%%% props: /opt/opencms4.3.16/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 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 java.lang.Throwable.<init>(Throwable.java:96)
at java.lang.Exception.<init>(Exception.java:44)
at com.opencms.core.CmsException.<init>(CmsException.java:319)
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:254)
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 java.lang.Throwable.<init>(Throwable.java:96)
> at java.lang.Exception.<init>(Exception.java:44)
> at com.opencms.core.CmsException.<init>(CmsException.java:319)
> at com.opencms.file.genericSql.CmsDbAccess.addSystemProperty(CmsDbAccess.java:286)
> at com.opencms.file.mySql.CmsDbAccess.fillDefaults(CmsDbAccess.java:453)
> at com.opencms.file.genericSql.CmsDbAccess.<init>(CmsDbAccess.java:250)
> at com.opencms.file.mySql.CmsDbAccess.<init>(CmsDbAccess.java:64)
> at com.opencms.file.mySql.CmsResourceBroker.createDbAccess(CmsResourceBroker.java:66)
> at com.opencms.file.genericSql.CmsResourceBroker.init(CmsResourceBroker.java:3651)
> 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:254)
> at com.opencms.boot.CmsMain.main(CmsMain.java:88)
>>java.sql.SQLException: Server configuration denies access to data source
>> at java.lang.Throwable.<init>(Throwable.java:96)
>> at java.lang.Exception.<init>(Exception.java:44)
>> at java.sql.SQLException.<init>(SQLException.java:45)
>> 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:523)
>> at java.sql.DriverManager.getConnection(DriverManager.java:205)
>> at com.opencms.file.genericSql.CmsDbAccess.addSystemProperty(CmsDbAccess.java:279)
>> at com.opencms.file.mySql.CmsDbAccess.fillDefaults(CmsDbAccess.java:453)
>> at com.opencms.file.genericSql.CmsDbAccess.<init>(CmsDbAccess.java:250)
>> at com.opencms.file.mySql.CmsDbAccess.<init>(CmsDbAccess.java:64)
>> at com.opencms.file.mySql.CmsResourceBroker.createDbAccess(CmsResourceBroker.java:66)
>> at com.opencms.file.genericSql.CmsResourceBroker.init(CmsResourceBroker.java:3651)
>> 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:254)
>> 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)
More information about the opencms-dev
mailing list