And I found this: https://jira.jboss.org/jira/browse/JBPM-2028
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250808#4250808
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250808
Hello,
I'm strugling with the conversion from jbpm3 to jbpm4 in our application:
I'm trying to find a workaround for not being able to configure a custom
Variable Resolver (we need to make decisions based on data that is not stored
in taks variables but in our own datastore)
I was thinking
Exception in thread JbpmCommandExecutor java.lang.NoClassDefFoundError:
org/hibernate/Session
at
org.jbpm.persistence.db.DbPersistenceServiceFactory.openService(DbPersistenceServiceFactory.java:55)
at org.jbpm.svc.Services.getService(Services.java:136)
at
jBPM4 does not have bpel, nor will it. The choice was made to go a different
direction for bpel: https://www.jboss.org/riftsaw
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250811#4250811
Reply to the post :
the on event= makes it directional in 4, the event type=... in 3
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250812#4250812
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250812
In jBPM 4, they are by default in the DB
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250814#4250814
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250814
___
jboss-user mailing
so?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250815#4250815
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250815
___
jboss-user mailing list
jboss-user@lists.jboss.org
Sofie,
Read the userguide about decisions and use the 'handler' solution
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250816#4250816
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250816
The position of the PVM has not changed, it just does not have a separate
project anymore.
jBPM is the project. It contains several 'modules' jPDL and BPMN2 (under
development) are process 'languages' based on the PVM which is another one of
these 'modules'. The PVM can be used completely
steeqs4, if you could answer, I would be interested in what you did with
Glassfish/BPEL, since Glassfish is my target :
_ did you need additional components to Glassfish ? like OpenESB ?
_ does your solution have a persistence service ? (or something that remembers
when a process was stopped
My suggestion would be to at post a stacktrace and read
http://www.jboss.org/index.html?module=bbop=viewtopict=158610
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250820#4250820
Reply to the post :
We don't want to create custom tasks, we want to extend the task object's data
model.
So it is not the execution we want to change, but the actual task persisted
data model.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250829#4250829
Reply to the post :
djcye,
It is very hard for us to understand everything if we just see snippets/partial
stacktraces etc... please make a unittest as described in
http://www.jboss.org/index.html?module=bbop=viewtopict=158610 so we can have
a better look and mayve try ourselves.
View the original post :
Of course I have done this extensively before posting to this mailing list.
But this solution isn't working for me because i don't know the names of the
transitions in the handler class. We are trying to build a generic system (we
create processdefinitions on the fly) and cannot create specific
I done the config that told in Adre Inze's tutorial, but getting the following
exception.
org.jbpm.api.JbpmException: No platformTransaction manager defined.
at
org.jbpm.pvm.internal.tx.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:60)
at
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'jbpmSessionFactory' defined in class path resource
[com/netsol/unittest/config/applicationContext.xml]: Invocation of init method
failed; nested exception is org.hibernate.MappingException: proxy class not
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'jbpmSessionFactory' defined in class path resource
[com/netsol/unittest/config/applicationContext.xml]: Invocation of init method
failed; nested exception is org.hibernate.MappingException: proxy class not
Hi,
I need to display information based on a join between the JBPM4_HIST_TASK table
en the JBPM4_HIST_ACTINST table.
Via the API its possible to query them both separately, but joining the List
results afterward is a big detour.
Is there a way to achieve this via the API?
(Its easy to do it via
We want to create condition expressions on data that is not stored in task
variables but in our own datastore. So we need to influence the way variables
are resolved (this was perfectly ok how it worked in jbpm3:
extending JbpmVariableResolver and retrieving the variables from our
I think I need to look in to how to use the jobexecutor.
I guess what I was asking and looking for confirmation for is that the fork in
a workflow can indeed spawn concurrent processes and then join, and that they
are not done in sequence if set up correctly?
View the original post :
I am using jboss 4.2.2 , jbpm 3.2.6.SP1.
I have installed jbpm in jboss through installer, configured jbpm to use
postgresql,
installed graphical designer in eclipse, jbpm-console works fine, made my own
processes and test run them trough jbpm-console.
Now I have my enterprise application, and
Hi,
i try to figure out how to implement a time related reassignment of a task.
had someone already success in implementing this ?
currently working on:
first idea: use the assignmenthandler.. but i cant put it in the context of a
timer..
second idea: use a second (java) node to reassing the
PLEASE STFF
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250577#4250577
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250577
___
jboss-user mailing list
Not as far as I know. Since this task/history thing is still under development
(see the jira issue for it), I suggest describing in a little more detail what
you want to display and if it is a generic thing, maybe it can be incorporated
in the form of a specific command and a named query or
I'd hope 'extending the resolver' would incorporate making it configurable as
well. Please add a comment to the specific jira issue and refer to this post.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250581#4250581
Reply to the post :
Correct.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250582#4250582
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250582
___
jboss-user mailing list
jboss-user@lists.jboss.org
But keep in mind that it could be that it is not fully concurrent if there are
other long runnin jobs in between and the number of threads is limited.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250584#4250584
Reply to the post :
Thanks again guys.
I've included the jobexecutor in my jbpm.cfg.xml and it now kicks off
Validate1, Validate2 and Validate3 at the same time, which is what I wanted.
However, it doesn't seem to hit the join and seems to end when there are no
more jobs?
I'm going to try and answer my own
No, with custom nodes you are responsible for making it leave the node in your
java classes. See the testcases in the source for examples.
Event-listener/wait-state should not be needed.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250601#4250601
Reply to
I can't seem to find the jira issue you are talking about?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250607#4250607
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250607
I have deployed Jbpm on Tomcat. I want to hook up the JBPM user management with
an active directory preferably with LDAP.
IS there any out of Box support available? If not please mention what are the
steps to acheive this.
I have searched the forum posts by Ronald and other guys
View the
Could you please elaborate your implementation steps. I also want to
authenticate JBPM users from LDAP.
Please mention steps of your own implementation of the ExpressionSession
interface, as well as the AssignmentHandler.
View the original post :
http://docs.jboss.org/jbpm/v4.0/devguide/html_single/#customizingtheidentitycomponent
I think there is no out-of-the-box solution available for this.
Since you are using TomCat and not JBossAS you can't use JBoss IDM (AFAIK). But
maybe you could write a LDAP client which implements:
I'd also appreciate it if you shared your experience since I might also be
interested in this.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250620#4250620
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250620
in a delegationclass (e.g. actionhandler within a time) you can do something
like
context.getToken().getNode()
and if it is a tasknode do everything with it...
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250627#4250627
Reply to the post :
oeps. my proposal was for 3... not sure for 4 though I think the api should
have something, just not played with this
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250628#4250628
Reply to the post :
It is indeed kind of hidden: This was what I was talking about:
https://jira.jboss.org/jira/browse/JBPM-2203
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250625#4250625
Reply to the post :
This was jBPM 3 I think, different way of implementing it.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250626#4250626
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250626
___
Hello,
sorry if I overlooked something somewhere, but it seems the latest doc on BPEL
and jBPM only mentions jBPM v3
plus it is BPEL version 1.1
when I looked in the forum I did not find any clear references with BPEL and
JBPM 4
in JIRA I think next version for BPEL is 1.2
I'd like to ask about the current status of the PVM project. Currently it seems
like there is no separate PVM project and all PVM sources reside under JBPM
trunk. Could you please provide more information on how the PVM is positioned
now? Is it possible to use PVM separately from JBPM?
Before calling ExecutionService.signalExecutionById(processInstance.getId(),
signalName) in my application I'd like to show a combobox to the user with the
list of all possible signal names. Could you please advice how can I obtain a
list of signals?
Thanks
View the original post :
Just forgot to mention that I use JBPM 4.0
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250661#4250661
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250661
___
jboss-user
i studied the docs and the only way to assign tasks is through the TaskService
or the assignmentHandler. i tried to put the assignmenthandler inside a
timeout event section but that isnt valide.
well i also tried to use the eventhandler approach (to use the TaskService)
without success. All
sry, ignore the so the only option i see is to put the.. at the moment i see
none XD
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250663#4250663
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250663
I am working through the jbpm4 hello world example,
I am getting a null pointer exception when executing:
repositoryService.createDeployment()
.addResourceFromClasspath(helloWorld.jpdl.xml)
.deploy();
Any suggestions?
Also, is there a book or an article that goes into depth on how to set up
Hi,
is it possible to define exceptionhandlers in the process ? is there an example
available ?
only found this to jbpm3:
http://www.mastertheboss.com/en/jbpm/106-jbpm-best-practices.html
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250707#4250707
Reply to
Hi,
are concepts like dehydration supported ? (to put long running process
instances out of mem, inside the db)
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250711#4250711
Reply to the post :
I have the same question. I'm trying to migrate some customers using
Glassfish/BPEL to JBoss/jBPM. Having BPEL support in JBoss is important for the
migration. In the long run we want to move everyone to BPMN so I want to start
with jBPM v4 which is the first version to support BPMN. However,
get list of tasks for your given process instance and then pass task db id to
taskService.getOutcomes(...)
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250749#4250749
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250749
i think you have to remove reference to jbpm.jpdl.hbm.xml..there were previous
posts on the same.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250750#4250750
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250750
looking forward to history stuff in next release..for now using custom queries
to get information..
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250751#4250751
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250751
with jbpm4, you can use custom-task or extend TaskActivity class
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250754#4250754
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250754
Just thinking through the behaviour I'm looking for I realise that once the
event is propagated up it needs to be detected / signal a particular node in
the super-process. Is there an obvious way of doing this in jBPM?
View the original post :
Thank you for pointing this out.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250774#4250774
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250774
___
jboss-user mailing list
Good morning!
I am a bit confused regarding a process and a unit test of mine. This is my
process:
| ?xml version=1.0 encoding=UTF-8?
|
| process key=task_types name=task_types
xmlns=http://jbpm.org/4.0/jpdl;
|start g=95,26,48,48 name=start1
| transition g=-26,-29 name=to
It's annoying that one cannot edit and correct posts in the forums. The title
should be Confusion regarding unit test. :)
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250298#4250298
Reply to the post :
Hello,
In jbpm3 there was the possibility to plugin your own variable resolver.
Will this be possible in jbpm 4 as well?
Wkr,
Sofie
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250305#4250305
Reply to the post :
As I am new to jBPM I was wondering from my workflow if there was anything you
could suggest that would improve it?
I have no wait states and thus all the java nodes will probably end up being
custom nodes passing an object from one to the other till the end. Is this ok?
View the original
I tried the your code, got the same result and got confused a bit
but then I tried :
| ProcessInstance processInstance =
executionService.startProcessInstanceByKey(task_types/*, variables*/);
| Execution execution =
processInstance.findActiveExecutionIn(state1);
|
PS : not sure this is the intended behaviour, though ?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250339#4250339
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250339
___
I expected the process to have reached the task custom1. So this task should be
in the list of active activities. state1 should not be active anymore since I
sent the signal which makes task1 take the default transition.
View the original post :
Hello,
We have a legacy system which uses Hibernate and JBPM for tracking entity state
in workflow. E.g. we have Offer business entity which is processed through an
approval cycle.
In our entity we have a process id field/property which points to the process
instance it is bound to. Every
IMHO, state 1 is not active anymore, but the instance of ProcessInstance you
use is obsolete at the end, there is a need to obtain a newer instance
what I question is wether the fact that instances of ProcessInstance get
obsololete is intended or not
View the original post :
please search the jira. Have been issues reported against this and since it
was/is new functionality, it was not fully developed yet. So yes, you are
right, but on the other hand not ;-)
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250365#4250365
Reply to
Can you make a unit test that demonstrates the problem?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250368#4250368
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250368
___
what is: 'does not work'? Please be more specific in providing unittests
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250369#4250369
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250369
There is a jira issue about extending the resolver, not sure about makeing it
configurable. What are you looking for?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250370#4250370
Reply to the post :
If it does the job, scales well, I would change nothing
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250371#4250371
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250371
___
or is it 'I wouldn't change anything'?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250372#4250372
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250372
___
jboss-user mailing
What you get back is not a reference to something but the thing that is active
at the time you requested it (disconnected). The behaviour of jBPM is as
expected. Same is true for tasklists etc.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250373#4250373
what version? In 3 you can get a hibernate session and do whatever you want. in
4 there are query api's.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250374#4250374
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250374
Okay I changed my unit test to this:
| public void testWaiteStateAndJavaTask() {
| ProcessInstance processInstance =
executionService.startProcessInstanceByKey(task_types);
| Execution execution =
processInstance.findActiveExecutionIn(state1);
|
- We're planning to use JBPM 4.0 but I see no possibility to do mentioned above
queries using query API. I see only ProcessInstanceQuery class providing very
basic functionality. Or You meant some other API, are You?
- If I do queries through Hibernate session I'll be automatically dependent on
I try to implement Pattern 15 in jbpm4
http://www.workflowpatterns.com/patterns/control/multiple_instance/wcp15.php
Multiple Instances without a priori Run-Time Knowledge
try 1)
I use a custom implementation of ExternalActivityBehaviour, that basically just
waits for signals to spawn off dynamic
Hello,
I am using JBPM4 in my application that is already using integrated
Spring+Hibernate, web based.
I have read the following guides about jbpm4 to integrate into spring, but not
successful.
1. http://www.inze.be/andries/2009/05/16/demo-on-spring-integration-with-jbpm4/
2.
I've done quite a bit of searching and reading on asynchronous processes in
jbpm, and I'm slightly confused as to whether or not JBPM 4.0 can handle
parallel processes? (not parallel business processes).
My unit test calls 3 processes which should be started by the workflow
independently of
Apologies for the rubbish thread title. It should read Concurrency/Async Unit
test case query.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250421#4250421
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250421
Well, you should specify some more details if you expect to get help here.
I tried out jBPM4 with Spring using Adre Inze's tutorial too and had no
problems at all.
So the problem may be in your project setup. Maybe some dependencies are
missing.
View the original post :
Hi mmusaji,
if my understanding of the job scheduler is correct, the execution time for
your unit test is 11 sec?
Maybe you should use threads like so (not tested):
| ListJob jobs = managementService.createJobQuery()
| .processInstanceId(processInstanceId)
|
Does not work is everything I wrote in the first post of this thread. I have
task nodes with users specified in the assignee field and that is creating the
problems I see where it give me the SEVERE error: Table 'jbpm4_deployment'
already exists
View the original post :
Oh, and I forgot to include my jbpm.hibernate.cfg.xml:
| ?xml version=1.0 encoding=utf-8?
|
| !DOCTYPE hibernate-configuration PUBLIC
| -//Hibernate/Hibernate Configuration DTD 3.0//EN
|
http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd;
|
|
Test cases that demonstrates the two situations with the same db error
messages: one without the Java node (which prints out errors but continues the
workflow process without any blocking issues), another with the Java node
(which prints out errors and gets stuck in infinite loop while
- I never mentioned that the query api's would do what you need, I just wanted
to point at the differences between 3 and 4
- Custom queries through sessions are not supported on jbpm4 yet (not sure if
they will be or if the query api will/need to be extended.
- Correct, see previous statement
kukeltje wrote : what is: 'does not work'? Please be more specific in
providing unittests
I'm not going to try to reproduce in any other way.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250480#4250480
Reply to the post :
uhmm. you use the class that is your 'test app' also as the
actionhandler and you do a lot of work in the constructor. Now that is an
obvious explanation why you see the loop. since each time your actionhandler is
called it is constructed and starts a new process etc... so it is
oh, and since you have 'create-drop' in your hibernate file it may become even
worse.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250482#4250482
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250482
maybe something like
./modules/test-db/src/test/java/org/jbpm/test/task/SubTaskTest.java
can help until the 'foreach' jira issue is closed
You can buy me a beer when the next jBPM community day is organized in Berlin
or Stuttgart by Bernd...
View the original post :
Thanks Alex... sorry for the late response :-)
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250484#4250484
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250484
___
jboss-user
This way you do not yes the jobexecutor, but jus execute them in sequence.
Markus/Mathias/Manfred/... ? correctly notices that, but instead of really
using the jobexecutor
See http://docs.jboss.com/jbpm/v4.0/devguide/html_single/#jobexecutor
In the examples there are executed programatically
When I enter a task node I'd like to be able to decorate the created task with
certain variables right after creation and assignment. I have all this
happening in a task like so.
task assignee=#{SKYLINE_ASSIGNEE} g=221,208,92,52 name=Work
| transition g=-44,-26 name=to Escalate
Not sure if this is helpful but I ran across similar installation issues myself
when trying to install jbpm4 while still having jbpm3 installed. I had assumed
that since the two were stated as being able to run side by side they should
not have overlapping index names.
Nope. They do. Worked it
hmmm... oracle as well? I've not seen errors regarding this in my MySQL
instance.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250499#4250499
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250499
By using the task service or the query api on the taskservice...
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4250500#4250500
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250500
Environment:
Oracle with jbpm3, db message queue and async processing.
Problem:
During high volume processing (such as our overnight soak test) the job queue
can fill up.
The job executor synchronises the code in the method acquireJobs which in
turn executes the query:
| select job from
kukeltje wrote : uhmm. you use the class that is your 'test app'
also as the actionhandler and you do a lot of work in the constructor. Now
that is an obvious explanation why you see the loop. since each time your
actionhandler is called it is constructed and starts a new
hwa wrote : kukeltje wrote : uhmm. you use the class that is
your 'test app' also as the actionhandler and you do a lot of work in the
constructor. Now that is an obvious explanation why you see the loop. since
each time your actionhandler is called it is constructed and starts
jbarrez wrote : anonymous wrote : I'm using jBPM 4.0 CR1 with Oracle10g,
running on JBoss 5.1.0GA.
|
| Have you tried with 4.0GA already? Been out for a month now.
|
Okay, I don't see this problem anymore with 4.0GA. Thanks.
View the original post :
I thought I would pass on some of the hard one lessons here to help people
avoid some of the pain I have had to go through. While I think my scenario is
perhaps not one that jbpm has in mind specifically, I fear that it is quite a
typical scenario in the wild.
Also I think someone else might
The problem to point out is the job executor thread. The overrided example
given does not synchronise the acquire jobs properly. This means that there
will be a race condition in the acquire jobs thread between the acquireJobs
synchronized block in JobExecutorThread and the unsynched one in
Note that because of the use of the transaction template, hibernate will assume
that any staleobject exception coming out of the commit is an error. It will
log and throw this exception.
Personally I think this is very bad form in a library! :) In a multi-instance
environment you will have to
1 - 100 of 18589 matches
Mail list logo