J'ai un problème lors de l'installation du module workflow.
j'installe la version 1.4 d'ORI-OAI sous red-hat.
commandes effectuées :
ant checkout-all
ant install-tomcat-all
ant init-build-all
ant init-all
Dans le fichier "commons-parameters.properties", j'ai les paramètres :
HARVESTER_SQL_CONNECTION_URL=jdbc:mysql://atlas.cines.fr/harvester?characterEncoding=utf8
WORKFLOW_SQL_CONNECTION_URL=jdbc:mysql://atlas.cines.fr/workflow?characterEncoding=utf8&
Les bases sous MySQL (innodb) sont déclarées "utf8".
et j'ai le message d'erreur ci-dessous : au niveau du traitement du module workflow
--------------------------------------------------------------------------------------------------------------
init:
[if]
[if] Warning. You're going to initialize/erase SQL DataBase of ORI-OAI-Workflow [y,N]
y
[java] hibernate: 0 WARN util.JDBCExceptionReporter logExceptions[77] - SQL Error: 1146, SQLState: 42S02
[java] hibernate: 5 ERROR util.JDBCExceptionReporter logExceptions[78] - Table 'workflow.ORI_WORKFLOW_USERPROFIL' doesn't exist
[java] hibernate: 1218 ERROR hbm2ddl.SchemaExport create[274] - Unsuccessful: create table OS_PROPERTYSET (entity_name varchar(125) not null, entity_id bigint not null, entity_key varchar(255) not null, key_type integer, boolean_val bit, double_val double precision, string_val varchar(255), long_val bigint, int_val integer, date_val date, primary key (entity_name, entity_id, entity_key))
[java] hibernate: 1219 ERROR hbm2ddl.SchemaExport create[275] - Specified key was too long; max key length is 1000 bytes
[java] hibernate: 1865 ERROR hbm2ddl.SchemaUpdate execute[155] - Unsuccessful: create table OS_PROPERTYSET (entity_name varchar(125) not null, entity_id bigint not null, entity_key varchar(255) not null, key_type integer, boolean_val bit, double_val double precision, string_val varchar(255), long_val bigint, int_val integer, date_val date, primary key (entity_name, entity_id, entity_key))
[java] hibernate: 1865 ERROR hbm2ddl.SchemaUpdate execute[156] - Specified key was too long; max key length is 1000 bytes
.................................
--------------------------------------------------------------------------------------------------------------
Par contre, tout se passe bien pour la base "harvester".
rmq :
- le nom des bases (workflow, harvester) sont en minuscule et les noms des tables sont en majuscule.
- base "workflow" : 18 tables dont la table ORI_WORKFLOW_USERPROFIL
- base "harvester" : 15 tables
Que faut-il faire ?
A+
----------------------------------------------------------
Michel BOULOC
bouloc@cines.fr
04-67-14-14-18 (direct + répondeur)
04-67-14-14-14 (standard)
Centre Informatique National de l' Enseignement Supérieur
950 rue Saint Priest
34097 Montpellier cedex 5
fax : 04-67-52-37-63
http://www.cines.fr/
----------------------------------------------------------