From: Tomas G. <to...@pr...> - 2005-10-21 06:34:28
|
Excellent. I added the link to the database howto. But why is is that if it creates tables using lower case names, it can no= t=20 handle a query where the table name is in mixed case? From the article it would imply that the database was created on somethi= ng like=20 Windows, and EJBCA then run on Linux, but I doubt that is the case here? = Or? /Tomas Stephane Bailliez wrote: >=20 > See http://dev.mysql.com/doc/refman/4.1/en/name-case-sensitivity.html >=20 >=20 > Tomas Gustavsson wrote: >=20 >> >> It is JBoss who creates the tables in the databse, and it seems that=20 >> MySQL has started creating them in lower case in some versions or some= =20 >> configurations, I got a report for that earlier. There is some setting= =20 >> in MySQL that will make it ignore the case on database tables that you= =20 >> must set. >> So it's not a bug in EJBCA but in MySQL configuration I would guess,=20 >> what it is I don't really know. >> >> So there is a simple solution, which is a setting in MySQL, I don't=20 >> know what it is though. >> >> Cheers, >> Tomas >> >> >> Alain RICHARD wrote: >> >>> I am trying to deploy a new ejbca 3.1.2 instance on a new server and=20 >>> I got an error during the CA installation. Looking at the tomcat=20 >>> log, I have found that it complains about the mysql table=20 >>> 'ejbca.CertificateData' not existing. Looking into mysql, I have=20 >>> found that all tables where created with names in small caps : >>> >>> mysql> show tables; >>> +-----------------------------+ >>> | Tables_in_ejbca | >>> +-----------------------------+ >>> | accessrulesdata | >>> | adminentitydata | >>> | admingroupdata | >>> | adminpreferencesdata | >>> | authorizationtreeupdatedata | >>> | cadata | >>> | certificatedata | >>> | certificateprofiledata | >>> | certreqhistorydata | >>> | crldata | >>> | endentityprofiledata | >>> | globalconfigurationdata | >>> | hardtokencertificatemap | >>> | hardtokendata | >>> | hardtokenissuerdata | >>> | hardtokenprofiledata | >>> | hardtokenpropertydata | >>> | keyrecoverydata | >>> | logconfigurationdata | >>> | logentrydata | >>> | publisherdata | >>> | userdata | >>> +-----------------------------+ >>> 22 rows in set (0.00 sec) >>> >>> so this is the reason it doesn't work. >>> >>> I have looked into a previous 3.0.6 version and tables where=20 >>> correctly created with mixed caps : >>> >>> +-----------------------------+ >>> | Tables_in_ejbca | >>> +-----------------------------+ >>> | AccessRulesData | >>> | AdminEntityData | >>> | AdminGroupData | >>> | AdminPreferencesData | >>> | AuthorizationTreeUpdateData | >>> | CAData | >>> | CRLData | >>> | CertificateData | >>> | CertificateProfileData | >>> | EndEntityProfileData | >>> | GlobalConfigurationData | >>> | HardTokenCertificateMap | >>> | HardTokenData | >>> | HardTokenIssuerData | >>> | HardTokenProfileData | >>> | HardTokenPropertyData | >>> | KeyRecoveryData | >>> | LogConfigurationData | >>> | LogEntryData | >>> | PublisherData | >>> | UserData | >>> +-----------------------------+ >>> >>> so this new versions 3.1.2 fails to correctly create the tables. >>> >>> I there any simple solutions ? where in the code the tables are=20 >>> created ? >>> >>> regards, >>> >>> --=20 >>> Alain RICHARD <mailto:ala...@eq...> >>> EQUATION SA <http://www.equation.fr/> >>> Tel : +33 477 79 48 00 Fax : +33 477 79 48 01 >>> Applications client/serveur, ing=E9nierie r=E9seau et Linux >>> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: >> Power Architecture Resource Center: Free content, downloads, discussio= ns, >> and more. http://solutions.newsforge.com/ibmarch.tmpl >> _______________________________________________ >> Ejbca-develop mailing list >> Ejb...@li... >> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >> >> >> >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussion= s, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop |