[jboss-user] [JBoss jBPM] - Re: jBPM 4 - Define Exception Handlers

2009-08-21 Thread kukeltje
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

[jboss-user] [JBoss jBPM] - decision node based on data not in task variables

2009-08-21 Thread sravyts
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

[jboss-user] [JBoss jBPM] - after some tests i discovered the true reason of the problem

2009-08-21 Thread shaowenchang
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

[jboss-user] [JBoss jBPM] - Re: BPEL and jBPM4

2009-08-21 Thread kukeltje
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 :

[jboss-user] [JBoss jBPM] - Re: sub process event propagation

2009-08-21 Thread kukeltje
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

[jboss-user] [JBoss jBPM] - Re: jBPM4 - Process Dehydration

2009-08-21 Thread kukeltje
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

[jboss-user] [JBoss jBPM] - Re: Database connection

2009-08-21 Thread kukeltje
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

[jboss-user] [JBoss jBPM] - Re: decision node based on data not in task variables

2009-08-21 Thread kukeltje
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

[jboss-user] [JBoss jBPM] - Re: What is the status of PVM in JBPM?

2009-08-21 Thread kukeltje
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

[jboss-user] [JBoss jBPM] - Re: BPEL and jBPM4

2009-08-21 Thread npirard
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

[jboss-user] [JBoss jBPM] - Re: jBPM4 Hello World example - null pointer exception

2009-08-21 Thread kukeltje
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 :

[jboss-user] [JBoss jBPM] - Re: extending tasks

2009-08-21 Thread sravyts
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 :

[jboss-user] [JBoss jBPM] - Re: jBPM4 - Task Escalation with Timer

2009-08-21 Thread kukeltje
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 :

[jboss-user] [JBoss jBPM] - Re: decision node based on data not in task variables

2009-08-21 Thread sravyts
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

[jboss-user] [JBoss jBPM] - Re: JBPM4 Spring-Hibernate Integration

2009-08-20 Thread faisalgeek
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

[jboss-user] [JBoss jBPM] - And this excepton too.

2009-08-20 Thread faisalgeek
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

[jboss-user] [JBoss jBPM] - Re: JBPM4 Spring-Hibernate Integration

2009-08-20 Thread faisalgeek
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

[jboss-user] [JBoss jBPM] - HistoryActivity and HistoryTask Join

2009-08-20 Thread gleenders
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

[jboss-user] [JBoss jBPM] - Re: variable resolver

2009-08-20 Thread sravyts
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

[jboss-user] [JBoss jBPM] - Re: Concurrency/Async

2009-08-20 Thread mmusaji
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 :

[jboss-user] [JBoss jBPM] - JBPM application

2009-08-20 Thread Kruno
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

[jboss-user] [JBoss jBPM] - jBPM4 - Task Escalation with Timer

2009-08-20 Thread djcye
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

[jboss-user] [JBoss jBPM] - Re: And this excepton too.

2009-08-20 Thread kukeltje
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

[jboss-user] [JBoss jBPM] - Re: HistoryActivity and HistoryTask Join

2009-08-20 Thread kukeltje
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

[jboss-user] [JBoss jBPM] - Re: variable resolver

2009-08-20 Thread kukeltje
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 :

[jboss-user] [JBoss jBPM] - Re: Concurrency/Async

2009-08-20 Thread kukeltje
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

[jboss-user] [JBoss jBPM] - Re: Concurrency/Async

2009-08-20 Thread kukeltje
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 :

[jboss-user] [JBoss jBPM] - Re: Concurrency/Async

2009-08-20 Thread mmusaji
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

[jboss-user] [JBoss jBPM] - Re: Concurrency/Async

2009-08-20 Thread kukeltje
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

[jboss-user] [JBoss jBPM] - Re: variable resolver

2009-08-20 Thread sravyts
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

[jboss-user] [JBoss jBPM] - Jbpm authentication/user management with LDAP

2009-08-20 Thread mfraz
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

[jboss-user] [JBoss jBPM] - Re: Using LDAP: can't assign tasks to users in group ...

2009-08-20 Thread mfraz
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 :

[jboss-user] [JBoss jBPM] - Re: Jbpm authentication/user management with LDAP

2009-08-20 Thread sebastian.s
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:

[jboss-user] [JBoss jBPM] - Re: Using LDAP: can't assign tasks to users in group ...

2009-08-20 Thread sebastian.s
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

[jboss-user] [JBoss jBPM] - Re: jBPM4 - Task Escalation with Timer

2009-08-20 Thread kukeltje
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 :

