[jboss-user] [jBPM Users] - Re: Solution: JBPM3 and Spring Integration

2009-08-26 Thread jbarrez
@MrMagoo: there are a lot of people who are using the Spring integration 
without problems, so don't feel cheap ;-)

Do keep us posted on your progress, I'm interested in seeing in what area we 
can improve things.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251817#4251817

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4251817
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Solution: JBPM3 and Spring Integration

2009-08-25 Thread mr_magoo
Hey there,

I wish I could, but I dumped them a few weeks ago once I had JBPM3 all working. 
Regretting that now.

Also there were about 50 variants. That in itself is wierd as the spring 
integration docs are only a few paragraphs. 

You guys tempted me with promises of a painless spring integrationnow I 
feel so cheated and cheap. ;) 

I will give it another hack when I have some time and be sure to keep a log and 
post then. 








View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251694#4251694

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4251694
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Solution: JBPM3 and Spring Integration

2009-08-25 Thread kukeltje
PLEASE post in topics that are ON TOPIC this one is about Spring and jBPM 3, 
you do not use EITHER

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251476#4251476

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4251476
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Solution: JBPM3 and Spring Integration

2009-08-25 Thread mmusaji
"mr_magoo" wrote : Note that because of the use of the transaction template, 
hibernate will assume that any staleobject exception coming out of the commit 
is an error. It will log and throw this exception.
  | Personally I think this is very bad form in a library! :) In a 
multi-instance environment you will have to manually silence it as these 
optimistic lock failures are perfectly ok. They are caught and silenced in the 
core jbpm executor code but of course will not occur because of the delayed 
commit.
  | 
  | e.g.
  | org.hibernate.StaleObjectStateException: Row was updated or deleted by 
another transaction (or unsaved-value mapping was incorrect): 
[org.jbpm.job.ExecuteNode
  |   | Job#140392]
  |   | at 
org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1782)
  |   | [...]
  |   | at 
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
 <== CULPRIT!
  |   | [...]
  |   | at 
org.jbpm.SpringExecutorThread.acquireJobs(SpringExecutorThread.java:33)
  |   | 
  | 
  | Please note that the above code does not deal with this problem at all. You 
will end up with 2 logged errors for every optimistic lock failure in a multi 
instance environment. The errors should be benign otherwise.
  | 

This is good to know. I'm not using Spring but I am getting this error when I'm 
executing multiple jobs in parallel using JBPM 4 and MySQL. I've been seeing 
all sorts of posts/blogs etc skimming this issue but none explaining the cause 
or if there is a solution.

The problem I am having is my workflow doesn't always complete because of the 
errors. It seems like it's a little hit and miss and sometimes will carry on 
through to completion and sometimes not.

http://www.jboss.org/index.html?module=bb&op=viewtopic&t=160253

Maybe should post in another thread.




View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251444#4251444

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4251444
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Solution: JBPM3 and Spring Integration

2009-08-25 Thread jbarrez
Btw for reference, your jBPM4 issues are described here: 
http://www.jorambarrez.be/blog/2009/04/17/integrating-jbpm3-with-spring-part1/

It makes me wonder, since the GWT console uses JTA transactions. Can you post 
your configs here?



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251410#4251410

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4251410
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Solution: JBPM3 and Spring Integration

2009-08-25 Thread jbarrez
Thanks for the posts!

 I added a link to this thread on my blog.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251409#4251409

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4251409
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user