[jboss-user] [jBPM Users] - Re: Spring, JTA, and JBPM 4.2 - Is it possible?

2009-12-12 Thread mwohlf
I have a similar setup, doing | hibernate-session current=false / | did the trick for me, but i am not really happy with that, as far as I understand this doesn't reuse any already opened session from my application View the original post :

[jboss-user] [jBPM Users] - Re: Spring, JTA, and JBPM 4.2 - Is it possible?

2009-12-12 Thread hrworx
Thanks for the reply. I went back to current=false, which is the way we were doing it with v4.1 but still get the same result: Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jbpmProcessDeployer' defined in class path resource

[jboss-user] [jBPM Users] - Re: task timers

2009-12-11 Thread jbosspnet
Any idea for this? Thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4270133#4270133 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4270133 ___ jboss-user mailing list

[jboss-user] [jBPM Users] - Re: task timers

2009-12-11 Thread MohReece
From the code you supplied I cannot see why the timer is not created (I'm assuming that you're not using abstract classes as handlers and that the class name for the task timer action handler does match in your actual code, because otherwise you'd have other problems running your example). At a

[jboss-user] [jBPM Users] - Re: Is new jBPM book related to upcoming jBPM 4.3?

2009-12-11 Thread akakunin
Sorry - here is a link: http://www.packtpub.com/jboss-business-process-management-jbpm-developer-guide/book View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4270190#4270190 Reply to the post :

[jboss-user] [jBPM Users] - Re: task timers

2009-12-11 Thread jbosspnet
Thanks for the reply. The java code that I have supplied is in effect incorrect: the classes are not abstract. My processes are a little more complex, so I had simplified before post in the forum to avoid a lot of code. But the concept of the check executed in a specific range time in a manual

[jboss-user] [jBPM Users] - Re: Is new jBPM book related to upcoming jBPM 4.3?

2009-12-11 Thread kukeltje
No-one in the core team has had a knowledge of this book. And since Mauricio (the author, 'salaboy' in the forum) has been working to write a jBPM3 compatible layer on top of drools and we never had him ask any questions on jBPM4, it most likely is just about jBPM 3 View the original post :

[jboss-user] [jBPM Users] - Re: deploy() takes an awefully LONG time

2009-12-11 Thread kukeltje
I do not get it either. jBPM retrieves all processdefinitions with the same name (how many can that be, just several I think) and loops over that. I again urge you to log additional things, you might e.g. have a problem with a reverse dns lookup why things take long... So I would not file a

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

2009-12-11 Thread emp.tyres
hrworx, did you manage to emulate a taskquery that can search for all tasks in all of a master process's subprocesses? I am facing the same issue right now and a pointer would be appreciated! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4270227#4270227

[jboss-user] [jBPM Users] - Re: Unable to retrive the process instance

2009-12-11 Thread kukeltje
Processdefinition ID != name afaik. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4270228#4270228 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4270228 ___ jboss-user mailing

[jboss-user] [jBPM Users] - Re: deploy() takes an awefully LONG time

2009-12-11 Thread ajaygautam
saraswati.santanu wrote : Ajay, |I did not get the first part of your question | | anonymous wrote : shouldn't the query actually be performed at the database level !?!? | | The query will be performed at the db only. | | Do you mean a db procedure kind of thing? That

[jboss-user] [jBPM Users] - Re: deploy() takes an awefully LONG time

2009-12-11 Thread ajaygautam
kukeltje wrote : I do not get it either. jBPM retrieves all processdefinitions with the same name (how many can that be, just several I think) and loops over that. | | I again urge you to log additional things, you might e.g. have a problem with a reverse dns lookup why things take

[jboss-user] [jBPM Users] - Re: deploy() takes an awefully LONG time

2009-12-11 Thread kukeltje
ajaygautam wrote : saraswati.santanu wrote : Ajay, | |I did not get the first part of your question | | | | anonymous wrote : shouldn't the query actually be performed at the database level !?!? | | | | The query will be performed at the db only. | | | | Do

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

2009-12-11 Thread hrworx
We never really solved this. As best I can tell, trying to get tasks for an execution or track what is going on by execution kind of goes against the paradigm of jbpm. Instead, we created assignment handlers etc. that assigned the tasks at the time they are created, then created methods like

[jboss-user] [jBPM Users] - Re: How does jBPM loggin work?

2009-12-11 Thread kukeltje
According to http://docs.jboss.com/jbpm/v4/devguide/html_single/#d0e2609 anonymous wrote : PVM can use JDK logging (java.util.logging) or log4j. When the first message is logged, PVM logging will make the selection with following procedure: | |1. If a logging.properties resource is

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

2009-12-11 Thread kukeltje
anonymous wrote : We never really solved this. As best I can tell, trying to get tasks for an execution or track what is going on by execution kind of goes against the paradigm of jbpm. I No specifically. Regarding the tasklists. there just have not been many requests for this (only you two)

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

2009-12-11 Thread emp.tyres
Short story long: if a user starts process SUPER with key = 12, and this forks a subprocess, how can i gather all tasks for key 12, including those that SUPER forked? I see only 2 options: a. the key is transferred to the subprocess (because it has a domain modeling) - HOWEVER, if I

[jboss-user] [jBPM Users] - Re: How does jBPM loggin work?

2009-12-11 Thread ajaygautam
Any idea how to do that with maven? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4270247#4270247 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4270247 ___ jboss-user mailing list

[jboss-user] [jBPM Users] - Re: How does jBPM loggin work?

2009-12-11 Thread ajaygautam
or with tomcat... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4270249#4270249 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4270249 ___ jboss-user mailing list

[jboss-user] [jBPM Users] - Re: Spring, JTA, and JBPM 4.2 - Is it possible?

2009-12-11 Thread hrworx
Continuing log file from previous post: 2009-12-11 09:36:46,094 TRACE (Log4jLog.java:72) - beginning StandardTransaction[80814] | 2009-12-11 09:36:46,094 TRACE (Log4jLog.java:72) - found org.jbpm.pvm.internal.session.RepositorySession in transaction | 2009-12-11 09:36:46,095 TRACE

[jboss-user] [jBPM Users] - Re: task timers

2009-12-11 Thread MohReece
Unfortunately your stack trace doesn't show the real (original) exception, maybe there is a 'caused by' trace underneath it? But from this one, more particular the line at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:276) we are able to see that the exception originates in the

[jboss-user] [jBPM Users] - Re: Unable to retrive the process instance

2009-12-11 Thread sebastian.s
The same you supply in your process definition and the version number form the processDefinitionId. So the processDefinitionId in this query is always made of the supplied name and a number. Maybe the TaskInstanceQuery should be extented to make it possibile to search for all instances with a

[jboss-user] [jBPM Users] - Re: Unable to retrive the process instance

2009-12-11 Thread sebastian.s
same=name View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4270271#4270271 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4270271 ___ jboss-user mailing list

[jboss-user] [jBPM Users] - Re: Process Step Exception

2009-12-11 Thread guancio
I got the same exception using jbpm 3.2 on JBoss 5. After 4 hours of investigation I've found that my development approach was not correct. The main cause of the problem was that I was trying to use the JBPM enterprise installation from a Web Application deployed on the same JBoss container. My

[jboss-user] [jBPM Users] - Re: Weird Jbpm exception.. need help...

2009-12-11 Thread guancio
Give a look here http://www.jboss.org/index.html?module=bbop=viewtopicp=4270272 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4270273#4270273 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4270273

[jboss-user] [jBPM Users] - Re: Unable to retrive the process instance

2009-12-11 Thread sebastian.s
You can vote here: https://jira.jboss.org/jira/browse/JBPM-2688 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4270274#4270274 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4270274

[jboss-user] [jBPM Users] - Re: Is new jBPM book related to upcoming jBPM 4.3?

2009-12-11 Thread akakunin
Hm, it's a pity I'm not sure jBPM3 book makes any sense for now View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4270313#4270313 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4270313

[jboss-user] [jBPM Users] - Re: How does jBPM loggin work?

2009-12-11 Thread kukeltje
uh maven is a build management tool Tomcat is a servlet engine... I do not understand your question Or at least not the relation to your 'problem'... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4270316#4270316 Reply to the post :

[jboss-user] [jBPM Users] - Re: Process Step Exception

2009-12-11 Thread kukeltje
anonymous wrote : I think that JBoss documentation on how to use jbpm from Web and enterprise applications really lacks details and a good tutorial. Partly yes, partly no. The issues are no different than with any other ready to use war/ear vs repackaging. If you find the time, you might

[jboss-user] [jBPM Users] - Re: deploy() takes an awefully LONG time

2009-12-10 Thread ajaygautam
Sure. Here you go... The complete log leading upto this. The time lag occurs between 9:33:57 to 9:35:43. This is when the deploy() runs. PS: Could this be a timeout thing? Does deploy() go out to the internet, and try to retrieve a DTD file or something like that? We are behind a proxy, so

[jboss-user] [jBPM Users] - Re: JBPM 4.2 Sub-Processs Not able to access Variables

2009-12-10 Thread emailkuppai
main process | ?xml version=1.0 encoding=UTF-8? | process name=wf_ingest_book version=1 xmlns=http://jbpm.org/4.2/jpdl; |start g=264,19,48,48 name=startIngestBook | transition g=-73,-18 name=trDecideType to=decideType/ |/start |decision g=271,125,48,48

[jboss-user] [jBPM Users] - Re: Extracting information from a jpdl file

2009-12-10 Thread rams.rapo
If you are using spring, then it should be easy with getoutcomes as well.. just cache at application level using aop the following items - initial state, transition to outcome state, process definition and version View the original post :

[jboss-user] [jBPM Users] - Re: deploy() takes an awefully LONG time

2009-12-10 Thread kukeltje
jBPM afaik has the xsd's in a local resolver so should not need to go to the internet. But it could be that (since the xsd changed in 4.2) this was overlooked. Regarding the logging Well, I (ofcourse ;-)) meant logging of what happens DURING the deploy. So if it turns out not to be a

[jboss-user] [jBPM Users] - Re: deploy() takes an awefully LONG time

2009-12-10 Thread ajaygautam
kukeltje wrote : jBPM afaik has the xsd's in a local resolver so should not need to go to the internet. But it could be that (since the xsd changed in 4.2) this was overlooked. | | Regarding the logging Well, I (ofcourse ;-)) meant logging of what happens DURING the deploy. So if it

[jboss-user] [jBPM Users] - Re: Does jBPM 4 Require JBoss 5?

2009-12-10 Thread kukeltje
jBPM 4 core libraries run on JBoss 4.3. Not sure about the webconsole. Not saying it doesn't, but also not that it does. Just don't know. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4270055#4270055 Reply to the post :

[jboss-user] [jBPM Users] - Re: Advice regarding complex proccess modeling

2009-12-10 Thread kukeltje
no, not a similar api. You have to do it low level View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4270057#4270057 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4270057 ___

[jboss-user] [jBPM Users] - Re: Bug in process designer eclipse

2009-12-10 Thread kukeltje
please file a jira issue for this on the GPD project View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4270058#4270058 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4270058 ___

[jboss-user] [jBPM Users] - Re: spring bean as assignment handler

2009-12-10 Thread kukeltje
There are lots of places where expressions cannot be used. An issue for this is in the jira. Please try to locate it and add this to it. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4270060#4270060 Reply to the post :

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

2009-12-10 Thread kukeltje
XML is parsed with an XML parser... Those are in the JDK so I have no clue what you mean... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4270061#4270061 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4270061

[jboss-user] [jBPM Users] - Re: JBPM 4.2 Sub-Processs Not able to access Variables

2009-12-10 Thread kukeltje
Please read the documentation http://docs.jboss.com/jbpm/v4/userguide/html_single/#subprocess. It's all in there... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4270062#4270062 Reply to the post :

[jboss-user] [jBPM Users] - Re: JBPM 4 dynamic timer duedate

2009-12-10 Thread kukeltje
Please search the jira... there is an issue for it. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4270063#4270063 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4270063 ___

[jboss-user] [jBPM Users] - Re: using jBPM 4.2 (Hibernate) with JPA on the same database

2009-12-10 Thread kukeltje
afaik, if you configure hibernate to use the JTA transaction, it should join it. That is how it normally should be done View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4270064#4270064 Reply to the post :

[jboss-user] [jBPM Users] - Re: deploy() takes an awefully LONG time

2009-12-10 Thread kukeltje
Is there any reason you cannot configure log4j (or jdk logging) to log in more detail? Works fine here (and I'm serious, not joking or trying to make fun of you or anything) Now (besides the internet access) It's like saying: Hey, look at that car driving by, it is going slow. Can you tell me

[jboss-user] [jBPM Users] - Re: deploy() takes an awefully LONG time

2009-12-10 Thread ajaygautam
This statement takes all the time: | ProcessDeployer.java line 134, method checkKey(). | | | ListProcessDefinition existingProcesses = repositorySession.createProcessDefinitionQuery() | .processDefinitionName(processDefinitionName) | .list(); | Then the code

[jboss-user] [jBPM Users] - Re: JBPM 4 dynamic timer duedate

2009-12-10 Thread sebastian.s
Since I had the issue open right now anyway, here you go. It is already down in the comments since somebody had suggested this already on the forums. https://jira.jboss.org/jira/browse/JBPM-1209 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4270069#4270069

[jboss-user] [jBPM Users] - Re: Does jBPM 4 Require JBoss 5?

2009-12-10 Thread ajaygautam
We run jBPM4 in tomcat. Using maven for dependency resolution. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4270072#4270072 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4270072

[jboss-user] [jBPM Users] - Re: Does jBPM 4 Require JBoss 5?

2009-12-10 Thread matt.d.tucker
OK thank you for the replies. I think if the core jBPM 4 libraries play nicely with JBoss 4 libs, that is all we need. Thanks! Matt Tucker View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4270074#4270074 Reply to the post :

[jboss-user] [jBPM Users] - Re: deploy() takes an awefully LONG time

2009-12-10 Thread ajaygautam
Changing the database location from cross continent to local fixes the time issue. I think I should file this as a bug. Database developers should be frugal with resources. What do you think? Ajay View the original post :

[jboss-user] [jBPM Users] - Re: Process Definition gets deleted while starting new proce

2009-12-10 Thread jbpmjboss11
Never mind I found the solution. Need to remove the following line from your jbpm.hibernate.cfg.xml create-drop View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4270077#4270077 Reply to the post :

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

2009-12-10 Thread harish21
@TejJBPM hi , can you please post the code to get the process variables during the time of execution? Thank you View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4270101#4270101 Reply to the post :

[jboss-user] [jBPM Users] - Re: deploy() takes an awefully LONG time

2009-12-10 Thread saraswati.santanu
Ajay, I did not get the first part of your question anonymous wrote : shouldn't the query actually be performed at the database level !?!? The query will be performed at the db only. Do you mean a db procedure kind of thing? That will have other significant disadvantages. So that query

[jboss-user] [jBPM Users] - Re: Entity variable

2009-12-09 Thread juanignaciosl
Neat. As I read at the documentation it's likely that I should be able to save as an Hibernate entity, but Serializable is good enough for the time being. Nevertheless, when I make it Serializable it gets stored but it can't be loaded, taskService.getVariables throws the following exception:

[jboss-user] [jBPM Users] - Re: deploy() takes an awefully LONG time

2009-12-09 Thread kukeltje
Uhh I assume you have WAY more logging if so please post here. If not, it is very, very hard for us to help. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269773#4269773 Reply to the post :

[jboss-user] [jBPM Users] - Re: How a pass signal from state a task or java?? I do not u

2009-12-09 Thread cmjhingeniero
Thanks for answering I want that when response comes in N get out of the event and pass the task, hello. The variable response is filled with | response = reposicion.verificarCarguePorReposicion(documento, caf); //RETURN N or S | I this error when I go out the signal

[jboss-user] [jBPM Users] - Re: Docs recommend ProcessEngine in JNDI But fails with Thre

2009-12-09 Thread jedizippy
Ok figured out how this is done in JBoss and implemented the same strategy in WLS and it appears to work. In the meantime saw some nice bugs in JBPMService class not closing initial context and ignoring supplied jndi name.. View the original post :

[jboss-user] [jBPM Users] - Re: async fork

2009-12-09 Thread nizzy
Fixed by updating to 3.3.1.GA and adding lock=pessimistic to join. Thanks for your help! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269822#4269822 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269822

[jboss-user] [jBPM Users] - Re: ProcessEngine.close() in jBPM 4 javadocs but not in sour

2009-12-09 Thread jedizippy
OK seems to be added between 4.1 and 4.2 so upgrading to 4.2 should hopefully solve our issues with undeployment. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269827#4269827 Reply to the post :

[jboss-user] [jBPM Users] - Re: [jbpm 4.2] Finding a Process Instance

2009-12-09 Thread mike_burton
Thanks for your reply. environment-interceptor / is specified in jbpm.cfg.xml. Here is my complete configuration. jbpm-configuration process-engine-context repository-service / repository-cache / execution-service / history-service /

[jboss-user] [jBPM Users] - Re: [jbpm 4.2] Finding a Process Instance

2009-12-09 Thread saraswati.santanu
Name of the command service and the id-generator are to be changed in 4.2. Yours is for 4.1. But you should have got exception at some other step because of these. This is a sample cfg file for 4.2 | jbpm-configuration | | import resource=jbpm.businesscalendar.cfg.xml / | import

[jboss-user] [jBPM Users] - Re: Docs recommend ProcessEngine in JNDI But fails with Thre

2009-12-09 Thread kukeltje
Then please makea jira issue for it. (DEFAULT_JNDI;-)) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269877#4269877 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269877 ___

[jboss-user] [jBPM Users] - Re: Problem moving from 4.1 to 4.2 using Spring configuratio

2009-12-09 Thread hrworx
In the previous post I pasted in an old jbpm.cfg.xml Here is the actual current one: | jbpm-configuration | import resource=jbpm.businesscalendar.cfg.xml / | import resource=jbpm.jpdl.cfg.xml / | | | process-engine-context | repository-service / |

[jboss-user] [jBPM Users] - Re: Advice regarding complex proccess modeling

2009-12-09 Thread siva_movva
Hi, Is there a similar API in JBPM3 that allows subTask creation for an existing task? Any help would be appreciated. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269914#4269914 Reply to the post :

[jboss-user] [jBPM Users] - Re: Bug in process designer eclipse

2009-12-09 Thread suganda
Sorry, i forgot to put the xml in code tag when i write manually xml using decision state like | decision g=428,221,80,40 name=INPUT.READY | handler class=com.abc.def.jbpm.impl.InputImpl | field name=phasestring value=INPUT//field | field

[jboss-user] [jBPM Users] - Re: List of Tasks assigned to a user

2009-12-09 Thread raghavarapu
Sorry guys, I was able to use the same method, once I created the TaskService.class in the environment. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269923#4269923 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269923

[jboss-user] [jBPM Users] - Re: How a pass signal from state a task or java?? I do not u

2009-12-08 Thread saraswati.santanu
What are you trying to achieve here? Both your code and your jpdl look flawed. You seems to expect a variable response changing its value. But who is changing the value (means where is the code which changes the value of response) and who is setting the value in execution context? Also, I get

[jboss-user] [jBPM Users] - Re: async fork

2009-12-08 Thread nizzy
Bump Has there been any further work on this, I too am seeing the SOE Caused by: org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.jbpm.graph.exe.Token#740] | at

[jboss-user] [jBPM Users] - Re: async fork

2009-12-08 Thread nizzy
Also, I have a unit-test which test the process outside the container, without the persistence, it seems to work fine. I'm getting a couple of failure points according to the stacktraces, 1 in action handler in the main process (leave node method) - before entering fork. 1 in action handler

[jboss-user] [jBPM Users] - Re: Extracting information from a jpdl file

2009-12-08 Thread saraswati.santanu
It is possible to get the outcomes if your current wait node is a task node. Since task node is the node for manual tasks, it might somewhat serve your purpose. This is the code for getting outcome for a task node: | taskService.getOutcomes(task.getId()) | If the wait node is some other

[jboss-user] [jBPM Users] - Re: What is the difference between a Task and an Execution?

2009-12-08 Thread saraswati.santanu
Task is a wait state where it requires manual action. Task typically represents runtime state of the manual task. So once the task is done the Task entry from db is removed. Execution is the common representation of runtime path of execution. So every process instance is an Execution, every

[jboss-user] [jBPM Users] - Re: Extracting information from a jpdl file

2009-12-08 Thread sebastian.s
Thanks for clarifying this, Santanu. For the workaround you have supplied IMHO there should be a clean way to do it using the API. If you have not yet done it maybe you want to vote for the issue. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269652#4269652

[jboss-user] [jBPM Users] - Re: Extracting information from a jpdl file

2009-12-08 Thread ajaygautam
Thanks Santanu. getOutcomes does work, but the overhead of convert states to tasks is way too much... getOutgoingTransitions() always returns an empty list! - I think its broken - or maybe I am not using it correctly. Anyway... The requirement has changed: Now, we (me) need to supply the UI

[jboss-user] [jBPM Users] - Re: What is the difference between a Task and an Execution?

2009-12-08 Thread ajaygautam
Thanks again Santanu. Makes sense. Especially the entry from db is removed part. Now I understand why hibernate would complain about multiple entries being found, if I moved from one task to the next. (i.e. I should mark the first task as completed!) Ajay View the original post :

[jboss-user] [jBPM Users] - Re: Console: host not found error

2009-12-08 Thread roger0681
Hi, all Thanks for your answer, Ronald. Though I've been searching for information on this fact for a few weeks, I had not reached an answer until now. I accept I'm not really used to JIRAs yet. After Ronalds response, I started browsing all JIRA issues (not only Console), and found this one

[jboss-user] [jBPM Users] - Re: JBPM 4.2 Sub-Processs Not able to access Variables

2009-12-08 Thread emailkuppai
my jpdl being main-proc:: sub-process name=metaonly-ingest sub-process-key=wf_metaonly_ingestion g=130,367,132,53 event-listener class=org.sae.services.jbpm4.StartExternalWork /

[jboss-user] [jBPM Users] - Re: Extracting information from a jpdl file

2009-12-08 Thread saraswati.santanu
Sebastian, I completely agree with you. The code I have given there is nothing more than a work around. There should be some method may be part of either Execution/OpenExecution interface and/or ExecutionService which does the job properly. And I have already voted for the issue. Ajay,

[jboss-user] [jBPM Users] - Re: JBPM 4.2 Sub-Processs Not able to access Variables

2009-12-08 Thread sebastian.s
Please use the code-tags to supply your process definition. If possible please also supply a unit test demonstrating your problem. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269721#4269721 Reply to the post :

[jboss-user] [jBPM Users] - Re: Dynamic Variable Assignment

2009-12-07 Thread saraswati.santanu
oops...my reply was based on Jbpm 4.2. I do not remember the exact behaviour in jbpm 3.x, i need to check my older project. But it might be a good idea for you to switch to jbpm4 if possible. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269249#4269249 Reply

[jboss-user] [jBPM Users] - Re: [jBPM4] Cant build processEngine using setFile, setURL o

2009-12-07 Thread saraswati.santanu
Etienne, Command service is something you need to configure to get Jbpm running. But the magic is in the name of the command service. txRequiredCommandService and newTxRequiredCommandService are two hard coded names used for command service. txRequiredCommandService is the command service

[jboss-user] [jBPM Users] - Re: [jBPM4.2] Installation problems

2009-12-07 Thread Alkero
May be you can try with the Sun JDK ? Regards, David View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269369#4269369 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269369 ___

[jboss-user] [jBPM Users] - Re: why i can't use identityService in jbpm4

2009-12-07 Thread optixpro
if somebody know please help i try to follow in jbpm example but it not working for me now i'm so confusing why my class extends jbpmtestcase it work but if i don't it not working thank for help me View the original post :

[jboss-user] [jBPM Users] - Re: why i can't use identityService in jbpm4

2009-12-07 Thread optixpro
ok i can fix this View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269394#4269394 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269394 ___ jboss-user mailing list

[jboss-user] [jBPM Users] - Re: why i can't use identityService in jbpm4

2009-12-07 Thread optixpro
i try this IdentityService identityService = processEngine.getIdentityService(); | | String dept =identityService.createGroup(sales-dept); | identityService.createUser(johndoe, johndoe, John, Doe); | identityService.createMembership(johndoe, sales-dept); but it not field password in

[jboss-user] [jBPM Users] - Re: JBoss j...@fosdem'10

2009-12-07 Thread camunda
hi Frederic. My colleague Falko thinks about it, I just forwarded the request to him and I guess he will contact you if not already done... Nice to hear the request for the JBoss Tool Stack there :-) Cheerio Bernd View the original post :

