[jboss-user] [jBPM Users] - Re: HELP ME with process Java Hello World

2009-11-30 Thread jbarrez
I'm guessing that the class you're calling in your process isn't on the 
classpath of the console.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268052#4268052

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268052
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: jBPM-4.2 Remote API problem?

2009-11-30 Thread jbarrez
Probably you are missing 



in your config. It should be automatically discovered when using 
jbpm.default.cfg.xml


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268049#4268049

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268049
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: EventListener questions

2009-11-13 Thread jbarrez
@Sebastian: I'm not sure if this is the intended behaviour. Can you create an 
issue with your process + unit test and assign it to me? This way I can pick it 
up later.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265448#4265448

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265448
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: How to model Rework senario in JBPM

2009-11-13 Thread jbarrez
What do you mean by 'stuck'? What is the code of your custom activity?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265444#4265444

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265444
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Configure another scripting language

2009-11-13 Thread jbarrez
That's indeed the way to do it. Change the config of the script-manager and add 
the required libs. Don't forget to add the 'lang' attribute where needed.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265443#4265443

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265443
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: JBPM 4.0 on DB2

2009-11-13 Thread jbarrez
@Sebastian: We were using DB2 on Red Hat on a Blade cluster. For Hibernate we 
were using the default DB2 dialect.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265441#4265441

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265441
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Taskforms in own GWT application

2009-11-13 Thread jbarrez
@Johan: The freemarker templating is still basic (only IO from the user).

If you want to incorporate the taskforms in your own app, the best place to 
start is the BPMC svn. It lives under 'soag' in the JBoss svn repo.

Widgets/wizards are not supported (yet), but I'll take this input to the BPMC 
team.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265440#4265440

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265440
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: JBPM process timers in Multi Server deployment -3.2.6

2009-11-13 Thread jbarrez
@Sarish: it's hard to diagnose the problem, especially when you're using a 
clustered env.

Besides the exceptions, is the timer actually working? 

Could be a that two nodes are trying to access the timer and one needs to back 
off (hence the Stale Object exception).

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265439#4265439

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265439
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: JpdlProcessDefinition cannot be cast to java.util.List

2009-11-04 Thread jbarrez
Normally, the real cause should be shown somewhere down in the stacktrace (but 
as you stated, this is missing)?

Have you tried the process against the 4.3 trunk?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263953#4263953

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263953
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: EventListener questions

2009-11-04 Thread jbarrez
anonymous wrote : I have to say that I don't understand the workaround you have 
proposed. I've been re-thinking this and it came to my mind that thinking in a 
transition-wise way actually I would have to get the activitiy the transition 
originates from and than retrieve the corresponding task since it's an activity 
of type task, right? 

Yes, you're correct. But this doesn't simplify the problem

anonymous wrote : Could you try to explain your proposition a bit more?

I was thinking something simple: attach an eventlistener to the task-end event. 
When the eventlistener is called, it simply sets the current task 
name/id/whatever as a process variable.

In the next task you can use this variable. 

Like a said, this is a quick hack-aroo solution which can work until we enlarge 
the history event capabilities

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263949#4263949

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263949
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: JpdlProcessDefinition cannot be cast to java.util.List

2009-11-04 Thread jbarrez
So if I see it correctly, the error happens when starting a new process 
instance, the process definition isn't found in the repositorycache, which 
actually triggers the deployment again.

So far this is acceptable. Could you post your process?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263939#4263939

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263939
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: JBPM 4.1 Web Console - Any advice for customization?

2009-11-04 Thread jbarrez
You can always try to explain your use cases in the BPM console (BPMNC) 
console. If your use case is general enough, it might end up in the official 
release, without you having to resort to custom coding.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263938#4263938

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263938
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: EventListener questions

2009-11-04 Thread jbarrez
Getting the previous task is indeed tricky. Because it depends on what you call 
'previous'. The previous one in the process, transition-wise (as you state). Or 
is it the previous task that has been done by the same assignee (easy to 
retrieve) in potentially some parallel path?

For me it is the latter, but for you obviously it isn't.

A easy workaround is using an eventlistener and storing the 'previous task' as 
a process var ... (or only the id of the historyTask) ... albeit this is just a 
very quick workaround.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263935#4263935

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263935
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: JpdlProcessDefinition cannot be cast to java.util.List

2009-11-04 Thread jbarrez
The error usually meant that there was something wrong with the process xml - 
but I've never seen it being thrown at runtime.

Regarding java activities, there are no limitations for the constructor (as 
long it is the default constructor).

