[opencms-dev] could not connect to database

Joachim Arrasz info at arrasz.de
Wed Jul 9 11:06:01 CEST 2003


Hy David,

you have to go through the internal Installation Wizard from OpenCMS too,
after you`ve umpacked the war File with use of your Tomcat.
Regards Achim

-- 
Questions about OpenCMS?
--> www.synyx.de/board


> David Cure>
>
> 		Hello,
>
> 	I install opencms on this system :
>
> 	o Solaris 9
> 	o jdk 1.4.0
> 	o tomcat 4.1.24
> 	o mysql 4.0.13 (standard)
>
> 	And after the installation, when I want to acces opencms (with
> URL http://host/opencms/opencms), i've got this error :
>
> Exception :
> javax.servlet.ServletException: OpenCms initialization error!
> Could not connect to the database. Is the database up and running?
>
> root cause :
> com.opencms.core.CmsException: 33 Resourcebroker-init error. Detailed
> error: Database init failed.
> root cause was com.opencms.core.CmsException: 33 Resourcebroker-init
> error. Detailed error: Critical error while loading resourcebroker.
> root cause was com.opencms.core.CmsException: 4 Sql exception. Detailed
> error: [com.opencms.file.mySql.CmsDbAccess] Invalid argument value:
> Duplicate entry 'Guests' for key 2.
> root cause was java.sql.SQLException: Invalid argument value: Duplicate
> entry 'Guests' for key 2
>
> 	The database is up, i can connect localy with the user who has
> privilege on opencms database. And the database/table creation and the
> workplace import are OK during the installation.
>
> 	Any idea ?
>
> 	Thanks in advance,
>
> 	David.
> --
>                 Association FINIX : Finistere *nix
>                     http://www.Finix.EU.Org/
>   "Le temps n'est pas important, seule la vie est importante" L5E






More information about the opencms-dev mailing list