[jboss-user] [jBPM Users] - Re: JBoss j...@fosdem'10

2009-12-07 Thread falko.menge
Hi Frederic, I'll be at FOSDEM'10 and would love to give a talk about jBPM. Additionally, I could also present Drools, if you still need a speaker for it. Feel free to contact me at falko dot menge at camunda dot com. Best Regards, Falko View the original post :

[jboss-user] [jBPM Users] - Re: JBoss j...@fosdem'10

2009-12-07 Thread fhornain
Thanks a lot both. You are welcome on board ! Drools is also interesting subject. Could you send me a mail at fhornain gmail D0t com in order to have yours ? Keep you in touch as soon as I have got something new. Thanks :) Best Regards Frederic View the original post :

[jboss-user] [jBPM Users] - Re: Extracting information from a jpdl file

2009-12-07 Thread sebastian.s
Should be a basic thing to do but the API does not offer it yet. However there is a JIRA issue about it and it should be included in the upcoming 4.3-release. Please vote here and maybe also state your use case: https://jira.jboss.org/jira/browse/JBPM-2609 I don't know if there is a workaround

[jboss-user] [jBPM Users] - Re: Console: host not found error

2009-12-06 Thread kukeltje
it is a console config issue. Please search the forum and the jira. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269169#4269169 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269169

