[JBoss-user] [JBoss jBPM] - Re: Why different ClassLoader Instances for different Action

2006-05-29 Thread cwad0000
we have the very same problem in our project, does anyone know of a a solution? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3947535#3947535 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3947535 -

[JBoss-user] [JBoss jBPM] - more than 255 chars for processvariable?

2006-05-29 Thread cwad0000
hi, currently there is a limit to 255 chars for the value of a String processvariable. Can I run into problems if I simply make the column STRINGVALUE_ in table jbpm_variableinstance longer? (e.g. longtext) it seems to work fine for now, but maybe I will run into unexpected problems further d

[JBoss-user] [JBoss jBPM] - Q get all tasks for a user (not only open tasks)?

2006-05-24 Thread cwad0000
it seems like taskMgmtSession.findTaskInstances(actorid) only returns the open tasks for a user. How can I retrieve a "history" of all tasks the user has worked on? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3946109#3946109 Reply to the post : http://www.

[JBoss-user] [JBoss jBPM] - Re: How to get process logging?

2006-05-11 Thread cwad0000
Thanks, I will give your code a try. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3942997#3942997 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3942997 --- Using T

[JBoss-user] [JBoss jBPM] - Re: How to get process logging?

2006-05-11 Thread cwad0000
"kukeltje" wrote : | | http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3942962#3942962, don't you think that solution is better than to write custom messages? afaik the information is almost the same or do you write some additional info? does this mean that I do NOT need to write a

[JBoss-user] [JBoss jBPM] - How to get process logging?

2006-05-11 Thread cwad0000
can someone show me examples how to use the process logging? I am primarily interested in extracting information about the processes (which nodes was traversed, etc) I tried to fetch information using findLogsByProcessInstance, but it only seems to return some initial information from the first

[JBoss-user] [JBoss jBPM] - how to treat technical problems in a workflow?

2006-05-10 Thread cwad0000
e.g. if i have an action associated with a task node where i read an important process variable, and for some reason cannot get a proper value, the workflow should come to an halt so an admin guy can sort the technical problems. this is just an example, it could be anything; in a handler I use a

[JBoss-user] [JBoss jBPM] - Re: Getting previous Node?

2006-05-09 Thread cwad0000
thanks tansdale, i ended up saving the node name in each node in a process variable, not very pretty, would have been nicer if I could find out how the path in hte workflow was. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3942118#3942118 Reply to the post

[JBoss-user] [JBoss jBPM] - Getting previous Node?

2006-05-08 Thread cwad0000
In a node I want to find out what node that was previous in the chain, is that possible? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3941811#3941811 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3941811 ---

[JBoss-user] [JBoss jBPM] - Re: Incorporate Process logging

2006-05-04 Thread cwad0000
Hi, can someone please provide an example how the logging works. I am (so far) only interested in the transitions that happend in the workflow. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3941299#3941299 Reply to the post : http://www.jboss.com/index.html

[JBoss-user] [JBoss jBPM] - Re: how to use duedate? (in a task, NOT timer)

2006-04-20 Thread cwad0000
ah, thanks folks for clearing it up. The trick with adding both a timer and due date seems to serve the purpose fine for me, many thanks for that. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3938478#3938478 Reply to the post : http://www.jboss.com/index.h

[JBoss-user] [JBoss jBPM] - Re: how to use duedate? (in a task, NOT timer)

2006-04-19 Thread cwad0000
I want to be able to extract the information for each task, when it was created/started/when it is due (to be able to show this information in a todo list for the user and as overall information for managers, e.g. highlight all tasks where the due date is overdue etc) In the jbpm_taskinstance I

[JBoss-user] [JBoss jBPM] - Re: how to use duedate? (in a task, NOT timer)

2006-04-12 Thread cwad0000
Thanks, but I do NOT want to use the timer functionality, I want to use the duedate on the task as I had in my example. That will set the due date in jbpm_taskinstance, but I cannot find any documentation how that due date is used. I would expect that some kind of event is thrown, but I cannot f

[JBoss-user] [JBoss jBPM] - how to use duedate? (in a task, NOT timer)

2006-04-11 Thread cwad0000
if I have a task-node like this, how can I trigger a call to a class when the duedate is passed? I couldnt find any information about that. is there an event that is triggered? | | | | | | | | | | | | | View the or

[JBoss-user] [JBoss jBPM] - Re: Q about actions and trigger transitions

2006-04-05 Thread cwad0000
Thanks Ronald, that seems to do the trick. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935139#3935139 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3935139 --- Th

[JBoss-user] [JBoss jBPM] - Re: Q about actions and trigger transitions

