[opencms-dev] strange errors :( no idea :(
Wolfgang Nagele
Wolfgang.Nagele at web.de
Tue Feb 20 16:24:25 CET 2001
here i am again :(
so i checked everything and really everything runs fine what i need for opencms ... i reinstalled it but if i try to run it i get these errors when i execute these two commands ...
---CUT 1---
SERVER:/opencms # /usr/lib/jdk/bin/java -mx64M -classpath opencms.jar:xerces.jar:mysql.jar com.opencms.core.CmsShell config/opencms.properties < config/cmssetup.txt
Unable to initialize threads: cannot find class java/lang/Thread
SERVER:/opencms #
---/CUT 1---
and then if i try it with the jre ...
---CUT 2---
SERVER:/opencms # /usr/lib/jre/bin/java -mx64M -classpath opencms.jar:xerces.jar:mysql.jar 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 pool-name from configurations: jdbc:opencmspool:mysql
[CmsDbAccess] read digest from configurations: MD5
[CmsDbAccess] digest created, using: MD5 Message Digest from SUN, <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 while loading resourcebroker. . Caught Exception: >[CmsException]: 4 Sql exception. Detailed Error: [com.opencms.file.mySql.CmsDbAccess]Driver not found: org.gjt.mm.mysql.Driver. Caught Exception: >java.sql.SQLException: Driver not found: org.gjt.mm.mysql.Driver<<
at com.opencms.file.CmsRbManager.init(CmsRbManager.java:98)
at com.opencms.core.OpenCms.<init>(OpenCms.java:123)
at com.opencms.core.CmsShell.<init>(CmsShell.java:85)
at com.opencms.core.CmsShell.main(CmsShell.java:196)
>[CmsException]: 4 Sql exception. Detailed Error: [com.opencms.file.mySql.CmsDbAccess]Driver not found: org.gjt.mm.mysql.Driver. Caught Exception: >java.sql.SQLException: Driver not found: org.gjt.mm.mysql.Driver<
> at com.opencms.file.genericSql.CmsDbAccess.addSystemProperty(CmsDbAccess.java:280)
> at com.opencms.file.mySql.CmsDbAccess.fillDefaults(CmsDbAccess.java:447)
> at com.opencms.file.genericSql.CmsDbAccess.<init>(CmsDbAccess.java:244)
> 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:3523)
> at com.opencms.file.CmsRbManager.init(CmsRbManager.java:86)
> at com.opencms.core.OpenCms.<init>(OpenCms.java:123)
> at com.opencms.core.CmsShell.<init>(CmsShell.java:85)
> at com.opencms.core.CmsShell.main(CmsShell.java:196)
>>java.sql.SQLException: Driver not found: org.gjt.mm.mysql.Driver
>> at com.opencms.dbpool.CmsPool.<init>(CmsPool.java:102)
>> 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:457)
>> at java.sql.DriverManager.getConnection(DriverManager.java:159)
>> at com.opencms.file.genericSql.CmsDbAccess.addSystemProperty(CmsDbAccess.java:273)
>> at com.opencms.file.mySql.CmsDbAccess.fillDefaults(CmsDbAccess.java:447)
>> at com.opencms.file.genericSql.CmsDbAccess.<init>(CmsDbAccess.java:244)
>> 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:3523)
>> at com.opencms.file.CmsRbManager.init(CmsRbManager.java:86)
>> at com.opencms.core.OpenCms.<init>(OpenCms.java:123)
>> 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)
SERVER:/opencms #
---/CUT 2---
any ideas whats wrong here ?!
p.s. the drivers mysql.jar and xerces.jar are okay ...
_______________________________________________________________________
1.000.000 DM gewinnen - kostenlos tippen - http://millionenklick.web.de
IhrName at web.de, 8MB Speicher, Verschluesselung - http://freemail.web.de
More information about the opencms-dev
mailing list