[jboss-user] [jBPM Users] - Re: why i can't use identityService in jbpm4

2009-12-06 Thread saraswati.santanu
It will be helpful if you can provide a little more information. NullPointerException is too common and generic to come to any conclusion. Please provide the jbpm.cfg.xml, a snippet of the jpdl and a snippet of your code to execute that. Typically processEngine.getIdentityService() should give

[jboss-user] [jBPM Users] - Re: why i can't use identityService in jbpm4

2009-12-06 Thread optixpro
saraswati.santanu wrote : It will be helpful if you can provide a little more information. NullPointerException is too common and generic to come to any conclusion. Please provide the jbpm.cfg.xml, a snippet of the jpdl and a snippet of your code to execute that. | | Typically

[jboss-user] [jBPM Users] - Re: [jBPM4] Cant build processEngine using setFile, setURL o

2009-12-06 Thread saraswati.santanu
Somehow missed your post earlier. It seems you do not have a command service in your jbpm.cfg.xml with a name txRequiredCommandService. You need an entry something like this (you may need to change as per your exact requirement): | command-service name=txRequiredCommandService |

[jboss-user] [jBPM Users] - Re: jBpm 3.2.6GA - ERROR [GraphSession] org.hibernate.Hibern

2009-12-06 Thread aapthorp
Did you find a fix to this. Am migrating from 3.3.0 to 3.2.6.SP1 and getting the same error. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269195#4269195 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269195

