[JBoss-user] [JBoss jBPM] - Re: Task assignment handler not being called second time thr

2006-02-23 Thread iterrell
Thanks for the information and the workaround. I think it's unintuitive behavior at best. Ian View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925906#3925906 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925906 ---

[JBoss-user] [JBoss jBPM] - Re: Task assignment handler not being called second time thr

2006-02-23 Thread iterrell
I'm using 3.1. It strikes me that if an action is used for task assignment, it should call the action every time. What if a process instance runs for a long time (mine will run for at least 3 or 4 months) and the task actors should be set based on information that could be modified by the appl

[JBoss-user] [JBoss jBPM] - Task assignment handler not being called second time through

2006-02-23 Thread iterrell
I have a process with a task in a loop, and although the assignment handler gets called the first time, it doesn't get called any subsequent times. Here's an example process that shows the behavior: | | | | | | | | |

[JBoss-user] [JBoss jBPM] - Re: SubProcessInstance(s) returns null

2006-02-22 Thread iterrell
Shriram, I am successfully using both multiple subprocesses AND .getSubProcessInstance(), so I doubt that's the issue. Are the SubProcessInstanceIDs getting set in the database? Look at the values manually to tell. If they are null, make sure that you are saving the process instances you cre

[JBoss-user] [JBoss jBPM] - Re: How are timers executed in 3.1?

2006-02-16 Thread iterrell
Haha. My oh my. It has been one long week. One of my co-developer's was running an instance of our app against the same database. /His/ instance of my scheduler was executing the timers. Wow. I'm so optimistic that my first hope was magic. :) Ian View the original post : http://www.jboss

[JBoss-user] [JBoss jBPM] - Re: How are timers executed in 3.1?

2006-02-16 Thread iterrell
And one more follow up question: Does that make external schedulers unnecessary? Mine just seems to annoy me with log statements every 5 seconds. :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3924449#3924449 Reply to the post : http://www.jboss.com/in

[JBoss-user] [JBoss jBPM] - How are timers executed in 3.1?

2006-02-16 Thread iterrell
I just migrated my code from 3.0.2 to 3.1, and umm, I've noticed something strange with the scheduler that I was using previously to execute timers. It finds the timers, but then doesn't execute them. Instead, they just disappear. Now, I've checked the database; they're working properly. Do

[JBoss-user] [JBoss jBPM] - Re: Timer Scheduler in Distributed JBoss Environment

2006-02-16 Thread iterrell
I'm more than willing to give back by contributing this solution; just gotta test it a bit more and see if I can't make it a little more robust. :) Ian View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3924442#3924442 Reply to the post : http://www.jboss.com/i

[JBoss-user] [JBoss jBPM] - Timer Scheduler in Distributed JBoss Environment

2006-02-16 Thread iterrell
Can anyone give any recommendations on the best sort of scheduler to use in a distributed JBoss environment? Right now I have a custom-made SLSB that mimics the behavior of org.jbpm.scheduler.impl.SchedulerServlet using javax.ejb.Timer's. Can anyone offer any insight on this approach (any pitf

[JBoss-user] [JBoss jBPM] - Re: Timer to node to timer trouble

2006-02-15 Thread iterrell
Koen, 3.1 seems to solve this problem. Thanks! Ian View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923948#3923948 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3923948 ---

[JBoss-user] [JBoss jBPM] - Re: Problems using jBPM from JBoss

2006-02-15 Thread iterrell
Koen, Thanks for your response. Also, I apologize, I'm usually much better at posting symptoms of problems. I migrated to 3.1 to try to correct issues I was having with 3.0.2, and it was on the whole a long and frustrating day. :) In the course of getting the information together for this re

[JBoss-user] [JBoss jBPM] - Problems using jBPM from JBoss

2006-02-14 Thread iterrell
I'll be the first to admit, I've had more than a tiny bit of difficulty using jBPM as our workflow solution. I had several issues with timer and subProcessInstance persistence with 3.0.2, so I switched today to 3.1. However, now I'm having some problems I didn't have before, even before I've

[JBoss-user] [JBoss jBPM] - Problem deploying process definition from slsb

2006-02-14 Thread iterrell
In the process of migrating my code and processes from 3.0.2 to 3.1, I've encountered the following issue: When deploying the following process | | | | | | | from a stateless session bean (with pd = parseXMLString(...); jbpmContext.deployProcessDefin

[JBoss-user] [JBoss jBPM] - Re: jBPM 3.1 Decision Node Example Code

2006-02-14 Thread iterrell
http://jira.jboss.com/jira/browse/JBPM-559 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923736#3923736 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3923736 --- Th

[JBoss-user] [JBoss jBPM] - Re: jBPM 3.1 Decision Node Example Code

2006-02-14 Thread iterrell
Haha. Further experimentation shows me what I can only assume must be a bug in the interpretation of whitespace. The following revision to the test process works as expected: | | | | | | | | |

[JBoss-user] [JBoss jBPM] - jBPM 3.1 Decision Node Example Code

2006-02-14 Thread iterrell
Is there any example code for a decision node in version 3.1? I'm migrating my code from 3.0.2 and it sounds like that has to change to a JSP-like syntax. Unfortunately, I don't see any relevant code snippets in the user guide, the migration guide, or in src/process.examples. Here's my test p

[JBoss-user] [JBoss jBPM] - Re: Timer to node to timer trouble