It sure sounds like a strange problem. i'm curious to see what the cause is ;-)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263930#4263930

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263930
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Using Process variables as parameters for method calls

2009-11-03 Thread jbarrez
@Sebastian: Tom ran into a similar issue this morning: 
https://jira.jboss.org/jira/browse/JBPM-2622. Does the issue fit with your 
original problem?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263619#4263619

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263619
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Timer throwing exception intermittently

2009-11-03 Thread jbarrez
If the functionality is as you describe, then it is a bug. Can you debug the 
code and find out why exactly the id is still in the DispatcherThread 
(coincidence?)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263618#4263618

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263618
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Models of integration with JMS

2009-11-02 Thread jbarrez
anonymous wrote : I have found no reference to JMS integration, so I expect I 
would have to write an application which listens for incoming messages, decodes 
them, and invokes the appropriate jBPM workflow.  

Correct. Basically you need a MDB that listens to your queue/topic and calls 
the jBPM service.  I've seen this scenario multiple times out in the wild. jBPM 
is 'just a jar' and as such we don't ship it with JMS listeners etc.

anonymous wrote : Which brings me to the second question, how do you internally 
have workflows respond to a common event. ie, I want to allow workflow 
developers to deploy multiple workflows which all respond to a new file event. 
Is this possible, or would I have to launch all of the required workflows from 
my service, which would mean knowing which workflows need to be executed. 

Unfortunately, there is no such thing currently in JPDL. I know that it a use 
case which tends to pop up sometimes - and it is also defined in BPMN2 spec... 
so my current approach would be to attach in some way or the other metadata 
(perhaps using the process definition key - prefixes or something) to the 
process definitions, which is used when such an event is received.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263572#4263572

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263572
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: EventListener questions

2009-11-02 Thread jbarrez
Sebastion,

anonymous wrote : I have got a question regarding jBPM's behaviour. Assuming I 
have a transition coming from a user task and I put an EventListener on this 
transition: When the transition fires and the EventListener is notified and 
executes is the task already to be found as a HistoryTask? I am asking because 
I would like to access the task object to retrieve some information. 

Conceptually I would say yes: it is only when the task is completed (and 
history is saved) that the transition is taken. Since the same Hibernate 
session is used when taking the transition, it could be not yet persisted but 
you'll find it anyway through the session.

However, I did not test this, the only thing you can try is test it :-)

anonymous wrote : My second question: Is there a way to obtain a reference to 
the HistoryService or TaskService? Or is there a different way to access the 
task object? 

The easiest would be to inject the ProcessEngine or to store the ProcessEngine 
somewhere application-wide to retrieve the services.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263567#4263567

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263567
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: jbpm 4.1 - How to stop these Debug Messages in jboss

2009-11-02 Thread jbarrez
Sebastion is right. Probably you need to change the log level from debug to 
info in server/default/conf/jboss-log4j.xml or log4j.xml in jBPM or 
logging.properties in jBPM.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263566#4263566

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263566
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Using Process variables as parameters for method calls

2009-11-02 Thread jbarrez
Right ... too much forum posts make your head fuzzy (or at least, my head ;-)

Anyway, it should work with 'object' too, as far as I'm concerned. 
@Sebastian: you have a test case I can play with?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263554#4263554

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263554
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Extending timers or creating custom jobs

2009-11-02 Thread jbarrez
All jBPM object are in fact Hibernate objects. So you can simply 
programmatically create a Job with the correct date and save it through the 
hibernate session.

Best approach to this is to write a custom Command and invoke it through the 
CommandService (there are plenty such examples in the source code).



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263553#4263553

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263553
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: JpdlProcessDefinition cannot be cast to java.util.List

2009-11-02 Thread jbarrez
@Sebastian: can you provide the stacktrace when starting a new instance?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263551#4263551

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263551
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: [jBPM 4.1] Signavio editor : default install failed

2009-11-02 Thread jbarrez
Did you try to copy the war on a clean JBoss AS while it is not running and 
starting it then?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263543#4263543

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263543
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Timer throwing exception intermittently

2009-11-02 Thread jbarrez
Could you provide a basic test case for this so we can test it against trunk?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263539#4263539

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263539
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: JBPM 4.1 Web Console - Any advice for customization?

2009-11-02 Thread jbarrez
Depends on what you'll try to achieve with the application.

The console is written with GWT (for questions: see the BPMC forum). Additions 
could be easy, if you know GWT and if the changes are minimal.

Otoh, if you need to integrate eg. a task list in your own application, it 
might be a better idea to use jBPM in the embedded way (ie as a plain jar)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263537#4263537

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263537
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Using Process variables as parameters for method calls