[jboss-user] [jBPM Users] - Re: Dynamic Variable Assignment

2009-12-06 Thread saraswati.santanu
Steven, You can create variables execution time using methods like setVariable etc. in execution service. You can use those variables in your custom execution code using OpenExecution.getVariable/getVariables. Since the variables are completely dynamic in nature, you cannot statically

[jboss-user] [jBPM Users] - Re: Dynamic Variable Assignment

2009-12-06 Thread StevenMayhew
Hi Santanu, Thanks for your quick reply - I am also wondering which version of jBPM I will need to use, at the moment I am using 3.2.3 - I'm assuming that I need to switch to a 4+ version? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269197#4269197 Reply

[jboss-user] [jBPM Users] - Re: setHibernateSessionFactory() ... using GRAIL's session f

2009-12-06 Thread edeleflie
little update. I've also tried calling: processEngine = new Configuration().setHibernateSessionFactory(sessionFactory); processEngine.setHibernateSession(sessionFactory.getCurrentSession()); still with no luck. The following line still returns a null object: repositoryService =

[jboss-user] [jBPM Users] - Re: [jBPM4] Cant build processEngine using setFile, setURL o

2009-12-06 Thread edeleflie
thanks Saraswati. Can you point me to the documentation of this requirement? (of adding XML to jbpm.cfg.xml for an API call to work). I'm struggling understanding where I am supposed to go to determine exactly what needs to be included in jbpm.cfg.xml for my API calls to work. Etienne View

