[JBoss-user] [JBoss jBPM] - Re: [jBPM][3.1.1] Get a timer instance with API

2006-07-10 Thread cpob
This looks like a bug to me.

I made a change in Timer.java to fix this.

I inserted a line around line # 75 (in the execute() method):
executionContext.setTimer( this );

This sets the execution context's timer properly.

I have yet to write a JIRA issue for this though.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956780


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: re : Decision Hanlder

2006-07-10 Thread cpob
You're right... It looks like decision doesn't allow you to programmatically 
create the decision handler.

My suggestion is to build jBPM yourself, and add in a method in Decision that 
allows you to set the decisionDelegation.

Building jBPM yourself is easy, I'm doing it currently for some issue w/ Timers 
not getting their execution context set properly.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956772


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: re : Decision Hanlder

2006-07-10 Thread cpob
That is how you define actions... almost.  Actions do not always have to be 
with events.  An action can be defined inside a Node (or Decision) as well.

You're on the right path, but don't be too quick to give up. You gotta make 
sure all the elements are set up properly

Try doing a .setProcessDefinition(processDefinition); on both your action and 
your delegation in addition to what you have.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956728


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: re : Decision Hanlder

2006-07-10 Thread cpob
You have to add the Handler to the decision node for it to work.

Look at the API for Decision.

There's a setAction method.  Create a new action and set it to the decision 
object using that method.

You'll have to investigate what creating a new action involves (you have to 
create a new Action Delegation).

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956634


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: How to invoke a business process in JBoss

2006-07-07 Thread cpob
I almost posted a reply before Ronald did, and it was almost identical to what 
he replied (the 4 listed responses at least).

Going through the source code for the WebApp provides a lot of help too, if you 
haven't looked.

Now, back to your first question, you say:
brado wrote :  in the examples, I see a runtiime method of deployment where a 
process is uploaded to the server. I also see in the examples, programmatically 
loading a process definition from a file. Obviously, I want to do neither of 
these.

The thing is, you HAVE to do one of those.  You have to deploy a process 
definition to the jBPM engine for it to be available.  Once it is deployed, it 
is forever in the database, which will never have to be deployed again (even 
between server restarts).

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956260

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: ActionHandler in node not called unless inside transitio

2006-07-07 Thread cpob
Action is not a valid element inside of state.  A state is just a 'wait-state' 
that sits there until someone signals the token out of it.

If you want a state that performs an action like that, use a node element.  You 
are allowed to put an action inside the node element like you are trying with 
state.  The action in the node will get fired whenever it gets to the node.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956256

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: create swimlane programmatically

2006-07-05 Thread cpob
You programmatically create the swimlane, but you don't tie it to anything in 
the Process Definition.

You'll have to add the swimlane to the processdefinition's task management 
definition:

  | pd.getTaskMgmtDefinition().addSwimlane(s);
  | 


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955504

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Task Management Definition maps tasks by name

2006-07-05 Thread cpob
Reported - http://jira.jboss.com/jira/browse/JBPM-689

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955496

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Task Management Definition maps tasks by name

2006-06-30 Thread cpob
Nevermind my last paragarph, I realize you can just do a TaskNode.getTasks(), 
and that should give me tasks for each node (if I iterate over each node).

It still seems like a bug that there's no restriction over task names when 
editing through the GPD or deploying, or... something.



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954699

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Task Management Definition maps tasks by name

2006-06-30 Thread cpob
In our web application, we are digesting the process definition to manipulate 
it to our liking before we deploy it.

We take the .par file from the user, we go through the ProcessDefinition object 
to add our events/actions/assignment handlers/etc, and then deploy that.

I ran into a problem today, which I think is a bug, but I wanted to get a 
feeling out there if anyone has any insight.

When you do processDefinition.getTaskMgmtDefinition().getTasks()
it returns a MAP of tasks for the entire process definition.

By default, the GPD creates all tasks as "task1" when it is the first task on a 
task node.   I created a quick test process, and just blindly added tasks to 
each node without naming them.  They were all named as 'task1' by default.

