[jboss-user] [JBoss jBPM] - Re: question about JobExecutor and Threads

2008-11-20 Thread lblaauw
Well, If the workaround to get rid of the exceptions happening is to lower the log level ie you dont see them anymore that only gets rid of the log entry. If you use transactional service from within your timers ie handlers with services that use transactions they will fail on the transactions

[jboss-user] [JBoss jBPM] - Re: question about JobExecutor and Threads

2008-11-17 Thread lblaauw
Ok, I will check that out, pretty much getting sick of the timer troubles with jbpm - jboss Finally replaced the EJB timer stuff with a scheduler to now be bitten by: https://jira.jboss.org/jira/browse/JBPM-995 Offcourse I need transactions over these actions so the proposed workaround for th

[jboss-user] [JBoss jBPM] - Re: question about JobExecutor and Threads

2008-11-14 Thread lblaauw
Ronald, Yeah I have implemented the executor without the servlet for now. Bit worried that it makes its own threads in a JEE app but it works for now. Maybe later on I will have some time in this project to make the jobexecutor use the JBoss managed workmanager threadpool as it really should in

[jboss-user] [JBoss jBPM] - Re: question about JobExecutor and Threads

2008-11-13 Thread lblaauw
Yup, This suprised me a bit too yeah we have a very large amount of jbpm ejb timers that basically just sit there and expire every 6 weeks to three months... Still not really sure what route to take though allthough I suppose considering my long timeout value(weeks till months) the schedule

[jboss-user] [JBoss jBPM] - Re: question about JobExecutor and Threads

2008-11-13 Thread lblaauw
well, In debugging on jboss 4.2.2 GA it does seem that way unfortunately... Leo "kukeltje" wrote : I cannot imagine that each ejb timer is a thread that is kept for a long period if they are not running That does not sound as EE. Is that really so? What appserver are you running on. View the

[jboss-user] [JBoss jBPM] - Re: question about JobExecutor and Threads

2008-11-07 Thread lblaauw
Well, Here is one usecase we are currently facing. We have lots and lots of timers spread around over many processinstances. The timers are pretty much only expring once every few months so are long outstanding timers. We started of with EJB timers untill recently i discovered exactly this, that

[jboss-user] [JBoss jBPM] - Re: Job Executor and Spring

2008-10-23 Thread lblaauw
Uhh, The use case is quite common actually to have one spring configuration xml and have property files for your different environments like test, production etc to minimize the configuration data and make for easy deployment of a spring app. So nothing unusual there really... But to stay on to

[jboss-user] [JBoss jBPM] - Re: Task timer and TaskInstance.dueDate field

2008-09-12 Thread lblaauw
True, I understand the current implementation but in my view functionally they shouldnt be different things. I feel you need to be able to have them to be the same thing i.e. when a task has a deadline(duedate) I would like to have the process instance be able to do two optional things: 1. escala

[jboss-user] [JBoss jBPM] - Re: Task timer and TaskInstance.dueDate field

2008-09-11 Thread lblaauw
Hey, Allthough it has been a while since the post below was posted, I am facing a somewhat simular dilemma... Basically I also have a timer asociated on a task node. Seems to be working just fine, but when i get a tasklist the task duedate is not set to the timer and I agree with the poster of th

[jboss-user] [JBoss jBPM] - Re: static variable in actionhandler

2008-08-26 Thread lblaauw
Well, I use the spring jbpm integration stuff and configur a handler in spring for this purpose. Regards, Leo "AJanz" wrote : ah ok. i understand. | | i also got an rulesactionhandler and i want the rules to be loaded only once... | | do you have an idea how to do this? View the ori

[jboss-user] [JBoss jBPM] - Re: Terminated or deleted process instance?

2008-08-25 Thread lblaauw
Hi Ronald, Just got back from some absence off work... anywayz... "kukeltje" wrote : Just some wild guesses.. | - different (customized?) hibernate config? | Nope plain config really. | | - Older and upgraded database model? e.g. one initially for 3.1? just ran the setup sql script from

[jboss-user] [JBoss jBPM] - Re: Terminated or deleted process instance?

2008-08-18 Thread lblaauw
Hmm Thats weird, we also use 3.2.3 here on a jboss server 4.2GA release and a mysql database 5.x No idea why the cascades dont work then on our installations Regards, Leo "mputz" wrote : anonymous wrote : The case i have is that Comment objects are attached to tokens in the process instance

[jboss-user] [JBoss jBPM] - Re: Terminated or deleted process instance?

2008-08-15 Thread lblaauw
hey, Well as you can see from my handler code above that is the only way I could get GraphSession.deleteProcessInstance to delete the ProcessInstance and to have the cascades work correctly. The case i have is that Comment objects are attached to tokens in the process instance. Basically I had