2009-11-02 Thread jbarrez
The expressions looks correct. I'm using a similar one in my train ticket demo:

https://anonsvn.jboss.org/repos/jbpm/projects/demos/trainticket-demo/jbpm-on-rails/trunk/process-logic/src/main/resources/org/jbpm/trainticketdemo/process.jpdl.xml



Where from is a process var.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263536#4263536

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263536
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Conditional Task Assignment with Fork

2009-10-29 Thread jbarrez
Relax .. if you post on Sunday you shouldn't expect people to have reacted a 
lot by Monday ;-)

Regarding your question: No, in jBPM you cannot model 'optional'/'mandatory' 
tasks in the process. However, I'm guessing you can model something alike using 
a decision after the task, a wait state before the join and a custom activity 
which triggers waiting executions. But I haven't thought this through so I 
could be completely wrong here ...

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262930#4262930

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262930
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Using JBPM for document workflow in a Java/Flex CMS soft

2009-10-29 Thread jbarrez
Since jBPM is a plain jar, you an do whatever you want... Also see my post 
http://www.jorambarrez.be/blog/2009/09/13/jbpm_architectural/

The easiest for Flex development, is wrapping jBPM into a service which 
translates input/output to xml... at least that was 2 years ago when I ded some 
Flexing ;-)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262928#4262928

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262928
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: JpdlProcessDefinition cannot be cast to java.util.List

2009-10-29 Thread jbarrez
@bwestrich: indeed, that's a good analysis :-)

We've changed the error message in 4.2 into something more meaningful, because 
we also had trouble interpreting it ;-)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262922#4262922

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262922
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: NullPointerException in JobExecutorMessageSession.send w

2009-10-29 Thread jbarrez
Could you post the exact stacktrace. I've seen the job executor working on 
Spring earlier.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262921#4262921

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262921
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Querying Against Process Variables

2009-10-29 Thread jbarrez
Ronald is right. In many cases, the business key is sufficient and even more 
appropriate to do queries. Do remember that business keys can have any string 
value, so with a bit of thinking chances are that you don't need additional 
variables.

Nonetheless, querying on variables is planned for a next release, but the 
approach will probably be way slower performance-wise compared to using the 
business key.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262920#4262920

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262920
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: [jBPM4.1] Update hibernate-type process variables via fo

2009-10-29 Thread jbarrez
I didn't look into the console implementation, but I'm assuming that if you can 
display the properties correctly, you should also be able to change them 
through the form.

Can you create a Jira issue for this so we can follow it up?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262918#4262918

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262918
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Store long strings as variables

2009-10-29 Thread jbarrez
The problem to make an auto-switch in the engine itself, is that different 
databases tend to have different max lengths for strings ...

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262917#4262917

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262917
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: timer not signalling to right transition

2009-10-29 Thread jbarrez
What happens when you remove the action attached to the timer?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262915#4262915

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262915
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: problem with forks, nodes (abnormally) keep active.

2009-09-17 Thread jbarrez
Paul, couldn't the problem be related to the fact you have 3 forks, but only 2 
joins (ie not nested correctly)?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4255826#4255826

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4255826
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: command service

2009-09-17 Thread jbarrez
@Sofie:

I'm sorry I hadnt read your code good, so you can neglect my previous command.

The problem here is that both the Configuration and ProcessEngine (Both 
interfaces) are mplemented by the SpringConfiguration class. That's why you get 
the exception.

I guess the easiest way to quickly fix this issue is to inject by name instead 
of by type.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4255746#4255746

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4255746
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: startProcessInstanceByKey causing a

2009-09-17 Thread jbarrez
Exactly, without a good explanation is is hard for us to guess what is going 
wrong. There are so many use cases of jBPM out there, multiply this with a 
gazillion ways how people actually implement them and then you understand it is 
hard to guess what actually is going on. That is why we are asking for detailed 
information (db, environment, etc).

I do have a hunch the issue is related to 
https://jira.jboss.org/jira/browse/JBPM-2510. Tom is currently working on a new 
key generator (https://jira.jboss.org/jira/browse/JBPM-2526) which will fix 
this issue (planned for 4.2).

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4255682#4255682

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4255682
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: JBPM 4.x using Sybase ASE 11/12 on Jboss 5.1.0GA

2009-09-17 Thread jbarrez
mmm it seems that the SQL queries that are used are no 'sybase-compatible', 
which could be true since we don't have Sybase in our QA setup (yet). So I'm 
afraid it's a specific Sybase/driver issue here ...

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4255679#4255679

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4255679
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: command service

2009-09-17 Thread jbarrez
The SprinfConfiguration class is an implementation of the ProcessEngine, so you 
shouldn't need to define the processEngine again.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4255671#4255671

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4255671
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Same token seems to be attached to two task instances?

2009-09-17 Thread jbarrez
Which once again proves that no matter how you design applications, end-users 
will always find something to break ;-)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4255667#4255667

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4255667
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Transition Timers Not Marking a Task as Complete