Now, instead of seeing the 6 tasks when I getTaskMgmtDefinition().getTasks(), I 
get one because the map is keyed by the name of the task.

I know I could just query the database to get all the tasks, but this just 
seems like a glaring issue.  I know people should rename tasks, but what if 
someone has two task-nodes in a huge process, and they both have tasks called 
"Send Message".  Everything kinda falls apart there.

Is there another way in the API to get tasks for a given task-node that I'm 
missing, or a way (besides the obvious hibernate query) to get a list of tasks 
for a process definition?  If not, that's fine, I'll just use a hibernate 
query, but I wanted something in the API.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954698

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Urgent , pb with the hibernate session

2006-06-30 Thread cpob
"mneja82" wrote : "kukeltje" wrote : I'm not going to be nice (I think) but 
could the problem be that you are a beginner in Java to?
  | 
  | So please a solution

The problem is, this error is immediately obvious to someone with any decent 
Java experience.
Unfortunately, this is not the place for Java help, strictly for jBPM help.

Though, I'll throw you a bone:
Your issue is that you do not have Hibernate on the classpath.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954670

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: function for print the active task and process.

2006-06-30 Thread cpob
This is something which is in the jbpm sample webapp.

I suggest you dig through the webapp code and become more familiar with their 
code, as it has many examples.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954669

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: spawning multiples subprocess instances

2006-06-29 Thread cpob
"smalbequi" wrote : concerning the solution to delete the transition, i think 
the join will never do it's job.

As long as the join receives all of the child tokens created in the fork, the 
join will complete.  Since your subprocess will finish X number of times, then 
all those tokens should move along.

But, since it is editing the processdefinition, what happens if someone else 
happens to be iterating at that point at the same time?  You could have crazy 
collisions, so still not the best of ideas.



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954397

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: spawning multiples subprocess instances

2006-06-29 Thread cpob
You could always delete those transitions after you go to them.

Could you just create new child tokens from the root, and then just do the 
token.setNode( yourNode ); for each of them to force them on there without 
changing the process definition?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954357

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: task-assign event firing

2006-06-28 Thread cpob
I'd suggest you create a JIRA issue (after making sure there's none previously, 
I did a quick search w/ no results).

If you do, I'll vote on it, because I support that something needs to be done 
about it.
It could lead into a world of debate as to which way to handle the event 
though, which isn't a bad thing.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954177

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: task-assign event firing

2006-06-28 Thread cpob
I was going to agree with the 2nd event for group assign events, but then I 
started debating myself.

Either way, I agree that something should be done.  
I just searched the JIRA and didn't see anything related to task-assign and 
pooled/groups.

smokeman, in the meantime, you could always just add the firing of the event 
from the TaskInstance code you referenced in setActorId(...) into the 
setPooledActors(...) if you can/are compile the jBPM source for your project.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954131

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: task-assign event firing

2006-06-28 Thread cpob
Ronald, so when it is assigned to a group, that event should be firing also?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954040

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: task-assign event firing

2006-06-28 Thread cpob
Once again, I'll post to this thread, sorry for all the replies.

I tested it out, where you have your event is ok, that works fine.  (At least 
it does with user(bert) for me).

Now, with a group, perhaps it doesn't fire because it is technically not being 
directly assigned to anyone, just placed in an actor pool/group.  When an 
actor/user sees this task available in their pool, and then grab it to use, you 
are supposed to assign it to that user at that point, and BAM, that's when the 
real task-assign event should occur.  At least, that's what I think.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954026

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: task-assign event firing

2006-06-28 Thread cpob
Then again, 
http://docs.jboss.com/jbpm/v3/userguide/jpdl.html#processdefinition.element 
does show events as being able to be defined in the process definition, but not 
much detail specifically there.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954016

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: task-assign event firing

2006-06-28 Thread cpob
>From my understanding, you have the  element in the wrong section.

task-assign events have to be inside the  element to identify what task it is 
associated with.

http://docs.jboss.com/jbpm/v3/userguide/jpdl.html#task.element  Look at the 
user guide's schema layout.  They have the event element inside the task 
element.

