[opencms-dev] could not connect to database

David Cure David.Cure at Finix.EU.Org
Wed Jul 9 11:01:01 CEST 2003


		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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20030709/911ccd2f/attachment.sig>


More information about the opencms-dev mailing list