2006-04-05 Thread cwad0000
ok, type should be 'node-leave' i reckon, then my code is executed, but I end up in an infinite loop...even though both transitions goes to nodes that will point to end, so no loops in my workflow. i am very confused by this behaviour this is my handler code | public void execute(Executi

[JBoss-user] [JBoss jBPM] - Re: Q about actions and trigger transitions

2006-04-05 Thread cwad0000
I tried going the way with a task-node with one transition to a decision node, but in the decision node my action is ignored and it just continues to the first transition. Is my xml faulty? (i tried both with even type task-start and task-end, but my action code is not called) | |

[JBoss-user] [JBoss jBPM] - Re: Q about actions and trigger transitions

2006-04-05 Thread cwad0000
thanks for the quick reply kukeltje, some follow up questions: "kukeltje" wrote : | anonymous wrote : 1) how can my action class signal which transition to take (e.g. "go north)? | It shouldn't, actions in classes should not end the nodes themselves and take a transition | this seems to

[JBoss-user] [JBoss jBPM] - Q about actions and trigger transitions

2006-04-05 Thread cwad0000
I am trying to figure out how I should create a transition in my workflow, I would be thankful for any feedback. Imagine I have a workflow "TheWalkWorkflow", consisting of someone travelling a route. At some point in the process I will have a crossroad, where the user gives some input and depen

[JBoss-user] [JBoss jBPM] - Re: process definition question

2006-04-03 Thread cwad0000
it does not seem to be a jBPM problem, the problem seems to be when I try to return the List over the EJB remote interface (not possible to serialize?) hm. any ideas how to get around that? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934334#3934334 Reply

[JBoss-user] [JBoss jBPM] - Re: process definition question

2006-04-03 Thread cwad0000
I might add that the task exist in jbpm_taskinstance, is open and assigned to "donald". So imo the named query should have matched View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934300#3934300 Reply to the post : http://www.jboss.com/index.html?module=b

[JBoss-user] [JBoss jBPM] - Re: How to deployment a project jbpm to jboss 4.0.3

2006-04-03 Thread cwad0000
I copied the jbpm libs to server/default/lib restarted server and then deployed my .jar/.war/.ear as usual depending on what your hibernate.cfg.xml looks like, you might need to deploy a new DS as well. (in my case I use the same DS as the rest of my application) I think that was it... have a lo

[JBoss-user] [JBoss jBPM] - Re: process definition question

2006-04-03 Thread cwad0000
many thanks for the pointer to that thread, very useful! (no idea what I search for yesterday since i couldnt find it) I now managed to start it off, and assign a user to the swimlane | //get a swimlane | SwimlaneInstance swimLaneInstance = myTaskMgmtInstance.getSwimlaneInstance(

[JBoss-user] [Security & JAAS/JBoss] - Re: Mapping ldap groups to jboss roles? where?

2006-03-31 Thread cwad0000
works now, had to change the above config to | ... | OU=All Users,DC=DOMAIN,DC=COM | (sAMAccountName={0}) | ... | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933971#3933971 Reply to the post : http://www.jboss.com/index.html?module=bb&op=post

[JBoss-user] [JBoss jBPM] - Re: jBPM getting started wiki

2006-03-30 Thread cwad0000
looks like an excellent getting started guide. It would be really cool to have a reference to where the source code for the websale app is, since it contains things one probably wants to do (list tasks etc) I seem to find it partly here, but where is the web front end? C:\jbpm-starters-kit-3.1\

[JBoss-user] [Security & JAAS/JBoss] - Re: Mapping ldap groups to jboss roles? where?

2006-03-30 Thread cwad0000
hm, had some errors in the above config please ignore it,as far as I can see the code below should be correct it still does not work though, same problem: I get authenticated but it says that I do not have the specified role. | | | | com.sun.jndi.ldap.LdapCtxFactory

[JBoss-user] [JBoss jBPM] - Re: EJB examples with jBPM?

2006-03-30 Thread cwad0000
yes, but since they in the same paragaph said The stateless session EJB will be written against the J2EE 1.3 specifications so that it is deployable on any application server I assumed they were referring to an existing EJB (it was not clear that it was merely a recommendation that one should mak

[JBoss-user] [JBoss jBPM] - Re: EJB examples with jBPM?

2006-03-29 Thread cwad0000
ahthe user guide is out of date then The jBPM library can also be packaged and exposed as a stateless session EJB. This allows clustered deployment and scalability for extreme high throughput. The stateless session EJB will be written against the J2EE 1.3 specifications so that it is deploya

[JBoss-user] [Security & JAAS/JBoss] - Re: Mapping ldap groups to jboss roles? where?

2006-03-29 Thread cwad0000
thanks for the replies, I have read those pages (and all other information I could find)... Am I wrong in assuming that I need to do a mapping of my group names in active directory to the role names defined in web.xml? this is my login-config.xml com.sun.jndi.ldap.Lda

[JBoss-user] [JBoss jBPM] - EJB examples with jBPM?

2006-03-29 Thread cwad0000
I read that jBPM have a EJB that one can use, but I cannot find any (source code) examples on this, can someone please point me in the direction where I should look. cheers View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933392#3933392 Reply to the post : htt

[JBoss-user] [Security & JAAS/JBoss] - Mapping ldap groups to jboss roles? where?

2006-03-29 Thread cwad0000
hi, i am trying to use active directory together with jboss. I am getting authenticated via ldap fine, but it gives me a 403 since it says i do not have the correct role. I cannot figure out where the mapping from the ldap groups to the jboss roles should take place. In my web.xml i have got

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Correct EJB-QL generates faulty SQL. any ideas?

2006-03-27 Thread cwad0000
came to work, fired up emacs, loaded the deployment descriptor, got my coffe, started to looking at it, after 10 seconds: "hang on, where is my id tag?" it works fine now, cheers for the reply lafr View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933025#39330

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Correct EJB-QL generates faulty SQL. any ideas?

2006-03-27 Thread cwad0000
When looking in my server.log I see the following is created: 17:53:36,498 DEBUG: EJB-QL: SELECT OBJECT(o) FROM GenericRelation o WHERE (o.parent_type = ?1) 17:53:36,498 DEBUG: SQL: SELECT FROM glb_gen_relation t0_o WHERE ((t0_o.parent_type = ?)) I was expecting it to generate this SQL: 17:53:

[JBoss-user] [JBoss jBPM] - Re: How do I manually assign a task to an ActorID

2006-03-21 Thread cwad0000
*bump* this would interest me as well. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931507#3931507 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931507 --- This

[JBoss-user] [JBoss jBPM] - Re: documentation & examples?

2006-03-16 Thread cwad0000
thanks for the tip on looking at jbpm.test, I hadn't seen that one before. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930693#3930693 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3930693 --

[JBoss-user] [JBoss jBPM] - Re: basic process workflow question

2006-03-16 Thread cwad0000
thanks for the reply. you are right, by adding a task it goes into the wait state. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930687#3930687 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3930687 --

[JBoss-user] [JBoss jBPM] - Re: Why not standalone GPD?

2006-03-16 Thread cwad0000
its already planned in the roadmap. I normally do not eclipse, so are not too found of it either, however, I would like to see that they made the eclipse plugin stable first... it is nicer to have one really stable GPD (even if it is in eclipse), rather than two shaky ones... View the origina

[JBoss-user] [JBoss jBPM] - basic process workflow question

2006-03-16 Thread cwad0000
I have created a basic process Start State-> Node -> Task Node -> End State when I start the process, it will go from directly to End State after I have called instance.signal() once. I was expecting it to stop once by Node and once more by Task Node, have I misunderstood how it works? be

[JBoss-user] [JBoss jBPM] - documentation & examples?

2006-03-15 Thread cwad0000
I can hardly find any documentation apart from the Getting Started guide and the ppt presentations. Does it exist more examples somwhere? it is a bit hard to get started; atm my example process is going from start to end state immediatily and does not halt at the nodes/tasks in between (which I

[JBoss-user] [JBoss jBPM] - Re: problem with actionhandler

2006-03-13 Thread cwad0000
as i said, you have to edit the xml manually. e.g. to add action to a transition, replace the () with lt/gt (transition name="to_state" to="first") (action name="action" class="com.sample.action.MessageActionHandler") (message)Going to the first state!(/message) (/act

[JBoss-user] [JBoss jBPM] - Re: problem with actionhandler

2006-03-13 Thread cwad0000
found sort of a workaround by taking the action example from an empty process and copy it into the xml file directly. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3929732#3929732 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=

[JBoss-user] [JBoss jBPM] - Re: ActionHandler

2006-03-13 Thread cwad0000
then its not in the classpath i guess. If i start with a new empty project (with the sample files already added), and I choose to add an action, click browse. The list will be empty, however, if i start typing the name of the existing action class (MessageActionHandler) it will appear in the list

[JBoss-user] [JBoss jBPM] - Re: ActionHandler

2006-03-13 Thread cwad0000
you probably typed the wrong name. try use the browse button, and start typing the name of the class in the box to see if it finds it View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3929713#3929713 Reply to the post : http://www.jboss.com/index.html?module=bb&

[JBoss-user] [JBoss jBPM] - problem with actionhandler

2006-03-13 Thread cwad0000
Someone else already posted about this problem, but in the documentation forum, so I reckon this is the better forum to get a response. I get same problem, using the jbpm starter kit. anyone know what is wrong? anonymous wrote : | I am following the examples of the guide, in section 4.5 "Addi

[JBoss-user] [JBoss Getting Started Documentation] - Re: Action Handler Problem

2006-03-13 Thread cwad0000
same problem here. I am using the starter kit. Did you find a solution? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3929707#3929707 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3929707