[jboss-user] [JBoss jBPM] - Re: How to Handle Process Execution History

2006-07-26 Thread kukeltje
uhhm... I think this is a question for the springTemplate guys View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960992#3960992 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960992 ___

[jboss-user] [JBoss jBPM] - Re: How to Handle Process Execution History

2006-07-13 Thread brado
Problem solved. The problem was apparently that I had no jbpmContext.close() operation, so although everything was executing properly, no commit was ever done on the SQL transactions performed on the context. However, this begs another question, which is directly applicable to my code that I p

[jboss-user] [JBoss jBPM] - Re: How to Handle Process Execution History

2006-07-13 Thread brado
cpob, Thank you very much for the reply. I have the same text as you in my jbpm.cfg.xml file. So if it isn't a matter of what's in the config file itself, perhaps it is an issue of where the file is located. Within my jbpm.sar file, there is a file called jbpm.sar.cfg.jar, and inside of it, i

[jboss-user] [JBoss jBPM] - Re: How to Handle Process Execution History

2006-07-13 Thread cpob
I get tons of logs in my log output, and I didn't have to do much. | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957872#3957872 Reply to the post :

[jboss-user] [JBoss jBPM] - Re: How to Handle Process Execution History

2006-07-13 Thread brado
Is there anyone who has gotten logging and saving process instances to the database (specifically populating the JBPM_LOG and JBPM_PROCESSINSTANCE tables) working in jBPM 3.1.1? If so, could you post your jbpm.cfg.xml file, so I can rule out a configuration error in mine? I'd really appreciate i

[jboss-user] [JBoss jBPM] - Re: How to Handle Process Execution History

2006-07-12 Thread brado
I must really be missing something here. I traced into the jbpmContext.save(processInstance) call, and the call stack eventually arrives at the following method in the org.jbpm.svc.save.CheckUnpersistableVariablesOperation class: | public void save(ProcessInstance processInstance, JbpmContex

[jboss-user] [JBoss jBPM] - Re: How to Handle Process Execution History

2006-07-12 Thread brado
After further review, I think the links given may have left some important information out, in combination with possibly some confusing comments in the default jbpm.cfg.xml file. Anyway, I altered my jbpm.cfg.xml file once again, to be exactly the same as the default file (the reason I did this

[jboss-user] [JBoss jBPM] - Re: How to Handle Process Execution History

2006-07-12 Thread brado
I followed the instructions in these documents. As instructed in the links you referenced, I added the following to my jbpm.cfg.xml file and rebuilt / deployed my sar: | | | | | Upon doing this, JBoss now gives the following error (which causes more errors) on startup:

[jboss-user] [JBoss jBPM] - Re: How to Handle Process Execution History

2006-07-12 Thread kukeltje
Searching helps alot: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=86302 http://www.jboss.com/index.html?module=bb&op=viewtopic&t=86294 If not, please get back View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957581#3957581 Reply to the post : htt

[jboss-user] [JBoss jBPM] - Re: How to Handle Process Execution History

2006-07-12 Thread brado
Ronald, Yeah, I think for now I'd be happy to just see the data from the JBPM_LOG table -- problem is I don't seem to be getting any data populated in the table. The user guide states: "Various kinds of logs are generated by jBPM : graph execution logs, context logs and task management logs.

[jboss-user] [JBoss jBPM] - Re: How to Handle Process Execution History

2006-07-12 Thread kukeltje
Brad, There already is lots of logging. Adding another table for this is imo not the way to go. Can you indicate what you miss in the available jbpm_log table. (it contains lots, and lots of info) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957556#3957556

[jboss-user] [JBoss jBPM] - Re: How to Handle Process Execution History

2006-07-12 Thread kukeltje
Brad, There already is lots of logging. Adding another table for this is imo not the way to go. Can you indicate what you miss in the available jbpm_log table. (it contains lots, and lots of info) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957555#3957555

[jboss-user] [JBoss jBPM] - Re: How to Handle Process Execution History

2006-07-12 Thread brado
Ronald, Ok, understood. Thanks for the answer. Supposing I were to contribute a history table to the db schema, how in your view would be the best way to handle writing history? Would it be best to add it as an automatic function done at the time a process instance is created, or leave it a man

[jboss-user] [JBoss jBPM] - Re: How to Handle Process Execution History

2006-07-12 Thread kukeltje
Brad, To get these kinds of overviews is still one of the ommissions in jBPM. The API does not have anything for this (yet), neither does the webapp. We (the company I work for) do not use specific tables for this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewto