AnsweredAssumed Answered

is a bug about jbpm ?

Question asked by markyou on Jul 19, 2007
Latest reply on Jul 19, 2007 by davidc
hi all,

      I  installed a Alfresco-Community-2.1R1  and  Alfresco-WCM-Community  on redhat linux as5 , db is ms sql server 2000, that all work is fine , but I do a example use extras  in  alfresco-community-wcm-2.1 ,it  have some problem and not runing
     then I download alfresco-community-wcm-2.0.0  and WCM_Eval_Guide2.0.pdf  , I do a example by  WCM_Eval_Guide2.0.pdf,
I upload alfresco-sample-website.war and can Preview Website,then I Creating New Web Content: Company Profiles , and Alfresco.xml was generated,Submit  this  Alfresco.xml  file ,I know it is implemented  use jbpm , then I creating New Web Content: Company Profiles again ,name is  Interdoc  and select the auto-Submit option ,then have a  error on screen:

Please correct the errors below then click Finish.
A system error happened during the operation: could not insert: [org.jbpm.graph.exe.ProcessInstance]; nested exception is org.hibernate.exception.ConstraintViolationException: could not insert: [org.jbpm.graph.exe.ProcessInstance]

tomcat console:

at java.lang.Thread.run(Thread.java:595)
Caused by: java.sql.SQLException: violate UNIQUE KEY restrict 'UQ__JBPM_PROCESSINST__412EB0B6'  can not insert a reduplicate  object  in 'JBPM_PROCESSINSTANCE'
        at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:364)

Outcomes