2006-02-14 Thread iterrell
mennen: I do believe you should post further questions about this in a new thread; your problem appears unrelated to mine. But. I'm not a jBPM expert by any means, but my guess is that since the action DoNothing is associated with the timer in state1, and not directly with the task you define

[JBoss-user] [JBoss jBPM] - Re: Timer to node to timer trouble

2006-02-14 Thread iterrell
3.0.2 right now. I may try to migrate my existing code to 3.1 though, to see if I still have trouble there. Ian View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923583#3923583 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=repl

[JBoss-user] [JBoss jBPM] - Re: subProcessInstance is null

2006-02-13 Thread iterrell
ejimenez: anonymous wrote : Is there something you want to do that you cant accomplish using the subprocess end event? Actually, I think yes. I have a process that uses subprocesses for repetitive tasks like calling someone (with carefully designed business rules for a busy signal, leaving a

[JBoss-user] [JBoss jBPM] - Re: Timer to node to timer trouble

2006-02-13 Thread iterrell
Any chance anyone thought about this over the weekend and came up with some great insight? :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923335#3923335 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3923335 -

[JBoss-user] [JBoss jBPM] - Re: subProcessInstance is null

2006-02-13 Thread iterrell
Thanks for the information, guys. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923332#3923332 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3923332 --- This SF.net

[JBoss-user] [JBoss jBPM] - Timer to node to timer trouble

2006-02-10 Thread iterrell
Ok, here's the situation. I have a process that relies heavily on timers. In fact, the business process looks something like: do something, do something else after 10 days, do something else after 10 more days, etc. Some of the somethings are automated (node), and some are not (tasknode). My

[JBoss-user] [JBoss jBPM] - Re: cannot jbpmSession.commitTransaction()

2006-02-09 Thread iterrell
Maybe I can try to be at least a little useful then, after that bad advice. ;-) Using JBoss 4.0.3 I have: | hibernate.transaction.factory_class=org.hibernate.transaction.JTATransactionFactory | hibernate.transaction.manager_lookup_class=org.hibernate.transaction.JBossTransactionManager

[JBoss-user] [JBoss jBPM] - Re: cannot jbpmSession.commitTransaction()

2006-02-09 Thread iterrell
Alternatively, you could probably use xdoclet as: [MDB xdoclet settings: transaction-type="Bean" ] Don't quote that as gospel; just guessing. :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3922563#3922563 Reply to the post : http://www.jboss.com/index.h

[JBoss-user] [JBoss jBPM] - Re: subProcessInstance is null

2006-02-09 Thread iterrell
Tom, I see you try accessing it in a new transaction; is that also starting a new jbpmSession? I get the error when everything is persisted and I try accessing it in a later session; it works fine when still in the original one. I'm using 3.0.2; I tried going to 3.1 beta 3 to test it, but I h

[JBoss-user] [JBoss jBPM] - Re: cannot jbpmSession.commitTransaction()

2006-02-08 Thread iterrell
I've had similar errors using EJB Timers. I believe what is going on is that your application server is managing your transactions but that is not getting communicated to jBPM's Hibernate. Since my timer's logic was simple and purely jBPM related, I solved the problem by letting the bean manag

[JBoss-user] [JBoss jBPM] - Re: subProcessInstance is null

2006-02-08 Thread iterrell
I have a similar problem, and have posted about it here: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=76936 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3922290#3922290 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mo

[JBoss-user] [JBoss jBPM] - Trouble getting SubProcessInstance in new jbpmSession

2006-02-07 Thread iterrell
I'm having a little bit of trouble accessing a subprocess instance via a Token's getSubProcessInstance method. I'm using the processes: | | | | | | | | | | | | | | | | |

[JBoss-user] [JBoss jBPM] - Re: Create timer problem coming from completed task

2005-12-29 Thread iterrell
Nevermind, fixed it! The answer is very simple. Turns out that after doing a task you have to explicitly save the process instance, like so: | jbpmSession.getGraphSession().saveProcessInstance(task.getTaskMgmtInstance().getProcessInstance()); | View the original post : http://www.jbos

[JBoss-user] [JBoss jBPM] - EJB3 Timer Scheduler

2005-12-29 Thread iterrell
I'm using jBPM in an EJB3 application, and I didn't feel that the web tier was the proper place for the scheduler. I wrote a stateless session bean that uses EJB3 timers for scheduling instead. It's basically the same algorithm (oh, and same code :) that's in the servlet, just now instead of u

[JBoss-user] [JBoss jBPM] - Re: Create timer problem coming from completed task

2005-12-29 Thread iterrell
Anyone able to offer any insight on this problem? :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3914787#3914787 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3914787 --

[JBoss-user] [JBoss jBPM] - Re: Create timer problem coming from completed task

2005-12-20 Thread iterrell
More info (whoops!): If I advance from "call" directly with a processInstance.signal("go"), the timer is created and found and works properly. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3913657#3913657 Reply to the post : http://www.jboss.com/index.html?

[JBoss-user] [JBoss jBPM] - Create timer problem coming from completed task

2005-12-20 Thread iterrell
I'm experimenting with jBPM before integrating it into my application, and I've run into a small snag. My original process went like this: | | | | | | | | | | | | | | | | |

[JBoss-user] [EJB 3.0] - Re: Re-obtaining a reference to an existing stateful EJB3 in

2005-12-16 Thread iterrell
I'm currently having trouble reobtaining a reference to a sfsb, myself. Unfortunately, I've tried every method listed in this thread. :) My initial (perhaps naive) approach was to stick a reference to the bean in the HttpSession, but after approximately 2-5 minutes method invocations via that