anonymous wrote : But at any given time my database is always empty. (Even 
process is fininshed or its in wait state) Am I missing something? 
This is most definately not true. The definitions, processinstances, state etc. 
have to be somewhere or else you couldn't use them. Sorry for stating the 
obvious.

anonymous wrote : If I start my process, at a given node I am not able to begin 
or commit transaction as in my action handler execution context I dont see 
current jbpmsession. (??) and If I get it from JbpmSessionFactory it throws 
obbvious error of ...  Illegal attempt to associate a collection with two open 
sessions
proves the point. Hibernate does not allow you to attach an object to two 
sessions => Hibernate has the object => its in A database.

The question now is which database. HSQL? I never used the starter kit or the 
default configs etc. but I guess thats what your problem is.

anonymous wrote : I am not able to begin or commit transaction as in my action 
handler execution context
Well.. you shouldn't do transaction handling inside of an actionHandler. The 
transaction wraps the execution, possibly with a whole lot of actions. Where 
ever you get the Token / ProcessInstance that you signal() is where your 
transaction handling should be. Or maybe not even there if you're using 
container managed transactions.

Hope this points you in the right direction.

Rainer

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916948


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to