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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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,
! ;-)
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
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
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
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.
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
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
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
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
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
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:/
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
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
_
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
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
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
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
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
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
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
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
39 matches
Mail list logo