[JBoss-user] [JBoss jBPM] - Re: how to use duedate? (in a task, NOT timer)
Hi, Sorry, I missed that in your first post. I am curious (I'm a beginner) as to why a timer wouldn't work for you. Thanks, Fred View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936882#3936882 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3936882 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: how to use duedate? (in a task, NOT timer)
Hi, The websale example does exactly this in one of its nodes: | | | | | salesman | | | | | | | | | | | | | See jbpm/src/process.examples/websale.par/processdefinition.xml The code for RemindActor is also there. Fred View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936734#3936734 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3936734 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: modeling a long running process
Sorry, the above is supposed to say "plain node", but the code got lost. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936707#3936707 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3936707 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: modeling a long running process
gudake, I've been trying to play with this too. I think I need to have actions on plain rather than on tasks, because I want the external process to control the process flow. Isn't it true that in your experiment with async tasks, the process continued on regardless of what happened in the async action? It essentially "went past" the async action? In my case, I want to do something like: 1. Go to "ftp runner" node 2. Execute async ftp job 3. On normal completion, signal the process to continue normally 4. On abnormal completion, signal the process to do something else Does this fit with what you see? Thanks, Fred View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936683#3936683 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3936683 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: modeling a long running process
Thanks for your response. But can we learn at what point we need to switch from internal messaging to JMS? What are the problems with internal messaging? How will we know when not to use it? Does it turn blue under load? Does the CPU burst into flames? Excess stomach acid? What is the status of jBPM support for JMS? Are we on our own to integrate our own action code with JMS? Or is there undocumented support? Or is there unreleased code in CVS? Or should we guess? Any hints appreciated. Thanks, Fred View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936682#3936682 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3936682 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: modeling a long running process
Thanks, that's helpful. I have been deploying with ant, but I'm happy to know about the upload mechanism. Would you consider posting your test processdefinition.xml? I keep getting validation errors with the eclipse plugin, and it's just as bad when I try writing them manually. I'm collecting examples. Thanks, Fred View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936464#3936464 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3936464 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: modeling a long running process
Ok, now I'm lost. What is this "jbpm-web" application? Am I missing a tool? The only thing that I have is the plain "jbpm" war file from the starter kit that contains a demo of the "websale" process. Where is this "run process" button you're referring to? Or is this your code? Thanks, Fred View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936433#3936433 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3936433 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: modeling a long running process
My understanding is that the internal asynchronous messaging within jbpm is fairly limited, though it may be enough for my purposes. For example, if I needed to run a bunch of ftp jobs at once, I might need a pool of "ftp runner" objects. These would sit around waiting for messages to ftp files. JMS would guarantee that a single request message was sent to one and only one object. My sense is that this is well beyond jbpm's internal messaging, but I'm not certain of the details. Can anyone comment on just how far you can go with jbpm internal messaging before you need JMS? Also, what is the state of JMS support in jbpm? I've seen several references to "to come". Thanks, Fred View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936390#3936390 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3936390 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - modeling a long running process
Hi, I've been making good progress getting jbpm running on a production database and have written some test code, etc. But now I'm trying to understand how to get some real work done! Part 1: Let's say that one thing we have to accomplish in a process is: "ftp large file to remote site" Assume this will take a "long" while, as in 30 minutes or so. This seems to imply that we don't do this in a normal node, right? Since we don't want a 30 minute database transaction! What's the best way to model this in jbpm? I see at least these two options (I'm a beginner!): 1. Do this in an async="true" node. The process is in a wait state while a separate thread gets this job done. 2. Set this up as a task, but instead of a user being involved, it's an automated system (maybe like wf.runa.ru "task bots"?). When the task completes, the process continues. So how would the experts do this? All advice welcome. Part 2: However we accomplish the ftp process, these things can happen: 1. The ftp job works properly. The process continues. 2. The ftp job fails in some expected way (remote server is down). I can imagine a process definition that somehow does "try again later". 3. The ftp job fails in an unexpected way. Say for example that the machine running the ftp process crashes. In this case, jbpm will never hear back from the job (either async thread or external task). What's the best practice for case #3? And how does the process model know the difference between a failed task and one that's taking a really long time? Thanks, Fred View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936116#3936116 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3936116 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: hibernate.properties doesn't always override hibernate.c
Thanks for your reply. However, there is no sar file involved. This is a single ant task, deploying a single process definition. Within this single deployment I see the problem. At the beginning hibernate is talking to my database, but midway into the deployment, hibernate starts talking to hsqldb. Thanks, Fred View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935881#3935881 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3935881 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - hibernate.properties doesn't always override hibernate.cfg.x
Hi, This is related to my earlier post on problems with the jbpm-db project. I've just finished a quick test of deploying processes with ant. It's working fine, but only after I had the same problem I described earlier. Namely, when using hibernate.properties to override hibernate.cfg.xml, the deploy process starts properly. The logs report the correct database, login, password, etc. However, later in the deployment, hibernate starts trying to talk to hypersonic (hsqldb). The logs show the default stuff from hibernate.cfg.xml. This of course causes failures. Once I stopped using hibernate.properties, and created a custom hibernate.cfg.xml, everything worked fine. I can post logs of this if anyone is interested. Thanks, Fred View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935864#3935864 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3935864 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Problems deploying process
Hi, I used your build.xml as a starting point and tried to accomplish the same thing (deploying a process with ant). It worked, but see my new post about hibernate.properties problems. Here's my build.xml: | | | description | | | | | | | | | | | | | | | | | Fred View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935852#3935852 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3935852 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Difficulties with jbpm-db
I have been working with jbpm-db from the starter kit, attempting to build database support in MS SQL-Server. The generated create/drop scripts work properly when run manually, and I can confirm the problems with overall record size that are documented. However, from there I have been having nothing but problems. At first, all tests failed because of "class not found" for c3p0 connection pooling (presumably not included in the starter kit). I found that package and added it to jbpm. Now, however, the tests appear to want to use their own idea of user name and password, even though the correct ones are configured in mssql/hibernate.properties. Thus I get all failures because tables can't be found, etc. Anyone have any suggestions as to how to get this to run? The documentation suggests that it's possible! And what about the record size issue? Is there any reason why jbpm can't use TEXT fields instead of VARCHAR for these large fields? Thanks, Fred View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935305#3935305 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3935305 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: New jBPM Getting Started Documentation
But perhaps the "getting started" document should be correct as opposed to wrong? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935304#3935304 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3935304 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: New jBPM Getting Started Documentation
Hi, Thanks very much for a helpful document. However, I have run into some problems and I'd like to know if I'm the only one! First, a simple one: I could not start the jboss server with a simple double-click of run.bat. Instead, I needed to run it manually with arguments. Namely, "run.bat -c jbpm". Without this, the server attempts to start up with the "default" configuration, which does not exist! On my system, this confused things enough that it would not correctly start unless I removed a newly created "default" folder. More importantly, I have not had any luck creating the new process (last part of the tutorial) with eclipse. I was able to install the graphical designer without problems and it seems to work fairly well. But, after following the quick start guide to the letter, I am unable to deploy the result. The jboss log reports validation errors in the XML. Initially I got a complaint about the "send item" task not having swimlane assigned (and sure enough, the document does not say to assign one). Then, after fiddling, both with the graphical tool and directly with the XML, I got various other validation complaints. Again, I'm wondering if I'm the only one to see these problems? Perhaps I've got some mis-matched versions (though all of my downloads have been in the last few days). Any advice would be appreciated. Thanks, Fred View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934966#3934966 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934966 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user