[jboss-user] [JBoss jBPM] - Re: jBPM4 - Task Escalation with Timer

2009-08-20 Thread kukeltje
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 :

[jboss-user] [JBoss jBPM] - Re: variable resolver

2009-08-20 Thread kukeltje
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 :

[jboss-user] [JBoss jBPM] - Re: Using LDAP: can't assign tasks to users in group ...

2009-08-20 Thread kukeltje
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 ___

[jboss-user] [JBoss jBPM] - BPEL and jBPM4

2009-08-20 Thread npirard
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

[jboss-user] [JBoss jBPM] - What is the status of PVM in JBPM?

2009-08-20 Thread dinosaurus
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?

[jboss-user] [JBoss jBPM] - Getting a list of available signals

2009-08-20 Thread dinosaurus
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 :

[jboss-user] [JBoss jBPM] - Re: Getting a list of available signals

2009-08-20 Thread dinosaurus
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

[jboss-user] [JBoss jBPM] - Re: jBPM4 - Task Escalation with Timer

2009-08-20 Thread djcye
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

[jboss-user] [JBoss jBPM] - Re: jBPM4 - Task Escalation with Timer

2009-08-20 Thread djcye
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

[jboss-user] [JBoss jBPM] - jBPM4 Hello World example - null pointer exception

2009-08-20 Thread dw...@memc.com
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

[jboss-user] [JBoss jBPM] - jBPM 4 - Define Exception Handlers

2009-08-20 Thread djcye
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

[jboss-user] [JBoss jBPM] - jBPM4 - Process Dehydration

2009-08-20 Thread djcye
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 :

[jboss-user] [JBoss jBPM] - Re: BPEL and jBPM4

2009-08-20 Thread steeqs4
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,

[jboss-user] [JBoss jBPM] - Re: Getting a list of available signals

2009-08-20 Thread rams.rapo
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

[jboss-user] [JBoss jBPM] - Re: JBPM4 Spring-Hibernate Integration

2009-08-20 Thread rams.rapo
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

[jboss-user] [JBoss jBPM] - Re: HistoryActivity and HistoryTask Join

2009-08-20 Thread rams.rapo
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

[jboss-user] [JBoss jBPM] - Re: extending tasks

2009-08-20 Thread rams.rapo
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

[jboss-user] [JBoss jBPM] - Re: sub process event propagation

2009-08-20 Thread aapthorp
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 :

[jboss-user] [JBoss jBPM] - Re: HistoryTask worthless... or is it me?

2009-08-20 Thread unsavory
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

[jboss-user] [JBoss jBPM] - Confusing regarding unit test

2009-08-19 Thread sebastian.s
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

[jboss-user] [JBoss jBPM] - Re: Confusing regarding unit test

2009-08-19 Thread sebastian.s
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 :

[jboss-user] [JBoss jBPM] - variable resolver

2009-08-19 Thread sravyts
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 :

[jboss-user] [JBoss jBPM] - Re: Passing objects through the workflow

2009-08-19 Thread mmusaji
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

[jboss-user] [JBoss jBPM] - Re: Confusing regarding unit test

2009-08-19 Thread npirard
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); |

[jboss-user] [JBoss jBPM] - Re: Confusing regarding unit test

2009-08-19 Thread npirard
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 ___

[jboss-user] [JBoss jBPM] - Re: Confusing regarding unit test

2009-08-19 Thread sebastian.s
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 :

[jboss-user] [JBoss jBPM] - Linking JBPM processes with external entities

2009-08-19 Thread dinosaurus
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

[jboss-user] [JBoss jBPM] - Re: Confusing regarding unit test

2009-08-19 Thread npirard
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 :

[jboss-user] [JBoss jBPM] - Re: HistoryTask worthless... or is it me?

2009-08-19 Thread kukeltje
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

[jboss-user] [JBoss jBPM] - Re: Problems with indexes in jbpm.history.hbm.xml

2009-08-19 Thread kukeltje
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 ___

[jboss-user] [JBoss jBPM] - Re: jBPM 4.0 and

2009-08-19 Thread kukeltje
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

[jboss-user] [JBoss jBPM] - Re: variable resolver

2009-08-19 Thread kukeltje
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 :

[jboss-user] [JBoss jBPM] - Re: Passing objects through the workflow

2009-08-19 Thread kukeltje
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 ___

[jboss-user] [JBoss jBPM] - Re: Passing objects through the workflow

2009-08-19 Thread kukeltje
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

[jboss-user] [JBoss jBPM] - Re: Confusing regarding unit test

