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 :
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
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
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
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 :
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
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 :
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
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
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
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
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
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
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
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
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)
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
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
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
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
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
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
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
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
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
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
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
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 :
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
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
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
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 :
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
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
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 :
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
___
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
___
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 :
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
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 :
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
___
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 :
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
This statement takes all the time:
| ProcessDeployer.java line 134, method checkKey().
|
|
| ListProcessDefinition existingProcesses =
repositorySession.createProcessDefinitionQuery()
| .processDefinitionName(processDefinitionName)
| .list();
|
Then the code
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
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
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 :
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 :
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 :
@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 :
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
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:
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 :
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
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 :
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
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 :
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 /
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
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
___
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 /
|
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 :
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
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
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
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
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
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
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
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
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
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 :
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
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 /
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,
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 :
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
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
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
___
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 :
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
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
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 :
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 :
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 :
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
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
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
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
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
|
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
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
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
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 =
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
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
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 :
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
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,
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 - 100 of 1692 matches
Mail list logo