anonymous wrote : event element [0..*] supported event types: 
{task-create|task-start|task-assign|task-end}. Especially for the task-assign 
we have added a non-persisted property previousActorId to the TaskInstance

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954015

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: spawning multiples subprocess instances

2006-06-28 Thread cpob
Couldn't you also just use a fork, have n transitions to the sub process node 
and then a single transition from the join?

Like this:

  | 
  | 
  | 
  |   
  | 
  | 
  |   
  |
  |   
  |
  |
  |   
  |
  |
  |
  |   
  |   
  |   
  |
  |  


Oh wait, nevermind, you want to decide at runtime how many to make.  The above 
code solution from smalbequi is better then :)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954003

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: having custom node with gpd

2006-06-28 Thread cpob
Since it is an open source product, of course it is possible, if you want to 
edit and compile the GPD.

However, that being said, you need a fair amount of experience with numerous 
technologies to rebuild the GPD.  Eclipse plugin development, SWT, GEF, etc.

The current state does not support custom nodes, but that would be something 
great to see in the future :)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953993

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: State events fire order

2006-06-28 Thread cpob
What you need to think about is separation of processes.  You need to ignore 
the node enter on to your Node(First)  That happened with the previous signal, 
and does not happen in the signal while your token is in 'First'

For example, we have a simple graph, made of 2 simple nodes, A and B.

Currently your token is on A.

You would then signal the token.  Before Signal gets fired.
The signal would cause the token to leave A. Leave Node (for node A) fires
The token would then enter Node B Node Enter (for node B) fires
The token would then be done signalling After Signal

You're going to see node leave/enter for 2 separate nodes across a signal 
event, since that signal causes the transition.

The signal method is just a way to tell the token to move to the next 
node/state/etc on a specific transition).  You have to signal the token (ending 
a task does this as well), for it to move to the next node, which is why you 
have to have a begin signal before you can have a leave node.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953992

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: State events fire order

2006-06-27 Thread cpob
Sorry, I forgot to post my log:


12:46:16,671 DEBUG [GraphElement] event 'before-signal' on 'StartState(start)' 
for 'Token(/)'
  | 12:46:16,671 DEBUG [GraphElement] event 'node-leave' on 'StartState(start)' 
for'Token(/)'
  | 12:46:16,671 DEBUG [GraphElement] event 'transition' on 'Transition(to 
node)' for 'Token(/)'
  | 12:46:16,671 DEBUG [GraphElement] event 'node-enter' on 'TaskNode(node1)' 
for 'Token(/)'
  | 12:46:16,671 WARN  [StatefulPersistenceContext] Narrowing proxy to class 
org.jbpm.graph.node.TaskNode - this operation breaks ==
  | 12:46:16,671 DEBUG [GraphElement] executing action 'action[node enter 
action]'
  | 12:46:16,681 DEBUG [VariableContainer] create variable 'message' in 
'TokenVariableMap1b7a261' with value 'NODE ENTER'
  | 12:46:16,681 DEBUG [GraphElement] event 'task-create' on 'Task(task1)' for 
'Token(/)'
  | 12:46:16,681 DEBUG [GraphElement] event 'after-signal' on 
'StartState(start)' for 'Token(/)'

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953778

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: State events fire order

2006-06-27 Thread cpob
I got a different order.


You have to have a BEFORE SIGNAL, before you can even leave the node, then you 
leave the node, then you enter the NEXT NODE,a nd then it's the after signal.

Below is the processdefinition.xml I used

  | 
  | 
  |
  |  
  | 
  |   
  |   
  | 
  |   
  |   
  |  
  | Going to the first state!
  |  
  |   
  |   
  |
  |
  |   
  |  
  | About to finish!
  |  
  |   
  |
  |
  |
  |   
  |   
  |  
  | BEFORE SIGNAL
  |  
  |   
  |   
  |  
  | AFTER-SIGNAL
  |  
  |   
  |   
  |  
  | NODE ENTER
  |  
  |   
  |   
  |  
  | Node LEAVE
  |  
  |   
  |   
  |
  | 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953777

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: redeploying processDef problem

