[opencms-dev] strange errors :( no idea :(
Stephan Hartmann
beffe at beffe.de
Tue Feb 20 20:28:05 CET 2001
Wolfgang,
how i said earlier the version of the jdk you are using needs the
classes.zip in its classpath for threads.
Usually it is located in $JAVA_HOME/lib.
viel erfolg
Stephan
-----Ursprüngliche Nachricht-----
Von: Wolfgang Nagele <Wolfgang.Nagele at web.de>
An: <opencms-dev at opencms.com>
Gesendet: Dienstag, 20. Februar 2001 16:24
Betreff: [opencms-dev] strange errors :( no idea :(
> 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:2
80)
> > 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.ja
va:66)
> > at
com.opencms.file.genericSql.CmsResourceBroker.init(CmsResourceBroker.java:35
23)
> > 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:2
73)
> >> 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.ja
va:66)
> >> at
com.opencms.file.genericSql.CmsResourceBroker.init(CmsResourceBroker.java:35
23)
> >> 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