All:
One rather significant issue I've encountered with jBPM (currently using 3.1.2)
is the limitations on the length of ContextInstance variables able to be
persisted when a process instance is saved. I understand that there are several
ways to deal with this:
- truncate the variable value
What is the status of jBPM being maven 2 enabled (for building) and being made
available on ibiblio as a maven 2 artifact? I had a brief discussion on this
some time ago, but as there was no maven availability, I went through the drill
of installing these into my repository server for 3.1.2.
Just wanted to check ... have you had good success with this approach? My basic
need is to create some external management of this Scheduler, i.e. be able to
change the polling interval, and stop / restart the Scheduler.
I was wondering if you have found the means below as effective to stop /
I am interested in the answer to the same question.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4006543#4006543
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4006543
___
I searched and didn't find any threads that explicitly addressed this, but I
have tried installing the jBPM plugin several times now, and though it
installs, it doesn't appear to work on Eclipse 3.2.
Does anyone know when the plugin will support Eclipse 3.2?
Thanks.
Brad
View the original
Alex,
Thanks for the reply. Yeah, it would seem that the ServletContextListener would
probably be the logical way to implement it. Seems simple enough -- in fact,
I'll probably have to do that for my application anyway.
Brad
View the original post :
When I save a process instance:
jbpmContext.save(processInstance);
I am curious about the actual effect of that. Keeping in mind that the
transaction on the jbpmContext is not committed until a jbpmContext.close() is
invoked, what actually happens when this process instance is saved? Does it
Jean,
Yes, that helps -- thanks for the reply. However, it still doesn't answer the
big question which is whether JbpmContext is reentrant or not. If it is not
reentrant, then I want to know what the purpose of the
JbpmConfiguration.getCurrentContext() method is. If JbpmConfiguration is
Perhaps I've been a bit obtuse, and haven't properly phrased my question. But
since its been over a month, and its obvious that others have the same
question, I'll try to rephrase my question for jBPM developers and those who
would consider themselves experts in jBPM:
How is it possible to use
Hello gygerl,
I dont know how to work out your declarative approach -- I used a programmatic
approach to creating my timer inside my node's ActionHandler, as follows:
| Date dueDate = set your due date here;
| timer.setDueDate(dueDate);
| timer.setTransitionName(mytransitionname);
|
The typical way of creating a data source in JBoss is via a *-ds.xml
configuration file in the server/deploy directory. I have the need to create
and bind a custom data-source programmatically at runtime -- so my first
question is how can this be done?
My second question is if it can be done
Ronald,
Thanks for the reply. Can you expound on what you mean by enterprise grade
async messaging? Are you basically saying that JMS won't be available?
Thanks,
Brad
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3973911#3973911
Reply to the post :
Koen,
Thanks for the reply. If the lifetime of the jbpmContext is equal to the
lifetime of the request (in a webapplication), then I have a few more questions:
1) What enforces this lifetime, a jbpmContext.close() has to be invoked
somewhere, doesn't it?
2) Is the purpose of
Does anyone have any inkling about the answer to this. This still seems to be a
question for which the answer is elusive.
Thanks.
Brad
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3973452#3973452
Reply to the post :
I wanted to inquire as to the state of DIME attachment support in JBoss. Can
someone tell me whether and to what degree DIME is supported under JBoss 4.0.4?
Thanks for your help.
Brad
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3970429#3970429
Reply to
cpob,
Thanks for the very helpful reply and answer. I greatly appreciate it. Your
answer brings up another question I have had, which is when should new
JbpmContext be created, and when should the current context be obtained
instead?
The reason that this question hasn't been completely clear
I am using jBPM 3.1.2, and have incorporated my own servlets into what is
basically the jbpm.war webapp. My servlets start by doing nothing more
complicated than create a jbpmContext, using the following code:
| JbpmConfiguration jc = JbpmConfiguration.getInstance();
| JbpmContext
jBPM 3.1.2:
I have a sar that uses JbpmService to bind a new JbpmConfiguration instance to
JNDI. I have another webapp which tries to look the JbpmConfiguration up from
JNDI, but I receive the following Exception:
java.lang.RuntimeException: Unable to complete JNDI lookup on:
I have a couple of questions regarding the JBoss unified classloader:
1) Are there any plans to refactor out the unified classloader mechanism at any
time in the near future?
2) What would be the possibility for a user to swap out the unified classloader
in favor of a a different classloading
I believe I may have discovered a hot-deployment bug in JBoss 4.0.4.
I am running a webapp that initialized a static variable (singleton) indirectly
by a servlet loaded on startup. While testing this application, I kept having
intermittent NullPointerExceptions while trying to access this
I realize my response is about a year after the fact, but in case anyone else
had come across this thread, I thought I'd reference you to a post in another
JBoss forum on deployment:
http://www.jboss.com/index.html?module=bbop=viewtopict=89209
The gist of the post is that I believe that there
In all honesty, I knew I wouldn't be deploying the starter's kit in production,
so I took the time to figure out all dependencies to do the following:
1) Use Maven for all my builds.
2) Deploy to standard JBoss 4.0.4
3) Build a custom SAR, rather than use the existing jbpm.sar. I wanted to add
Ronald,
Thanks for the reply. Hey, what's the chances of getting jBPM releases up on
ibiblio/maven2 with poms that hold all dependencies?
Also, here's another side question that's more about archive classloading than
anything (working on multiple appservers, sometimes get wires crossed). I
Well, my SAR and WAR just call classes in the jbpm.jar file and its depedent
jars. My SAR isn't much different than the stock jbpm.sar from the starter's
kit, it just has some of my additions. The only thing contained in my SAR file
though is my configuration files. Similar situation in my WAR.
Is there any kind of ballpark on when 3.2 is going to be released? I have some
code I need to integrate into the jBPM core, and I had planned to use 3.1.2,
unless 3.2 is going to be released soon.
Any idea?
Thanks,
Brad
View the original post :
Here is the code of my business process:
| ?xml version=1.0 encoding=UTF-8?
|
| process-definition
| xmlns= name=Solicit
|start-state name=start
| transition name= to=validateSecurityToken/transition
|/start-state
|end-state name=end1/end-state
|node
Ah yes, my dunce alarm wasn't faulty. Thanks for the tip. Somehow from looking
at examples I was under the impression that transitions could reference names
of the nodes transitioned to, not the name of the transition itself. Thanks for
the help -- I added a transition name and it worked.
Hello -- I need your advice on the best way to structure a particular business
process using jbpm 3.1.1. What the business process actually needs to
accomplish is the following in order:
1) Save information to custom tables in the database.
2) Wait until midnight.
3) Retrieve the information
Using jbpm 3.1.1, I am trying to accomplish the following:
1) Create a timer.
2) Execute some action as the result of the timer waking up and being serviced.
My question regards how to structure the business process in conjunction with
the proper setting of the timer's transition. I have
Ugh...laptop gone wild. Sorry about the ugly post above. Accidental hit of the
return key before I formatted the code. Anyway, here it is in readable form:
| public void execute(ExecutionContext executionContext) throws Exception {
| log.debug([execute]: Enter.);
|
| try {
|
Hello,
I am trying to create a timer in a business process, and save it to the
scheduler. I get no errors when creating or saving the timer. However, it does
not appear that anything is getting saved to the database. The JBPM_TIMER table
is empty. Here is the code I am executing inside of my
The code which wraps the execution of this business process saves the process
instance both before the business process is executed and after. Here is the
code:
| JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
| try {
| log.debug([solicit]: Getting graph session.);
I have a related question to this -- I have a simlar need, having extra tables
that need to be added to the schema and managed by Hibernate. Is the common
approach to this to alter the jbpm.sar, and rebuild it, or to just abandon the
sar altogether and integrate the contents of the sar (which
Ronald,
I went out to the download site and cvs a while ago -- by 3.2 did you actually
mean 3.1.2? I don't see any version indication in the cvs tree, where can I
find 3.2? Is it just simply what is sitting on HEAD in cvs, or is it the 3.1.2
distribution on the download site that was released
Hello,
I am currently using jBPM 3.1.1. I have had jBPM 3.2 recommended to me, but I
need some clarification on how to obtain 3.2. On the download link for jBPM,
there is a 3.1.2 version that was released a couple of days ago. Is this 3.1.2
release actually the 3.2 version that has been
luca,
Thanks for the reply -- do you happen to know if the same benefits mentioned in
3.2 (the date pickers working as Ronald mentioned) are available in 3.1.2?
Thanks,
Brad
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3959723#3959723
Reply to the post :
Hello -- I have created a simple process that contains invocations of other
Java classes via a node's ActionHandler implementation. This is a business
process needs to be saved on creation, and saved on completion / exit. My
question is this: is it typical to save processes in the code invoking
Ronald,
Thanks a million for the speedy reply. You are a fountain of knowledge and
quick on the draw too!
Cheers,
Brad
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3958916#3958916
Reply to the post :
I am trying to deploy a JBPM process to the server, but I have incorporated the
Upload servlets into a new webapp, not the one from the starter's kit. When I
test the connection from the jbpm Eclipse plugin to my running JBoss server, I
see the following URL is attempted:
Newbie007,
Thanks for your reply. Regarding your post:
newbie007 wrote : Which JPD version you are using? I am using 3.0.9.x and you
can specify
| the server port and server name during the deployment.
|
| If you are using old version, you can save the .par file locally and
| deploy
oopsI neglected to mention versions...sorry. I am using:
- Eclipse 3.1.2
- JBPM Plugin 3.0.9
- JBPM 3.1.1 - (and the starter's kit webapp code)
Thanks
Brad
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3958971#3958971
Reply to the post :
Ronald,
Hey thanks for the tip! That *is* a bonus!
Cheers,
Brad
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3958558#3958558
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3958558
cpob,
Thank you very much for the reply. I have the same text as you in my
jbpm.cfg.xml file. So if it isn't a matter of what's in the config file itself,
perhaps it is an issue of where the file is located.
Within my jbpm.sar file, there is a file called jbpm.sar.cfg.jar, and inside of
it,
Problem solved. The problem was apparently that I had no jbpmContext.close()
operation, so although everything was executing properly, no commit was ever
done on the SQL transactions performed on the context.
However, this begs another question, which is directly applicable to my code
that I
Ronald,
Thanks a lot for your help. The U worked like a charm, and allowed me to save
my record. Login also worked as a result. However, after logging in, if I try
to click on the Home link, I get the following in the JBoss log, even though
the page seems to render properly:
| 14:12:04,515
Ronald,
Ok, understood. Thanks for the answer. Supposing I were to contribute a history
table to the db schema, how in your view would be the best way to handle
writing history? Would it be best to add it as an automatic function done at
the time a process instance is created, or leave it a
After further review, I think the links given may have left some important
information out, in combination with possibly some confusing comments in the
default jbpm.cfg.xml file. Anyway, I altered my jbpm.cfg.xml file once again,
to be exactly the same as the default file (the reason I did this
kukeltje wrote : No answers? I'll only respond to one thing now, the
3.0.3/3.1.1 thing.
|
| The moment you mentioned you were using 3.03 instead of the latest 3.1.x
you got an answer that 3.03 and 3.1 are different. If you had stated that
earlier, you would have gotten a more specific
48 matches
Mail list logo