2006-06-23 Thread cpob
anonymous wrote : ProcessDefinition procDef = 
ProcessDefinition.parseXmlResource(mapName); 

Sounds like that mapName is being incorrectly specified, or is pointing to the 
old xml?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953084

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Using Jbpm witout webapp

2006-06-23 Thread cpob
Perhaps you could collaborate with the other person requesting a MBean to work 
on one together, and then contribute that to the project? :)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953000

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Using Jbpm witout webapp

2006-06-23 Thread cpob
Well, since you were going to be using jBPM without a webapp, I assumed you 
were not going to be running inside of any application server.

What exactly is it that you want to do?  Then we'll have a better understanding 
for how to help.

Do you want a standalone desktop Java application to do everything?  Do you 
want that app to access a 'jBPM server'? etc?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3952992

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Using Jbpm witout webapp

2006-06-23 Thread cpob
"chimera84" wrote : I'm a newbie in Jboss and jbpm :
  | 
  | Does  anyone have an example on how to access to the Jbpm engine not beeing 
in a webapp.  The Junit test cases given  in the  starter kit look fine but 
they do not access to a procress deployed on jboss.
  | 
  | Futhermore, How can I deploy a Jbpm process in Jboss ?
  | 
  | I didn't find anything in the wiki pages nor in this forum...

First off, instructions for deploying a Jbpm process are readily available.  
See this thread http://www.jboss.com/index.html?module=bb&op=viewtopic&t=85420 
that I recently replied to.

The process itself does not get "deployed to jboss".  You deploy it to the jBPM 
engine, wherever that might be (jBoss, WebSphere, straight java application).

The JUnit test cases do this, but perhaps not all in one.  Look at the 
ProcessArchiveDeploymentDbTest, which shows how to programatically deploy a 
.par file.  Then you can apply that technique and modify other test cases to 
use the recently deployed process.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3952975

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: How to deploy a .par file?

2006-06-23 Thread cpob
"DerJohannes" wrote : I have been searching for a long time to find out how to 
deploy in java a .par archive...

There are numerous sources,readily available, instructing how to deploy.

I posted to a recent thread at 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=85365 about how to 
programatically deploy a .par file.  This example is in some of the test cases 
provided by the jBPM source.   The sample webapp also has a servlet which will 
accept a .par file upload and will deploy that file.

The Starters guide in the wiki 
(http://wiki.jboss.org/wiki/Wiki.jsp?page=JbpmGettingStarted) has a section, 
"Deploy your process to JBoss jBPM".

And, it's also in the User Guide 
(http://docs.jboss.com/jbpm/v3/userguide/jpdl.html#theprocessarchive).  True, 
the user guide is a bit 'stale', but it still lists the 3 possible ways of 
doing it.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3952972

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: How to programatically deploy a PAR to a remote JBoss in

2006-06-21 Thread cpob
Unfortunately, no.

According to the FAQ in the Wiki:

anonymous wrote : Does jBPM have JMX integration and if so, how does it look 
like?
  | 
  | In the starters-kit, jBPM comes deployed as an MBean. But for the moment, 
this mbean is only used to put the JbpmConfiguration? in JNDI. No properties or 
management operations are available yet on this MBean. 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3952443


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: How to programatically deploy a PAR to a remote JBoss in

2006-06-21 Thread cpob
If you check the JUnit tests, 
org/jbpm/jpdl/par/ProcessArchiveDeploymentDbTest.java has examples on how to 
build a simple .par, as well as deploy it.

The deploy:
ZipInputStream zipInputStream = new ZipInputStream(new 
FileInputStream("your/par/file/name/here"));
  | ProcessDefinition processDefinition = 
ProcessDefinition.parseParZipInputStream(zipInputStream);
  | jbpmContext.deployProcessDefinition(processDefinition);

You just need to worry about getting the PAR from machine A to machine B.  You 
could do it as a HTML Multipart Post, or FTP, or however you want.  Anyway to 
get the file physically to the other machine (with a known path) is the pain 
point of your issue.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3952437


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user