[jboss-user] [JBoss jBPM] - Re: Terminated or deleted process instance?

2008-08-15 Thread lblaauw
nsures a lean and mean processing database necesary for speedy processing with large numbers of processinstances or cases. If you then need historical data you as a developer store that in a seperate database But maybe some of the core jBPM folks in here could comment on this ? Greetings and now o

[jboss-user] [JBoss jBPM] - Re: Terminated or deleted process instance?

2008-08-15 Thread lblaauw
That wont work since you will have a non complete processinstance at your hands caused by all lazy loading on the process instance... Regards, Leo "mputz" wrote : anonymous wrote : The actual delete is kinda tricky... | | Why not simply use org.jbpm.db.GraphSession#deleteProcessInstance(lon

[jboss-user] [JBoss jBPM] - Re: Terminated or deleted process instance?

2008-08-15 Thread lblaauw
Hey, I just wrote a handler to get rid of all the process instance data including the cascades. The actual delete is kinda tricky in a sense that since all collections and object properties are lazily initialized it requieres you to load them up in a custom command object to get the actual data

[jboss-user] [JBoss jBPM] - Re: purge data after processinstance reaches end ?

2008-08-08 Thread lblaauw
Hey, Yeah I am aware of this function call, question remains though where to call it.. Ideally I would like the process at the end to purge its own data. Offcourse it could be purged through an external process running outside of jBPM but thats not really a great way in my view, i.e. another pr

[jboss-user] [JBoss jBPM] - Re: Getting comments through command object ?

2008-08-08 Thread lblaauw
Hey vtysh, Well my usecase is actually quite simple, i just need global comments per process instance, so any task user can add comments to the whole process instance. So when i collect a users tasks per task i also collect the process instance comments for that task. Therefore i decided to use

[jboss-user] [JBoss jBPM] - purge data after processinstance reaches end ?

2008-08-08 Thread lblaauw
Hi, Just a quick question... As it stands right now in our application when all tasks of a process instance have ended i see in the db a date filled in at the process instance end_ table. Thats great but what we really want to do is purge all data from the db belonging to that process instance,

[jboss-user] [JBoss jBPM] - Re: Getting comments through command object ?

2008-08-07 Thread lblaauw
! ;-) Greetings, Leo "lblaauw" wrote : Kukeltje, | | Cool, yeah seems like the way to go. Trying that now but my new command not only does not save the new comment but also wipes out any existing ones.. hmmm ?? | | Greetings, | Leo | | "kukeltje" wrote : make a new

[jboss-user] [JBoss jBPM] - Re: Getting comments through command object ?

2008-08-07 Thread lblaauw
Kukeltje, Cool, yeah seems like the way to go. Trying that now but my new command not only does not save the new comment but also wipes out any existing ones.. hmmm ?? Greetings, Leo "kukeltje" wrote : make a new command (almost the same a modifying the source to it not being lazy ;-)) View

[jboss-user] [JBoss jBPM] - Getting comments through command object ?

2008-08-06 Thread lblaauw
Hey all, Does anybody have any experience in getting the comment entries through the use of a getTaskInstance command or getprocessInstanceCommand ? I am using these through the command EJB and this will throw a lazy init exception since the collection of Comments is lazy getting it wont work t

[jboss-user] [JBoss jBPM] - Re: Need urgent help in solving this error in running a JBPM

2008-07-23 Thread lblaauw
Hey, Are the database tables created in your oracle db ? If not run the oracle jbpm init script to create those tables and try again. Regards, leo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166196#4166196 Reply to the post : http://www.jboss.com/index.

[jboss-user] [JBoss jBPM] - Log/ Audit trail ?

2008-07-21 Thread lblaauw
hi, Just wondering if there is an example somewhere around, yes i searched a lot before posting, on how to simply construct an audit trail of a process instance ? I did some investigation on the log command but it seems its an all or nothing aproach so far as the standard api goes. i.e. it giv

[jboss-user] [JBoss jBPM] - Re: Deploy the jBPM 3.2.3 JBoss 4.2 / 4.3

2008-07-15 Thread lblaauw
Hi, Just a tip too, since we found out the hard way... If you are using MySQL as a database dont use a mysql-connector.jar below 5.16 or you will get problems with the prepared insert statements ie they dont work because of a bug in the mysql connector driver... Greetz Leo View the original p

[jboss-user] [JBoss jBPM] - Re: Jbpm-jpdl failed to launch login console in JBoss-4.0.2G

2008-06-27 Thread lblaauw
Hi, Well, on my classpath for our application that is actually in xml-apis.jar. Allthough that is not JBoss server suplied, we are using 4.2.2GA so I have no idea if it was or wasnt available on 4.0.4. I also havent seen that error here on our jbpm-console deploy on 4.2.2GA. But to make a long