2009-09-17 Thread jbarrez
There is currently a Jira issue made for this feature (and planned for 4.3)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4255664#4255664

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4255664
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: NullPointerException using identityService

2009-09-17 Thread jbarrez
Which is logical, since not every one is using the identityService (so the 
default import does not include it)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4255662#4255662

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4255662
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: JNDI-Lookups for the ProcessEngine in Tomcat

2009-09-17 Thread jbarrez
That's indeed very strange. Do you happen to know which xml libs you needed to 
remove?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4255661#4255661

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4255661
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: JBPM 4.x using Sybase ASE 11/12 on Jboss 5.1.0GA

2009-09-16 Thread jbarrez
I mean this file:

jboss-5.0.0.GA/server/default/deploy/jbpm/jbpm-hsqldb-ds.xml

You need to remove this file and replace it with one suited for your database. 
There are examples in the /doc folder of JBoss, I believe.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4255544#4255544

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4255544
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: JBPM 4.x using Sybase ASE 11/12 on Jboss 5.1.0GA

2009-09-16 Thread jbarrez
The BIRT reporting engine uses a JNDI datasource: java:/JbpmDS. So you'll have 
to change the datasource file that is installed which point by default to the 
hsqldb.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4255530#4255530

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4255530
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: workflow design about wait states

2009-09-15 Thread jbarrez
The issue here is that you have multiple threads, the JUnit thread and the 
JobExecutor thread(s).

The process is started in the JUnit thread until the custom activities in the 
fork are encountered. Jobs are created and put in the database.

These jobs will be picked up by the JobExecutor threads somewhere in the 
future. However, the JUnit thread is still running and reaches the end of the 
method call. The JUnit framework will now kill its ThreadRunner, which also 
kills all spawned processes (Jobexecutor threads). 

The join activity can never ensure here that all threads have finished, for the 
simple reason that the join is potentially never even reached (if the JUnit 
thread finished quickly).

If you want to control your unit test, you must disable the job executor in 
your config and fire the jobs yourself.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4255329#4255329

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4255329
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: JNDI-Lookups for the ProcessEngine in Tomcat

2009-09-13 Thread jbarrez
Sebastion, this is the code that is used in the console to look up the process 
engine:

  | if (processEngine == null) {
  |   synchronized (ProcessEngine.class) {
  | 
  | if (processEngine == null) {
  |   
  |   try {
  | InitialContext ctx = new InitialContext();
  | processEngine = (ProcessEngine) 
ctx.lookup(PROCESS_ENGINE_JNDI_NAME);
  |   } catch (Exception e) {
  | // Fall back to default mechanism which build a procEngine from 
a default jbpm.cfg.xml
  | processEngine = Configuration.getProcessEngine();
  |   }
  |   
  | }
  | 
  |   }
  | 

Since there is no JNDI bound Process Engine in Tomcat, the catch() clause will 
be executed. So deploying a web service on Tomcat, should work.

* Are you using the exact same Tomcat that you get when u use the ant install 
task.

* Is the jbpm jar in the tomcat /lib folder?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4254959#4254959

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4254959
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: JNDI-Lookups for the ProcessEngine in Tomcat

2009-09-12 Thread jbarrez
The ProcessEngine on Tomcat is not bound to JNDI (there is no way to write in 
the JNDI tree of Tomcat, which is possible in JBoss). A solution to this could 
be to register the process engine in the jndi tree by modifying the Tomcat 
config. But that's not a path we want to take, since we want to simplify the 
Process Engine lookup in the future (ie not through JNDI)

The Tomcat integration just gets a default process engine by calling 
Configuration.getProcessEngine(). This will oncstruct a ProcessEngine using a 
jbpm.cfg.xml on the classpath (which is actually in a jar in /lib folder of 
Tomcat). People who want to use the same ProcessEngine, must just call this 
same method.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4254891#4254891

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4254891
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Manager role in Tomcat demo setup

2009-09-10 Thread jbarrez
The 'struggling' guy would be me ;-)

