[jboss-user] [JBoss jBPM] - Re: Failed to delete ProcessInstance due to foreign key cons

2009-08-03 Thread mputz
by 'both ways', are you referring to this: anonymous wrote : Deploy PD2 and then PD1 - delete both works fine | Deploy PD2 and then PD1 - execute PD1 and PD2 from PD1 - getting this error.. where the difference in the second way is that there are actually (ended) process instances? Other tha

[jboss-user] [JBoss jBPM] - Re: Failed to delete ProcessInstance due to foreign key cons

2009-07-31 Thread TejJBPM
Hmm..that is goin to be the only option I have.. @Martin Did you try both the ways which I tried and you are still not getting any error or you tried to delete immediately after deploying? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247353#4247353 Reply

[jboss-user] [JBoss jBPM] - Re: Failed to delete ProcessInstance due to foreign key cons

2009-07-31 Thread kukeltje
If you have customized it, you probably did this by checking out the source. I cannot imagine the differences to be so big that you cannot fairly easily update your version to the latest source. If so... I think you have to manually find differences in the source (with help from Jira maybe) that

[jboss-user] [JBoss jBPM] - Re: Failed to delete ProcessInstance due to foreign key cons

2009-07-31 Thread TejJBPM
I tried using the latest mysql connector but same error. Unfortunately , I cant upgrade to the 3.2.x version as I have customised the jbpm code and extended it some places to get things done.. I tried this PD1 - Parent PD2 - Child Deploy PD2 and then PD1 - delete both works fine Deploy PD2 and

[jboss-user] [JBoss jBPM] - Re: Failed to delete ProcessInstance due to foreign key cons

2009-07-31 Thread mputz
I'd give a newer jBPM 3.2.x version a try View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247243#4247243 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247243 ___ jboss-user ma

[jboss-user] [JBoss jBPM] - Re: Failed to delete ProcessInstance due to foreign key cons

2009-07-31 Thread kukeltje
mysql calls there driver 'connector' View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247234#4247234 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247234 ___ jboss-user mailing

[jboss-user] [JBoss jBPM] - Re: Failed to delete ProcessInstance due to foreign key cons

2009-07-31 Thread kukeltje
driver View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247233#4247233 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247233 ___ jboss-user mailing list jboss-user@lists.jboss.o

[jboss-user] [JBoss jBPM] - Re: Failed to delete ProcessInstance due to foreign key cons

2009-07-31 Thread TejJBPM
Sorry for being so densehow do i use a connector? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247224#4247224 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247224 ___ j

[jboss-user] [JBoss jBPM] - Re: Failed to delete ProcessInstance due to foreign key cons

2009-07-31 Thread kukeltje
Try using a newer connector first View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247220#4247220 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247220 ___ jboss-user mailing li

[jboss-user] [JBoss jBPM] - Re: Failed to delete ProcessInstance due to foreign key cons

2009-07-31 Thread TejJBPM
If I change the end state in the process-state to end ..I am able to delete but then the transition from the parent process to sub process is not happening...So i think there is some problem(or difference? ) in using end-state and end in the process-state? Any thoughts? View the original post :

[jboss-user] [JBoss jBPM] - Re: Failed to delete ProcessInstance due to foreign key cons

2009-07-31 Thread TejJBPM
My MYSQL Version is 5.1 and MYSQL Connector version - 5.0.4 .. any suggestions? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247194#4247194 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247194 __

[jboss-user] [JBoss jBPM] - Re: Failed to delete ProcessInstance due to foreign key cons

2009-07-31 Thread TejJBPM
My JBPM Version is 3.2.1.. I tried to delete the child process and get this error: Delete failed: An exception of type "org.hibernate.exception.ConstraintViolationException" was thrown. The message is: Could not execute JDBC batch update | 2009-07-31 09:52:10,549 [http-80-Processor22] WARN

[jboss-user] [JBoss jBPM] - Re: Failed to delete ProcessInstance due to foreign key cons

2009-07-31 Thread mputz
TejJBPM, this is jBPM 3, right? If you've got a process-state node in the process definition that you are trying to delete, you might want to try to delete the child process before. Although I have to say I don't see this FK violation in my environment (jBPM 3.2.5.SP5, MySQL 5.1.35, mysql-conn

[jboss-user] [JBoss jBPM] - Re: Failed to delete ProcessInstance due to foreign key cons

2009-07-31 Thread TejJBPM
Ok this is happening when I have a "Process State" node in my process diagram.. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247187#4247187 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247187 __

[jboss-user] [JBoss jBPM] - Re: Failed to delete ProcessInstance due to foreign key cons

2009-07-31 Thread TejJBPM
I can see that from the error..how do i fix that? It does not seem to be occuring from my code..but JBPM is failing to delete..so It is a bug.. any fix or is it resolved? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247181#4247181 Reply to the post : http

[jboss-user] [JBoss jBPM] - Re: Failed to delete ProcessInstance due to foreign key cons

2009-07-30 Thread kukeltje
because it cannot be removed due to e FK constraint. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247137#4247137 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247137 ___ jb

[jboss-user] [JBoss jBPM] - Re: Failed to delete ProcessInstance due to foreign key cons

2009-07-30 Thread TejJBPM
it happens when i end an process.. if it is removed from the db..why is it showing an error? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247112#4247112 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247112 _

[jboss-user] [JBoss jBPM] - Re: Failed to delete ProcessInstance due to foreign key cons

2009-07-30 Thread kukeltje
is it an delete you do yourself? Or does it also happen when you just end a process the normal way? It is removed from te db then. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247102#4247102 Reply to the post : http://www.jboss.org/index.html?module=bb&op=