[jboss-user] [JBoss jBPM] - Re: Jbpm-jpdl failed to launch login console in JBoss-4.0.2G

2008-06-26 Thread lblaauw
Hi, Seems to me you have the wrong jdom/dom4j on the classpath somewhere... Regards, Leo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161053#4161053 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161053

[jboss-user] [JBoss jBPM] - Lazy exception on getting comments through Task(list) EJB co

2008-06-23 Thread lblaauw
Hi, Well getting further and further where we want to be with jBPM in our application but this is another interesting one... We are currently using the Command EJB to execute TaskList and TaskInstance commands. Both work fine for the regular task details and variables. But when I try to get t

[jboss-user] [JBoss jBPM] - Re: MySQL backend

2008-06-20 Thread lblaauw
Hey, Did you just run the suplied ddl script to initialize your MySQL db ? If so change all fields defined as bit type to boolean and you should be ok. This is exactly the problem we had, been running fine ever after since we changed the ddl script. Greetz Leo View the original post : http:/

[jboss-user] [JBoss jBPM] - Re: TaskInstance.setActorId(String) causes set TaskInstance

2008-06-20 Thread lblaauw
Hey, yeah correct for the suplied jBPM ddl script to work, you have to change all the bit definition to boolean. MySQl will indeed change these to tinyint(1) but looking at the ddl script boolean is the correct definition to use. After that change we had no problems initializing our mySQl db wi

[jboss-user] [JBoss jBPM] - Re: lazy init exception on getting Tasklist through Command

2008-06-20 Thread lblaauw
all, Never mind I had a task in my start node wich caused the problem, so solved !!! Greetz Leo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159480#4159480 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159480 _

[jboss-user] [JBoss jBPM] - lazy init exception on getting Tasklist through Command EJB

2008-06-20 Thread lblaauw
Hi all, Another challenge ;-0 When I get the task list for a string[] of actors I correctly get all tasks for all the actors in the list. However the variables in the taks have not been initialized and consequently hibernate throws a lazy exception.. In de GetTaskListCommand when you get the ta

[jboss-user] [JBoss jBPM] - Re: Tutorial or guide to create instances of processes in ja

2008-06-19 Thread lblaauw
Ok, I am also sorta debating on what route to take on this scenario. So we have deployed jBPM as the ear file including the console and the EJBs since we need the timerservices to be ejb timers this seemed a reasonable approach. I have been reading a lot in the documentation and also the source

[jboss-user] [JBoss jBPM] - Re: removing the identity component

2008-06-11 Thread lblaauw
Ronald, Did you ever get to post the document you mention below ? I would love to see that too, since we also have our own user database allready. We use the jboss custom jaas handlers to authenticate and authorise the users and get their groups allready. Rigth now we are not using the jbpm i

[jboss-user] [JBoss jBPM] - Re: dynamic deadlines on tasks ?

2008-06-11 Thread lblaauw
Ronald, After I did an update from the repository today and redeployed with the jpdl 3.2.3 jar it seems all AoK at this time ;-) So I will try to implement some dynamic deadline in our processes and see how we fare with that. Greetings, Leo "lblaauw" wrote : Well, | | One of

[jboss-user] [JBoss jBPM] - Re: dynamic deadlines on tasks ?

2008-06-10 Thread lblaauw
Well, One of the things I had a problem with was the fact that now jpb config needs to be set into a system variable for it to work I guess. Is that intended ? It seems to resolve itselves automatically on the classpath in the jars or firstfound in 3.2.2 ? I had this traced down originally but

[jboss-user] [JBoss jBPM] - Re: dynamic deadlines on tasks ?

2008-06-10 Thread lblaauw
Ronald, That would be great and just what we need ;-) Any rough estimates on when 3.2.3 will be arriving ? I tried to upgrade our 3.2.2. with a build from the repository and it was labeled 3.2.3 but ran into some problems... Regards, Leo "kukeltje" wrote : yes, wait for 3.2.3 which will be rel

[jboss-user] [JBoss jBPM] - dynamic deadlines on tasks ?

2008-06-10 Thread lblaauw
Hi, Just wondering on how to build or even better, just configur through a variable, to have dynamic deadlines on taks in jpdl ? Basically the scenario I need to implement is to have a deadline escalate wich differs per case/instance of the workflow. Thanks for all input, Leo View the origin

[jboss-user] [JBoss jBPM] - Dynamic timers ?

2008-04-04 Thread lblaauw
Hi, Has anybody ever tried to use dynamic timers in jbpm ? I am aware of the timers that can be configured statically but rather then that I would like them to be dynamic on for instance registrations in an external db etc. Any ideas or help etc greatly appreciated, Regards, Leo View the orig