[jboss-user] [jBPM Users] - Re: JBPM4.2 deploy problems

2009-12-06 Thread myhot21
oh,it's my mistake,hibernate config set create-drop it will create new table. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269218#4269218 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4269218

[jboss-user] [jBPM Users] - Re: [jBPM4.2] Installation problems

2009-12-06 Thread kukeltje
nope,it works for me. best is to analyze your jboss as startup scripts. does it start when not installing jBPM in it? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269234#4269234 Reply to the post :

[jboss-user] [jBPM Users] - Re: [jbpm 4.2] My first simple application doesn't work :(

2009-12-05 Thread saraswati.santanu
Silver, the code you have written is wrong. It will not work that way. You need to create a Jpdl file first. You can use the Eclipse GPD for that. And then use the Jbpm API to create ProcessDefinition etc. There is no class called ProcessFactory in Jbpm4. Second point that you need to

[jboss-user] [jBPM Users] - Re: Problem moving from 4.1 to 4.2 using Spring configuratio

2009-12-05 Thread saraswati.santanu
Thanks for sharing the solution Suganda. You have rightly pointed out that its always good to allow Spring to manage transaction when you use Spring-Hibernate combination. In fact you will not have an option other than this if you are using JMS or any non-db transactional service. I, however,

[jboss-user] [jBPM Users] - Re: [jbpm 4.2] Finding a Process Instance

2009-12-05 Thread saraswati.santanu
Hi Mike, you caught me. What you did was perfect and my way of creating query is definitely not the correct way. Thanks for pointing that and sorry for giving an incorrect code. For the current exception you might need to see if you have environment-interceptor / in you command service

  1   2   3   4   5   6   7   8   9   10   >