I'm sure not all of this is necessary, but I threw it all at it, and it worked.
Whenever I trimmed anything, it didn't. This can't be right, since it seems to
create a second timer, but I took care of that in the handler.
timer = new Timer(pi.getRootToken());
What I mean by launch in the server is:
1) I use the designer to create a process and unit tests that work as I intend
2) I deploy the process to the server, it works as I intend, I can interact
with it from the console
3) Now, I want to write a class that starts a new instance of the process in
I understand jdpl, know how to create, unit test, deploy, and debug a process.
I created a process with a timer in it that works.
Now, all I want to do is create a class that gets a process instance from that
same db that that console sees (public), starts it up in the engine, so that I
can
I am not saying that this is right, but I have a process with a timer, and it
fires once, so I attach a handler to it that transitions back to the same node
if the condition is not met, so then the timer gets set again.
View the original post :
The whole deploy from the IDE process seems very brittle. I took the websale
example, it worked and deployed fine, then I added a node to the diagram
without any transitions to the existing process, and I get the same deployment
error. Then I removed the node, and it still wouldn't deploy. Then
Did you ever get an answer to this? I am having the same problem all the time.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4108074#4108074
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108074
Reason: An unexpected exception caused the deployment to fail.
I keep running into this. I have worked the samples, they work, I have the
console running and I can deploy and run processes straight out of the book,
but when I try to run the simplest hello world type of process that I create
Sorry, the xml didn't render properly, let me try again
?xml version=1.0 encoding=UTF-8?
|
| process-definition xmlns=urn:jbpm.org:jpdl-3.2 name=simple
|start-state name=start
| transition name=to_wait to=wait for signature/transition
|
|/start-state
|
|
I want to programmatically start a process. It seems pretty simple, just use
the constructor with the process definition. I do it and it seems to work, but
the process never shows up in the console.
I think the problem is that when I deploy from the JBoss IDE for eclipse, it
says the deploy
nothing at all shows up in jbpm-jdpl-3.2.2/server/server/jbpm/log/server.log;
every 5 seconds it just does its thing and nothing shows up for the failed
deploy. The failure seems to be a syntax error, since when I have a 2 node
diagram, it deploys fine, but when I add another node, it won't.
10 matches
Mail list logo