The Realm configuration was a last minute addition just before the 4.1 release. 
I followed the Tomcat doc to get a separate Realm for the jbpm-console (by 
adding a config in /conf/catalina/localhost/jbpm-console), but that didn't 
work. I also tried to narrow the realm to the /jbpm-console path obnly in the 
config, but that didn't work either.

So I picked the easy path... The realm configuration certainly needs a revision 
and I would appreciate any pointers in the right direction, since like I said 
I'm hitting a wall with the official tomcat doc. But I do want us to have a 
separate realm.


To answer your initial question: what about adding a manager role + user with 
that role to JBPM4_ID_GROUP, USER, etc?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4254351#4254351

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4254351
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Error from Fork element with transitions to FreeMarker f

2009-09-09 Thread jbarrez
Oleg could you provide me the complete process?

Since 2 tasks after a fork should simply create 23 separate tasks, with each a 
form attached to it.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4254203#4254203

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4254203
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Question about signavio jbpmeditor

2009-09-04 Thread jbarrez
Signavio uses a local folder to store your process models. 

Can you post the content of of the fileSystemRootDirectory param in the file 
JBOSS_HOME/server/default/deplot/jbpmeditor.war/WEB-INF/web.xml?

For me, this is for example


  | 
  | 
  | 
  | 
  | Filesystem directory that is used to store 
models
  | 
  | fileSystemRootDirectory
  | 
  | 
/home/jbarrez/Desktop/signavio-repository
  | 
  | 
  | 

The installer should create a valid path automatically 
($JBPM_HOME/signavio-repository) normally.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253497#4253497

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253497
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Issue with remote client and JBPM 4.1

2009-09-03 Thread jbarrez
The binding for the Ejb remote command service is in the jbpm.wire.bindings.xml 
file, so the config file is probably missing some imports.

Try to add jbpm.default.cfg.xml, jbpm.jpdl.cfg.xml, etc... and let us know if 
this helps.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253278#4253278

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253278
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: jBPM4 - Remote Service interface

2009-09-03 Thread jbarrez
There should be no problem in running jBPM3 next to jBPM4.

For notifications, you'll need to allow for a unique endpoint for your 
processengine, that's all.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253271#4253271

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253271
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Issue with remote client and JBPM 4.1

2009-09-03 Thread jbarrez
Can you post the content of  remote.client.jbpm.cfg.xml ?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253270#4253270

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253270
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: process definition image

2009-09-02 Thread jbarrez
The console is smart enough to check the package names of the process XML/ 
process image, which allows for multiple processes/images in one .bar.

The g attribute is only storing the x, y of the activity. So you still need the 
image to 'draw' for example the current activity on that image, using the x,y 
from the g attribute.

Ofc, another approach could be that the process is reconstructed using the g 
attribute only (which is exactly what happens when you use Signavio and the 
GPD), but we haven't followed that path yet.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252989#4252989

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4252989
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: jBPM4 - Remote Service interface

2009-09-02 Thread jbarrez
The only downside is that your config is repeated twice (once on tomcat, once 
on JBoss).  

Imo, if there is a communication problem with external systems, than there is a 
problem in the architecture ;-)

The biggest plus for having separate process engines is that each instance can 
be controlled on its on. Say you want to migrate the tomcat version to another 
DB, or upgrade the tomcat version only, than this approach lets you do exactly 
that.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252988#4252988

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4252988
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: [jBPM 4.1] Signavio process editor

2009-09-01 Thread jbarrez
@Sebastian: nice to see that people started downloading the jbpm 4.1 zip even 
if we haven't got an anouncement out yet ;-)

The current Signavio integration is very basic, but it will certainly evolve 
the next months. 

