Projet

Général

Profil

Actions

Support #2646

fermé

Erreur: Key Generator Failure. Duplicated Identity is generated!

Ajouté par Anonyme il y a environ 13 ans. Mis à jour il y a plus de 10 ans.

Statut:
Closed
Priorité:
High
Assigné à:
-
Version cible:
-
Début:
16/11/2011
Echéance:
% réalisé:

0%

Temps estimé:
Navigateur:
Tous
Votre version de Silverpeas:
5.7.3
Système d'exploitation:
Livraison en TEST:
Livraison en PROD:

Description

Lorsque je tente de créer une nouvelle procédure dans un workflow, j'obtiens l'erreur suivante:

Formulaire inadapté pour la création de la nouvelle procédure
Erreur lors du traitement du formulaire de création
Castor : problème pendant la création de l'instance de procédure
Nested error: Key Generator Failure. Duplicated Identity is generated!

org.exolab.castor.jdo.PersistenceException: Nested error: Key Generator Failure. Duplicated Identity is generated!
at org.exolab.castor.persist.LockEngine.create(LockEngine.java:580)
at org.castor.persist.AbstractTransactionContext.walkObjectsToBeCreated(AbstractTransactionContext.java:816)
at org.castor.persist.AbstractTransactionContext.create(AbstractTransactionContext.java:776)
at org.exolab.castor.jdo.engine.AbstractDatabaseImpl.create(AbstractDatabaseImpl.java:276)
at com.silverpeas.workflow.engine.instance.ProcessInstanceImpl.create(ProcessInstanceImpl.java:662)
at com.silverpeas.workflow.engine.instance.ProcessInstanceManagerImpl.createProcessInstance(ProcessInstanceManagerImpl.java:463)
at com.silverpeas.workflow.engine.WorkflowEngineImpl.process(WorkflowEngineImpl.java:93)
at com.silverpeas.workflow.engine.WorkflowEngineImpl.process(WorkflowEngineImpl.java:72)
at com.silverpeas.processManager.ProcessManagerSessionController.createProcessInstance(ProcessManagerSessionController.java:971)
at com.silverpeas.processManager.servlets.ProcessManagerRequestRouter$15.computeDestination(ProcessManagerRequestRouter.java:679)
at com.silverpeas.processManager.servlets.SessionSafeFunctionHandler.getDestination(SessionSafeFunctionHandler.java:55)
at com.silverpeas.processManager.servlets.ProcessManagerRequestRouter.getDestination(ProcessManagerRequestRouter.java:121)
at com.stratelia.silverpeas.peasCore.servlets.ComponentRequestRouter.computeDestination(ComponentRequestRouter.java:199)
at com.stratelia.silverpeas.peasCore.servlets.ComponentRequestRouter.doPost(ComponentRequestRouter.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
at com.silverpeas.whitePages.filters.ComponentRequestRouterFilter.doFilter(ComponentRequestRouterFilter.java:93)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285)
at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:159)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)
at java.lang.Thread.run(Thread.java:662)

N'ayant jamais rencontré ce problème, je n'en connais pas la cause. Pour info, voici le formulaire en question:

<form name="fDeposerCandidature">
    <title role="default" lang="default">Déposer une candidature</title>
    <input item="entreprise" readonly="false" mandatory="true" displayerName="text"/>
    <input item="date_depot" readonly="false" mandatory="true" displayerName="date"/>
    <input item="dossier" readonly="false" mandatory="true" displayerName="file"/>
    <input item="AMOTh_cible" readonly="false" mandatory="true" displayerName="user"/>            
    <input item="code_naf" readonly="false" mandatory="true" displayerName="jdbc"/>
    <input item="deja_accompagne" readonly="false" mandatory="true" displayerName="radio"/>
</form>

Le datafolder:
<item name="entreprise" computed="false">
    <label role="default" lang="fr">Nom de l'entreprise</label>
    <type>text</type>
    <readonly>false</readonly>
</item>
<item name="date_depot" computed="false">
    <label role="default" lang="fr">Date du dépot du dossier</label>
    <type>date</type>
    <readonly>false</readonly>
    <param name="default" value="now"/>
</item>
<item name="dossier" computed="false">
    <label role="default" lang="fr">Dossier</label>
    <type>file</type>
    <readonly>false</readonly>
</item>
<item name="AMOTh_cible" computed="false">
    <label role="default" lang="fr">Référent</label>
    <type>user</type>
    <readonly>false</readonly>
</item>
<item name="code_naf" computed="false">
    <label role="default" lang="fr">Code NAF</label>
    <type>jdbc</type>
    <param name="url" value="jdbc:postgresql://localhost:****/****" />
    <param name="driverName" value="org.postgresql.Driver"/>
    <param name="login" value="******"/>
    <param name="password" value="******"/>
    <param name="query" value="select codenaf from _codenaf_ order by codenaf asc"/>
    <param name="valueFieldType" value="1"/>
</item>
<item name="deja_accompagne" computed="false">
    <label role="default" lang="fr">L'entreprise a-t-elle déjà suivi un accompagnement?</label>
    <type>text</type>
    <readonly>false</readonly>
    <param name="keys" value="Oui##Non"/>
    <param name="values" value="Oui##Non"/>
    <param name="cols" value="1"/>
</item>

S'il vous faut plus d'infos, n'hésitez pas à demander.


Demandes liées 1 (0 ouverte1 fermée)

Lié à Process Manager - Bug #3092: Problème Workflow: Key Generator Failure. Duplicated Identity is generated!Closed26/03/2012

Actions
Actions

Formats disponibles : Atom PDF