2009-08-19 Thread kukeltje
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

[jboss-user] [JBoss jBPM] - Re: Linking JBPM processes with external entities

2009-08-19 Thread kukeltje
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

[jboss-user] [JBoss jBPM] - Re: Confusing regarding unit test

2009-08-19 Thread sebastian.s
Okay I changed my unit test to this: | public void testWaiteStateAndJavaTask() { | ProcessInstance processInstance = executionService.startProcessInstanceByKey(task_types); | Execution execution = processInstance.findActiveExecutionIn(state1); |

[jboss-user] [JBoss jBPM] - Re: Linking JBPM processes with external entities

2009-08-19 Thread dinosaurus
- 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

[jboss-user] [JBoss jBPM] - Implementing concurrent dynamic tasks in jbpm4

2009-08-19 Thread mwohlf
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

[jboss-user] [JBoss jBPM] - JBPM4 Spring-Hibernate Integration

2009-08-19 Thread faisalgeek
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.

[jboss-user] [JBoss jBPM] - Concurrency/Async

2009-08-19 Thread mmusaji
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

[jboss-user] [JBoss jBPM] - Re: Concurrency/Async

2009-08-19 Thread mmusaji
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

[jboss-user] [JBoss jBPM] - Re: JBPM4 Spring-Hibernate Integration

2009-08-19 Thread bestage
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 :

[jboss-user] [JBoss jBPM] - Re: Concurrency/Async

2009-08-19 Thread mwohlf
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) |

[jboss-user] [JBoss jBPM] - Re: jBPM 4.0 and

2009-08-19 Thread hwa
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 :

[jboss-user] [JBoss jBPM] - Re: Problems with indexes in jbpm.history.hbm.xml

2009-08-19 Thread hwa
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; | |

[jboss-user] [JBoss jBPM] - Re: Problems with indexes in jbpm.history.hbm.xml

2009-08-19 Thread hwa
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

[jboss-user] [JBoss jBPM] - Re: Linking JBPM processes with external entities

2009-08-19 Thread kukeltje
- 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

[jboss-user] [JBoss jBPM] - Re: jBPM 4.0 and

2009-08-19 Thread kukeltje
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 :

[jboss-user] [JBoss jBPM] - Re: Problems with indexes in jbpm.history.hbm.xml

2009-08-19 Thread kukeltje
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

[jboss-user] [JBoss jBPM] - Re: Problems with indexes in jbpm.history.hbm.xml

2009-08-19 Thread kukeltje
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

[jboss-user] [JBoss jBPM] - Re: Implementing concurrent dynamic tasks in jbpm4

2009-08-19 Thread kukeltje
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 :

[jboss-user] [JBoss jBPM] - Re: jBPM 4 reminders

2009-08-19 Thread kukeltje
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

[jboss-user] [JBoss jBPM] - Re: Concurrency/Async

2009-08-19 Thread kukeltje
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

[jboss-user] [JBoss jBPM] - Decorating a Task on entering a Node

2009-08-19 Thread rmoskal
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

[jboss-user] [JBoss jBPM] - Re: Problems with indexes in jbpm.history.hbm.xml

2009-08-19 Thread mr_magoo
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

[jboss-user] [JBoss jBPM] - Re: Problems with indexes in jbpm.history.hbm.xml

2009-08-19 Thread kukeltje
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

[jboss-user] [JBoss jBPM] - Re: Decorating a Task on entering a Node

2009-08-19 Thread kukeltje
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

[jboss-user] [JBoss jBPM] - Solution: Large numbers of jobs in JOB table causes major sl

2009-08-19 Thread mr_magoo
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

[jboss-user] [JBoss jBPM] - Re: Problems with indexes in jbpm.history.hbm.xml

2009-08-19 Thread hwa
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

[jboss-user] [JBoss jBPM] - Re: Problems with indexes in jbpm.history.hbm.xml

2009-08-19 Thread hwa
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

[jboss-user] [JBoss jBPM] - Re: JBPM4.0 Oracle Parent Key Not Found Error

2009-08-19 Thread hwa
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 :

[jboss-user] [JBoss jBPM] - Solution: JBPM3 and Spring Integration

2009-08-19 Thread mr_magoo
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

[jboss-user] [JBoss jBPM] - Re: Solution: JBPM3 and Spring Integration

2009-08-19 Thread mr_magoo
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

[jboss-user] [JBoss jBPM] - Re: Solution: JBPM3 and Spring Integration

2009-08-19 Thread mr_magoo
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   2   3   4   5   6   7   8   9   10   >