Take a look at the jbpmeditor.war/WEB-INF/web.xml file. There is a 


  | 
  | 
  | Server URL (protocol://domain[:port])
  | 
  | server
  | 
  | http://localhost:8080
  | 
  | 
  | 

in there, which can be modified. If you change that param, the redirection to 
the JPDL editor will get you to the right domain.



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252838#4252838

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4252838
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Error from Fork element with transitions to FreeMarker f

2009-09-01 Thread jbarrez
This is an interesting question. I don't from the top of my head how the 
console will react in this situation. I've added 
https://jira.jboss.org/jira/browse/JBPM-2516 to investigate the problem and 
work out a solution if one is needed.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252835#4252835

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4252835
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: process definition image

2009-09-01 Thread jbarrez
Yes it does. Just add the process image to your deployment:

deployment.addResourceFromClasspath(path/to/your/process/image.png

The console will now display the image + the current activity the process is in.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252833#4252833

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4252833
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: jbpm-destinations-service

2009-09-01 Thread jbarrez
Currently none, but it will be used once we have JMS-based job executor in 
place.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252831#4252831

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4252831
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: jBPM4 - Remote Service interface

2009-09-01 Thread jbarrez
You can use the RemoteCommandExecutor for sure, but the downside of this 
solution is that you can't use the standard API's (executionService, 
taskService, etc).

The REST service offered by the console can be used, but it is by far not as 
powerful as the service API. 

Imo, the easiest approach is constructing a ProcessEngine on Tomcat, where the 
jbpm config is pointing to the same DB as the one on JBoss.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252829#4252829

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4252829
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Process definition xml

2009-09-01 Thread jbarrez
@Gert: this is an interesting suggestion, the mapping could be provided by the 
framework itself. Can you file an issue in Jira exactly describing what would 
be the easiest solution for you, so we can discuss/plan it?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252826#4252826

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4252826
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Jbpm integration transaction problem

2009-09-01 Thread jbarrez
I don't see how this is a jBPM error:

"org.hibernate.exception.GenericJDBCException: Cannot open connection"

Did you check all the connection settings?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252825#4252825

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4252825
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: how to differentiate different ends ?

2009-09-01 Thread jbarrez
Imo, this should be accessible through the API. Added 
https://jira.jboss.org/jira/browse/JBPM-2515 .

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252823#4252823

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4252823
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: How to control process transition in JBPM 4.0?

2009-08-27 Thread jbarrez
Ronald has pointed out already that your process will always continue if you 
use a 'java' task. It's not for nothing the 'java' task is listed under 
automatic activitites.

If you want to halt process execution, you need to use wait states or tasks. 
These will halt your process until you trigger them to continue.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251967#4251967

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4251967
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-08-26 Thread jbarrez
@MrMagoo: there are a lot of people who are using the Spring integration 
without problems, so don't feel cheap ;-)

Do keep us posted on your progress, I'm interested in seeing in what area we 
can improve things.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251817#4251817

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4251817
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: JBPM4 with MS SQL Server Issues

2009-08-26 Thread jbarrez
As Ronald states, we don't test jBPM against MS SQL. At least not at this 
point, perhaps in the future we might. Out first goal is covering every DB of 
the JBoss SOA-Platform.

For Sybase we are indeed using the jTDS drivers.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251815#4251815

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4251815
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: JBPM Java Task return value

2009-08-26 Thread jbarrez
When you take a look at the source class at top of your stacktrace, you'll see 
that this exception occurs when the execution is null. Ie your process instance 
or subexecution does not exist (anymore). As Ronald states, without a complete 
unit test we can only guess about the cause.

I see that Tom already added a more clear message in the trunk version.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251814#4251814

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4251814
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: ProcessEngine not found!

2009-08-26 Thread jbarrez

The jBPM service bound to the JNDI is not a remote component, like an EJB or 
Servlet. So you can inject it in other components deployed on the AS, but not 
from the outside (there is no spec for remote services - in plain Java).

You could use the remote CommandService, altough this is more low-level. 
Another option is wrapping the operations you need in an EJB/webservice/...

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251753#4251753

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4251753
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: How to control process transition in JBPM 4.0?

2009-08-25 Thread jbarrez
This is quite easy to implement if you use the transitions as a 'button' for 
going to every screen; ie. on the second screen your process is halted until 
the button is clicked, which will signal the process.

I don't see anything out of the ordinary in this use case, or am I missing 
something?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251648#4251648

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4251648
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: StaleObjectException in JBPM 4.0

2009-08-25 Thread jbarrez
@Ronald:

The problem is not that the process instance is ended. In fact, it was probably 
still before the join activity.

However, the tearDown() method does a deleteDeploymentCasade() which deletes 
everything related to the deployment (including the active process instance). I 
agree that's kinda confusing ... but it sure helps us writing quick tests 
without having to clean up our database ourselves every test.

For unit tests, there is an assertion: assertProcessInstanceEnded(String pId).

So, I don't yet see the issue with processInstances. Perhaps you can enlighten 
me?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251488#4251488

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4251488
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: StaleObjectException in JBPM 4.0

2009-08-25 Thread jbarrez
I quickly went trough your unit test:

* You have at least 2 threads: the JUnit thread and x jobexecutor threads

* The JUnit thread does executes all your codes until the end. At that point, 
the teardown() message is called causing your processdefinition to be deleted.

* However, the JobExecutor thread is still around. Now he comes into play and 
tries to execute some activity of a process definition that doesn't exist 
anymore.

Hence, your error message ("deleted by another transaction")

Try to add Thread.sleep(1) at the end of your unit test. It should work 
now. The reason why it works sometimes is because sometimes the jobexecutor is 
scheduled before the JUnit thread (damn parallel programming ;-)

Hope this helps

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251457#4251457

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4251457
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-08-25 Thread jbarrez
Btw for reference, your jBPM4 issues are described here: 
http://www.jorambarrez.be/blog/2009/04/17/integrating-jbpm3-with-spring-part1/

It makes me wonder, since the GWT console uses JTA transactions. Can you post 
your configs here?



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251410#4251410

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4251410
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-08-25 Thread jbarrez
Thanks for the posts!

 I added a link to this thread on my blog.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251409#4251409

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4251409
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Solution: Large numbers of jobs in JOB table causes majo

2009-08-25 Thread jbarrez
Good suggestion! Thanks for posting it!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251408#4251408

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4251408
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Problem configuring jBPM4 with Spring

2009-08-14 Thread jbarrez
Are you using JPA or Hibernate? In the first case, these kind of errors are to 
be expected since we've not yet implemented JPA integration.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249693#4249693

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249693
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: TaskQuery w/ ProcessInstanceId possible?

2009-08-06 Thread jbarrez
Please post your complete unit test. We are also using HSQLDB in development so 
the error should pop up with us too.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4248493#4248493

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4248493
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: TaskQuery w/ ProcessInstanceId possible?

2009-08-06 Thread jbarrez
This is certainly possible and is coverd by our QA test suite (see for example 
TaskQueryProcessTest). 


  |  List parisTasks = taskService
  |   .createTaskQuery()
  |   .processInstanceId(parisProcessInstance.getId())
  |   .list();
  | 

How is the process instance created (ie post your createProcessInstance() 
method)?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4248347#4248347

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4248347
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: taskform in the start activity - form vars dont get pers

2009-08-06 Thread jbarrez
Your other issue is interesting. Process variables from the start form should 
be available in the next activitites (altough they might not be persisted yet 
in the database, that's for performance reasons).

Could you file a Jira issue precisly explaining your issue?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4248345#4248345

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4248345
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Signaling Transition from a Java State

2009-08-06 Thread jbarrez
The java activity is only used when you don't need runtime process information. 
Use the 'custom' activity instead (see 
http://docs.jboss.org/jbpm/v4.0/userguide/html_single/#custom )

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4248343#4248343

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4248343
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JBPM 4.0 on DB2

2009-08-06 Thread jbarrez
I've used jBPM 3.x on DB2 (v 9 I believe) for a large project. 

No problems at all (only had to change some varchar columns which were too big 
for the DBA's taste)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4248340#4248340

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4248340
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: custom task id

2009-08-06 Thread jbarrez
I agree, the second option sounds more logical to me.

Doesn't the TaskQuery.candidate() or TaskQuery.assignee() helps you out there?

If you feel like something is missing there, you can file a Jira as Ronald 
mentions. If it's really urgent you can always use a plain Hibernate query 
(altough I'd rather see it on the right API interface ;-)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4248336#4248336

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4248336
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: What is the difference between a

2009-08-06 Thread jbarrez
A task node does not require to write custom Java handlers. A task node will 
create task records in the task table for every task defined.

A node is nothing more than an interface. Your own implementation can do 
anything (print hello world, block the current thread, or actually do something 
useful). 

Task nodes are to be used for user interaction, Nodes must be used when the 
given set of activitity types is not enough for your use case.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4248334#4248334

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4248334
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JBPM-4.0 configuration with eclipse fetching error

2009-08-06 Thread jbarrez
Try to run the ant demo.setup as described in the user guide. It will 
automatically download a compatible Eclipse version.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4248331#4248331

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4248331
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: change hibernate , replace with other orm

2009-08-06 Thread jbarrez
Indeed ... JBoss helpdesk is already contacted multiple times, but they don't 
seem to get it fixed for one reason or another ... but don't worry - we keep 
pinging them.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4248329#4248329

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4248329
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JBPM + EMF/UML2 Crashes

2009-08-06 Thread jbarrez
Where is this code executed? In a custom activity?

I don't see how jBPM could be the culprit in this case?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4248328#4248328

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4248328
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Process Definition Deployment using ZipInputStream

2009-07-31 Thread jbarrez
I included a test case for this in the test suite, but the test succeeds. So 
either I'm testing the wrong thing or you are doing something wrong:


  |  public void testZippedResourceDeployment() {
  | FileInputStream fip = null;
  | try {
  |   
  |   fip = new 
FileInputStream("src/test/resources/org/jbpm/test/deploy/process.zip");
  |   ZipInputStream zis = new ZipInputStream(fip);
  |   
  |   NewDeployment newDeployment = repositoryService.createDeployment();
  |   newDeployment.addResourcesFromZipInputStream(zis);
  |   String deployId = newDeployment.deploy();
  |   
  |   ProcessDefinition procDef = 
repositoryService.createProcessDefinitionQuery()
  |.deploymentId(deployId)
  |.uniqueResult();
  |   assertNotNull(procDef);
  |   assertEquals("ImageTest", procDef.getName());
  |   repositoryService.deleteDeploymentCascade(deployId);
  |   
  | } catch (IOException e) {
  |   fail(e.getMessage());
  | } finally {
  |   if (fip != null) {
  | try {
  |   fip.close();
  | } catch (IOException e) {
  |   fail(e.getMessage());
  | }
  |   }
  | }
  | 
  |   }
  |   
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247209#4247209

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247209
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JbpmJpdl4 - ws-invoke, hibernate...

2009-07-31 Thread jbarrez
These are all ideas for nodes that were poured in that wiki page. Most of them 
will appear in a future release of jBPM.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247201#4247201

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247201
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Performance question

2009-07-30 Thread jbarrez
That question is unanswerable without knowlegde of the process. If you design a 
process where you generate 100 word documents ... then you'll probably not get 
100/processes per second.

But to answer your question more correctly: the overhead of using jBPM is 
limited to the database calls it has to do. All the rest is up to whatever you 
are doing in your process.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247004#4247004

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247004
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Way to Add Users and Groups (beside API)

2009-07-30 Thread jbarrez
Probably through plain JDBC (there are user and groups tables), but that is the 
domain of the JBoss Identity component, with which I haven't been able to play 
yet ...

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246950#4246950

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246950
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: HowTo: Use JBPM4 API (on JBoss 5)

2009-07-30 Thread jbarrez
Exactly. If you use the demo setup provided by the distribution, you can use 
the ProcessEngine which is bound to JNDI. You can adapt the database 
configuration in the jbpm folder (under deploy) for your database.

Another solution is just to use jBPM as a standalone Jar, and creating a 
process engine using new Configuration().buildProcessEngine(). You can store 
this object in a static field for example (it's thread-safe).

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246903#4246903

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246903
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Problems with variables in Start-node formular

2009-07-30 Thread jbarrez
How do you deploy to JBoss, using the ant deployer?

Can you post the Decision handler code?



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246899#4246899

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246899
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Process Definition Deployment using ZipInputStream

2009-07-30 Thread jbarrez
Can you pour this into a Junit test case so that we can test exactly your 
problem?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246896#4246896

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246896
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-07-28 Thread jbarrez
Yep, the console installation does have the job executor installed.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246498#4246498

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246498
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-07-28 Thread jbarrez
@Ronald

The examples don't have a job executor since there the jobs are executed 
programmatically for readability. So we can't add it straight away to the 
default config since it will make the examples do unexpected things ...

But I do agree that the configuration needs some documentation, seeing how many 
people forget to include the job executor



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246474#4246474

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246474
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: about jbpm's table layout

2009-07-28 Thread jbarrez
Read the manual:

http://docs.jboss.com/jbpm/v4.0/devguide/html_single/#persistence

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246470#4246470

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246470
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Problem with AsyncActivityTest in a AbstractTransactiona

2009-07-28 Thread jbarrez
Also check if you have the jobExecutor configured correctly:

http://docs.jboss.com/jbpm/v4.0/devguide/html_single/#jobexecutor

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246457#4246457

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246457
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: problem reagarding task node configuration in jbpm

2009-07-28 Thread jbarrez
You'll see that the core concepts are the same, but the complete way of working 
has changed.

So yes, the switch to jBPM4  makes sense, ceratinly if you want to be 
future-proof (but this also means learning jBPM4)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246448#4246448

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246448
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-07-28 Thread jbarrez
Gert,

It is not necessary to run on a JEE server. You just need to enhance your 
configuration to include the job executor to make timers and reminders work:

http://docs.jboss.com/jbpm/v4.0/devguide/html_single/#jobexecutor



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246447#4246447

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246447
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-07-28 Thread jbarrez
Currently, you can adapt the default reports using Eclipse BIRT.

In the future, it will be possible to inlclude custom reports (you can already 
completely adapt the default ones).

See https://jira.jboss.org/jira/browse/JBPM-2453

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246440#4246440

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246440
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


  1   2   3   >