AW: [opencms-dev] strange errors :( and no idea :(
Simon Wilks
simon.wilks at silion.ch
Tue Feb 20 09:50:02 CET 2001
As you see futher down the mysql driver is not being found. Take the mysql
jar file and place it in the ExternalComponents directory, make sure the
repositories line is in the zone.properties file. It will look something
like this:
repositories=d:\apache\jserv\servlets\ExternalComponents\mysql.jar (sorry
its windows but very similar)
Regards,
Simon Wilks
Software Engineer
simon.wilks at silion.ch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
silion (switzerland) ag software engineering
spinnereistrasse 8 9008 st. gallen
tel 0878 80 90 60 fax 0878 80 90 30
info at silion.ch www.silion.ch
a member of the Penta Group www.pentagroup.ch
> -----Ursprüngliche Nachricht-----
> Von: owner-opencms-dev at www.opencms.com
> [mailto:owner-opencms-dev at www.opencms.com]Im Auftrag von Wolfgang Nagele
> Gesendet: Dienstag, 20. Februar 2001 09:40
> An: opencms-dev at www.opencms.com
> Betreff: Re: [opencms-dev] strange errors :( and no idea :(
>
>
> hi!
>
> i installed the new jre now ... and it runs a bit but it also
> aborts now :(
>
> here is what happens exactly ... :(
>
> ---CUT---
> 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(CmsDbAcc
> ess.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(CmsResourc
> eBroker.java:66)
> > at
> com.opencms.file.genericSql.CmsResourceBroker.init(CmsResourceBrok
> er.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(CmsDbAcc
> ess.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(CmsResourc
> eBroker.java:66)
> >> at
> com.opencms.file.genericSql.CmsResourceBroker.init(CmsResourceBrok
> er.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---
>
> does anyone know help ?!
> __________________________________________________________________
> _____________
> Alles unter einem Dach: Informationen, Fun, E-Mails. Bei WEB.DE:
http://web.de
Die gro?e Welt der Kommunikation: E-Mail, Fax, SMS, WAP:
http://freemail.web.de
More information about the opencms-dev
mailing list