[JBoss-user] [JBoss jBPM] - Re: Assign a task to 2 users, how please?

2006-03-01 Thread boerse
does it work this way? have you tried it?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3927189#3927189

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3927189


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Assign a task to 2 users, how please?

2006-03-01 Thread boerse
What I understand is that the assignation as is described in the documentation 
does not work, but I wonder why it is not being recognized *oficially*. Can't 
you just say?: no, for the moment being it does not work, so don't waste your 
time making 100 tries with something you won't get. That'd be pretty 
nice in my oppinion, that is, not giving ppl the hope to use that when 
everybody knows that it just does not work...

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3927222#3927222

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3927222


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: import authentication

2006-03-01 Thread boerse
ah, and I forgot to say I use Eclipse.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3927316#3927316

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3927316


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: import authentication

2006-03-01 Thread boerse
Hi Ronald

I'm using version 3.1. In the javadoc, i read:

Package org.jbpm.security.authentication

http://docs.jboss.com/jbpm/v3/javadoc/org/jbpm/security/authentication/package-summary.html
and there there is no JbpmDefaultAuthenticator:

anonymous wrote : Class Summary 
  | DefaultAuthenticationService   
  | DefaultAuthenticationServiceFactory   
  | JBossAuthenticationService retrieves the actorId as the name of the 
principal from the SecurityAssociation. 
  | JBossAuthenticationServiceFactory   
  | SubjectAuthenticationService gets the authenticated actor id from the 
current Subject 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3927315#3927315

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3927315


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: import authentication

2006-02-28 Thread boerse
it is not in version 3.1 afaik (at least i don't find it either in the javadoc  
or in the src-java).

Which version are you using?
Thanks!

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3926721#3926721

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3926721


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - import authentication

2006-02-27 Thread boerse
Hi, i'm trying to authenticate a user:

anonymous wrote : The default authenticator is 
org.jbpm.security.authenticator.JbpmDefaultAutenticator. That implementation 
will maintain a ThreadLocal stack of authenticated actorId's. Authenticated 
blocks can be marked with the methods 
JbpmDefaultAutenticator.pushAuthenticatedActorId(String) and 
JbpmDefaultAutenticator.popAuthenticatedActorId(). Be sure to always put these 
demarcations in a try-finally block. For the push and pop methods of this 
authenticator implementation, there are convenience methods supplied on the 
base Authentication class. The reason that the JbpmDefaultAutenticator 
maintains a stack of actorIds instead of just one actorId is simple: it allows 
the jBPM code to distinct between code that is executed on behalf of the user 
and code that is executed on behalf of the jbpm engine

And i:

import org.jbpm.security.authentication.JbpmDefaultAutenticator;

and public String login() throws NoSuchElementException { 
  | setAuthorizedUserName(null); 
  | JbpmDefaultAutenticator.popAuthenticatedActorId(); 
  | 
  | IdentitySession identitySession = 
Context.getPersistenceContext().getIdentitySession(); 
  | 
  | try { 
  | Object userid = identitySession.verify(userName, userPassword); 
  | setAuthorizedUserName (userName); 
  | JbpmDefaultAutenticator.pushAuthenticatedActorId(authorizedUserName); 
  | return home; 
  | } catch (NoSuchElementException e){return login_error;} 
  | } 
  | 

but it says that:
import org.jbpm.security.authentication.JbpmDefaultAutenticator;

does not exist (like all the followings objets), what am i doing wrong? i want 
to authorize a user to enter the system.

Thank you!

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3926515#3926515

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3926515


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: TextBox - AreaBox

2006-02-24 Thread boerse
we're always in the same wars

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3926023#3926023

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3926023


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Assign a task to 2 users, how please?

2006-02-24 Thread boerse
Hi Elmo, thanks a lot for your reply, now i have to finish some othe tasks and 
i'm in a hurry, but as soon as i can i'll give it a try! Hope it helps other 
ppl of this forum, too!

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3926029#3926029

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3926029


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: TextBox - AreaBox

2006-02-24 Thread boerse
I hope someone from JBoss can tell us if it's possible, i'd need at least to 
know if is something possible or not... just a clue!

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3926030#3926030

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3926030


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Doubt canceling a timer and killing the tasks

2006-02-23 Thread boerse
Hi Alex

I've just noticed you are right and the token leaves the node 3 times, but does 
it represent a problem or a serious mistake? I think this way it just works and 
for the statistics (i'll have to make in the future) it does not affect since 
only the no-default nodes are taken (acept/cancel) when an action happens. I 
believe that jBPM shouldn't, by auto-ending the tasks automatically, propagate 
the token, i don't know what you think. Can it be a future improvement of jBPM 
to stop the flow of the by the system ended tasks?

What would be super would be to be able to assign a task to 2 users, so we 
weren't speaking about this now :)

About the jsf and the transition, i just removed from the available transitions 
those starting with _ (for example). If you want, i can share the code but it's 
nothing really special.

I'd be interested in collaborating in the development of jBPM, what should i do?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3925793#3925793

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3925793


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Assign a task to 2 users, how please?

2006-02-23 Thread boerse
Hi Elmo and thanks for your reply!

What you said is exactly what i want to make (and many of us, i suppose): a 
timer and 2 or more users, first-come-first serve and keep on working. That's 
the right point and what in the paper pefectly works, i tried again (as i had 
already done 100 times :)


  |   swimlane name=approver
  |   assignment expression=group(groupname)/
  |   /swimlane
  | 

but in my case, although i do that the task is assigned to null and the users 
of the group cannot permform the task. I believe there's a bug somewhere and i 
tried to report it http://jira.jboss.com/jira/browse/JBPM-563?page=all but it 
was refused. I found an alternative way to solve this problem but assigning a 
task to each user and ending the others when the first is served, but the 
central point of this post (i think) should be to clarify all of us if it's 
possible or not to assign a task to more than 1 user.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3925794#3925794

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3925794


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: TextBox - AreaBox

2006-02-23 Thread boerse
Hi! are this features available in version 3.1? I need to insert a textarea in 
my processdefinition and don't know how.

Thanks!

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3925940#3925940

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3925940


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Assign a task to 2 users, how please?

2006-02-22 Thread boerse
Hi Elmo,

enazareno wrote : 
  |  From what i understand of task assigned to pooled actors, only one 
actor can accomplish the task, but that user must belong to the pooled actors 
set. So if you check the actorid when a task is assigned to a pooled actor, the 
value is null. So its a first come first serve.
  | 
That's exactly what i think we all want, and i don't mind if the actor-id is 
null when i read the assignation-message, but the point is that when i login as 
one of the users that *should* be able to access and make the task (in an appl 
like websale) but he has no pending tasks. I wrote my own assignment handler to 
create a string[] of actors separated with , but it doesn't work in my case. I 
tried also with the classical expression 
previous--group(group_type)--member(boss) i thought so I could have at least 2 
users (previous and the boss, but nope).

enazareno wrote : 
  |  If you want to have concurrent tasks and you dont want it to continue 
unless all actors assigned to it have accomplished, then make the tasks 
blocking. I hope this helps.

I want exactly the other behaviour, that is: keep on the flow when the first 
possible actor ends the task. As I said, that's possible with the attribute 
signal=first-wait and end-tasks=true but the point is that not only the 
ended task takes his transition but the by the system terminated task takes its 
default-transition and because of that i make twice the same operation (if the 
by the user make task took the same transition) or i make once a task i 
shouldn't do because this auto-transition should never be taken. I don't know 
if I have explained myself. It's still early in the morning :p

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3925539#3925539

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3925539


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - 'secret' transition, is it possible to define?

2006-02-22 Thread boerse
Hello

is it possible to define in a task-node a transition dinamically, that is, from 
it you can exit through 2 nodes (for example) but you can define in a class or 
so a third (even dinamically) to a existing node.

Another possibility would be to define at the very beginning this 3 transitions 
but hide one of them to the user, so for them it does not appear as a 
possible transition button.

Thanks...

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3925566#3925566

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3925566


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Assign a task to 2 users, how please?

2006-02-22 Thread boerse
Hi Elmo, thank you for your quick reply:

My code is more or less:

  task-node name=order create-tasks=true signal=last
  | task swimlane=admin name=Control
  |   controller
  | variable name=var1 access=read/
  | variable name=var2 access=read/
  |   /controller
  |event type=task-end
  | action class=org.jbpm.example.endTasks/
  |   /event
  | /task
  | task swimlane=buyer name=Buyer-control
  |   controller
  | variable name=var1 access=read/
  | variable name=var2 access=read/
  |   /controller
  |   event type=task-end
  | action class=org.jbpm.example.endTasks/
  |   /event
  |/task
  | 
  | transition name=Confirm to=confirmed/
  | transition name=Cancel to=cancel /
  | 
  |   /task-node
  | 

and the action something like:

package org.jbpm.example;
  | 
  | import org.apache.commons.logging.Log;
  | import org.apache.commons.logging.LogFactory;
  | import org.jbpm.graph.def.ActionHandler;
  | import org.jbpm.graph.exe.ExecutionContext;
  | import org.jbpm.graph.exe.Token;
  | import org.jbpm.taskmgmt.exe.TaskInstance;
  | import java.util.Collection;
  | import java.util.*;
  | 
  | public class endTasks implements ActionHandler {
  | 
  |   private static final long serialVersionUID = 1L;
  |   
  |   String swimlaneName;
  | 
  |   public void execute(ExecutionContext executionContext) throws Exception {
  | 
  | Token token = executionContext.getToken(); 
  | log.info(###);
  | log.info(### TASKS-TERMINATOR );
  | log.info(###);
  | log.info( 
!+executionContext.getTaskMgmtInstance().hasUnfinishedTasks(token)+ );
  | 
  | TaskInstance ti= executionContext.getTaskInstance();
  | 
  | Collection tasks = 
executionContext.getTaskMgmtInstance().getUnfinishedTasks(token);
  | Iterator taskItr = tasks.iterator();
  | while(taskItr.hasNext()) {
  | TaskInstance ti2 = (TaskInstance)taskItr.next();
  | if (ti2!=ti) {
  | if(!ti2.hasEnded()  !ti2.isCancelled()) {
  | ti2.getContextInstance().createVariable(Ended by, 
Class);
  | ti2.setSignalling(false);
  | ti2.cancel();
  | }
  | }
  | else {
  | ti.getContextInstance().createVariable(Ended by, Class);
  |  }
  | }
  | 
  | 
  | ti.end();
  | 
  | 
  |   private static final Log log = LogFactory.getLog(terminarTareas.class);
  | }
  | 

I have also a timer in the process (in that task-node) but i don't have 
problems with it. The main point is that tasks always take their default 
transition (confirm in my case) and i don't want to execute twice the same 
action in that node. Now i'm trying to define a new default transition to a nop 
but it always appear as a button and i don't want the user to have this 
possibility. How do yo make to see how the task ended? do you distinguish 
between user and system ended tasks?

Thank you for your help. I didn't put my code in the first posts as i don't 
want to solve MY particular problem (although of course i want) but solve it as 
a general rule not only for me but for many other users of this forum who also 
have this problem.


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3925574#3925574

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3925574


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Radio button, textarea, checkbox, select file... how in jbpm

2006-02-22 Thread boerse
Hi

i've read in an old post that new versions of jbpm will have support for other 
form-fields different from text only (text area, radio-button, etc, i've been 
trying making different controllers but no success. Does anybody know how to 
define/use them or are they still future music?

Thanks a lot

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3925660#3925660

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3925660


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Doubt canceling a timer and killing the tasks

2006-02-22 Thread boerse
Hi Alex!

Thanks a lot, today i've been pretty busy developing and i did that a little 
different: i have 1 timer and 2 actors in a node (each with a task) and i want 
to keep on the flow as soon as timer expires or any of the actors perform his 
action. I set a default transition for all to a nop (just like you) node and i 
set the attribute properties of the task-node to first-wait and end-tasks=true. 
I order to avoid being visible this to-nop transition i modified the taskbean 
bean not to show (represent with buttons some transitions to the user) 
according to a rule i made. I'm glad to see we are on the same wave. What 
should i do to colaborate with the project? Slowly i start loving jbpm :)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3925717#3925717

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3925717


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Assign a task to 2 users, how please?

2006-02-21 Thread boerse
Hello, i've searched the forum and i found no successful result: is there 
anyway to assign a single task to 2 users? I tried via assignment expression, 
pooled-actors, etc, etc. Just a clue how to assign a single tasz in the way to 
2 users:

task swimlane=buyer name=task1
  |   controller
  | variable name=var1 access=read/
  | variable name=var1 access=read/
  | variable name=var3 access=read/   

  |  /controller
  | /task
  | 

Thanks... a lot!

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3925287#3925287

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3925287


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Assign a task to 2 users, how please?

2006-02-21 Thread boerse
hi mennen!

Nice to read you, i know you had the same problem and we never found a 
solution, hope anyone helps (it there is a solution). I think it's something 
very usefull for all us...

P.s. how's your develop going?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3925327#3925327

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3925327


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Assign a task to 2 users, how please?

2006-02-21 Thread boerse
:)

So do i, and i agree with you: superpowerful but time consuming. My develop is 
currently stoped because 2 related problems (one of them is multiuser 
assignment) and how to end a task. If you (or someone) needs help, if i know, 
i'll be pleased to help...

Hope someone can help us with this assignment... a simple working-example would 
save my life.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3925342#3925342

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3925342


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Help running HelloTest...

2006-02-21 Thread boerse
Try creating a new workspace and import the other proyect.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3925352#3925352

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3925352


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Assign a task to 2 users, how please?

2006-02-21 Thread boerse
What a shock, i thought i had an answer... :(
We can organize a club...
To the other users: PLEASE  HELP!

My mail (to colaborate) speichre at gmail dot com

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3925403#3925403

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3925403


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Assign a task to 2 users, how please?

2006-02-21 Thread boerse
Hello fmuhlenberg!

Thank you for the response. I'm already trying to to as you say, but i have a 
problem: (correct me if i'm wrong): in a task node with 2 (or more) tasks you 
can only assign an action (per task) under the event task-end (ok, task-start 
ok, but it's too early), so if i want only ONE of the tasks to be executed 
before leaving the node, you can program the attribute first, but the problem 
i have is that i have to programatically check and kill the pending tasks 
and that implies always that when the task is ended (or cancelled), the default 
transition is taken for each of the tasks, so if i want to confirm an order 
(for example), it'll be twice confirmed as the first task is ended by the user 
and the second is ended by the oder task. So I think i'd be perfect if I could 
simply assign a task to 2 users...

I hope with everyone's help we can solve this problem for all the forum.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3925481#3925481

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3925481


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Upload/download file with jBPM

2006-02-20 Thread boerse
Hello,

i would like to know what should i do to be able to upload a file and insert 
its reference in the default DB (HSQLDB) using only jBPM (31) and JBoss 
(403SP1). I've already searched the forum finding 
http://jboss.org/index.html?module=bbop=viewtopict=70966 but it's not very 
actual so in the new versions maybe there're new features regarding this point. 
Otherwise, has anyone used successfully a system like this? Thanks in advance...

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3924999#3924999

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3924999


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Doubt canceling a timer and killing the tasks

2006-02-20 Thread boerse
Hello,

i have a task-node with a task-timer and 2 other tasks assigned to 2 swimlanes 
and they wait for the action of the users. I want to keep on the flow when:

* one of then accepts/confirms the action (any of them)
* the timer expires

For that i made a class to timeout (for the timer) which looks for the 
notfinishedTasks in the node and one by one he cancels them. The problem is 
that for the flow to continue when one of the users confirms or cancels the 
operation i added in each of the by human acted tasks the event:   event 
type=task-end
  | action class=org.jbpm.example.timeout/
  |   /event

and this cancels all the tasks of the node except for his task, that is being 
ended. The problem is that as soon as i close one task (end or cancel, it's the 
same), this event enters and it starts killing on and on the tasks, making an 
error. So, can anybody give me a clue how to make a task assigned to 2 people 
with a timer with the exposed idea? I've tried 100.0 things and 
it does not work at all... i don't know what else to try, i also tried with 
assignment pooled-actors=user1, user2 for that task but no success...

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3925180#3925180

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3925180


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Process management, TaskInstance.PooledActors and User m

2006-02-17 Thread boerse
i'm completely desperated since days because i want to assign a task of a 
task-node to *2* differente users (via group,...) and there's no way. At all. I 
tried with assigment, rewriting the Handler,... and nothing. If someone ever 
got to assign a task to 2 users, please share it :(

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3924525#3924525

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3924525


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Error in adding action with GPD 3.0.8

2006-02-17 Thread boerse
I went back to 3.0.5...

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3924546#3924546

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3924546


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: error with GPD 3.0.8 Eclipse plugin

2006-02-17 Thread boerse
Start a new workspace and everything will go fine, it worked with me...

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3924562#3924562

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3924562


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Bug in the deployment of membership making assignents to

2006-02-17 Thread boerse
i forgot: BTW: all i want to do is to assign a task not only the user that 
started it but also his boss, is that too much? :(

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3924574#3924574

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3924574


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2006-02-16 Thread boerse
Hi, i'm still working arround this point. I have a task-node with several 
tasks. How can i do to cancel all tasks when the first of them is finished? I 
make a token.signal (or alternatetively TaskInstance ti= 
executionContext.getTaskInstance();   ti.end();, but the other tasks pending 
from that task-node are still active. I tried with create-tasks=true 
signal=first and so but no result... Thanks!

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3924166#3924166

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3924166


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2006-02-16 Thread boerse
Hi, i think the only way to end all tasks from the task-node is to kill them 
(or cancel them) in the action of the timer.

I added the code:
TaskInstance ti= executionContext.getTaskInstance();
  | //ti.end();
  | 
  | 
  | Collection tasks = 
executionContext.getTaskMgmtInstance().getUnfinishedTasks(token);
  | Iterator taskItr = tasks.iterator();
  | while(taskItr.hasNext()) {
  | TaskInstance ti2 = (TaskInstance)taskItr.next();
  | if (ti2!=ti) {if(!ti2.hasEnded()) ti2.cancel();}
  | {ti.end();}

So it should cancel the other task of the node (there are 2, timer and the 
other task that waits for the user's action) and end the timer one, but 
althought all processes are propery ended, it informs of an error:

14:02:27,758 DEBUG [TaskInstance] completion of task 'send_order' results in
  | taking the default transition
  | 14:02:27,768 WARN  [Timer] timer action threw exception
  | org.jbpm.JbpmException: couldn't signal token 'Token(/)' : node 
'EndState(end_state)' doesn't have a default transition
  | at org.jbpm.graph.exe.Token.signal(Token.java:121)
  | at 
org.jbpm.graph.exe.Token$$FastClassByCGLIB$$74df1c6e.invoke(generate
  | d)
  | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  | at 
org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializ
  | er.java:136)
  | at 
org.jbpm.graph.exe.Token$$EnhancerByCGLIB$$5810960d.signal(generated
  | )
  | at org.jbpm.taskmgmt.exe.TaskInstance.end(TaskInstance.java:408)
  | at org.jbpm.taskmgmt.exe.TaskInstance.end(TaskInstance.java:322)
  | at org.jbpm.taskmgmt.exe.TaskInstance.cancel(TaskInstance.java:313)
  | at org.jbpm.combustible.timeout.execute(timeout.java:57)
  | at org.jbpm.graph.def.Action.execute(Action.java:123)
  | at 
org.jbpm.graph.def.Action$$FastClassByCGLIB$$7876e90e.invoke(generat
  | ed)
  | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  | at 
org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializ
  | er.java:136)
  | at 
org.jbpm.graph.def.Action$$EnhancerByCGLIB$$c72232ad.execute(generat
  | ed)
  | at org.jbpm.scheduler.exe.Timer.execute(Timer.java:84)
  | at 
org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread
  | .java:118)
  | at 
org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:70)
  | 14:02:27,848 ERROR [Timer] unhandled timer exception
  | org.jbpm.graph.def.DelegationException
  | at 
org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:349)
  | 
  | at 
org.jbpm.graph.def.GraphElement$$FastClassByCGLIB$$7a7d6aa6.invoke(g
  | enerated)
  | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  | at 
org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializ
  | er.java:136)
  | at 
org.jbpm.graph.def.ProcessDefinition$$EnhancerByCGLIB$$13d1c6e9.raise
  | Exception(generated)
  | at 
org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:343)
  | 
  | at 
org.jbpm.graph.def.GraphElement$$FastClassByCGLIB$$7a7d6aa6.invoke(g
  | enerated)
  | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  | at 
org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializ
  | er.java:136)
  | at 
org.jbpm.graph.node.TaskNode$$EnhancerByCGLIB$$9de0c543.raiseExceptio
  | n(generated)
  | at 
org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:343)
  | 
  | at 
org.jbpm.graph.def.GraphElement$$FastClassByCGLIB$$7a7d6aa6.invoke(g
  | enerated)
  | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  | at 
org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializ
  | er.java:136)
  | at 
org.jbpm.taskmgmt.def.Task$$EnhancerByCGLIB$$a6c2cb06.raiseException(
  | generated)
  | at org.jbpm.scheduler.exe.Timer.execute(Timer.java:94)
  | at 
org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread
  | .java:118)
  | at 
org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:70)
  | Caused by: org.jbpm.JbpmException: couldn't signal token 'Token(/)' : node 
'EndS
  | tate(end_state)' doesn't have a default transition
  | at org.jbpm.graph.exe.Token.signal(Token.java:121)
  | at 
org.jbpm.graph.exe.Token$$FastClassByCGLIB$$74df1c6e.invoke(generate
  | d)
  | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  | at 
org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializ
  | er.java:136)
  | at 
org.jbpm.graph.exe.Token$$EnhancerByCGLIB$$5810960d.signal(generated
  | )
  | at org.jbpm.taskmgmt.exe.TaskInstance.end(TaskInstance.java:408)
  | at org.jbpm.taskmgmt.exe.TaskInstance.end(TaskInstance.java:322)
  |

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

2006-02-16 Thread boerse
Hi, i'm still on it and i tell you the news (for those who'll use it in the 
future):

i had 2 tasks in one task-node, the one for the timer and the other waiting for 
the action of the user, if timer is over, i signal or end (i don't see anu 
difference) the instance and i lose the token, in order to be able to end 
(cancel) the other task, i have to set signal=last, problem is that the 
process does not end until timer ends. More or less it will do, but now i want 
to add a second user that can perform an action, too, so i added the timer-task 
some interaction (because i assignment expression previous-- group(mygroup) 
does not work), so what should i do now? set 2 timers in the 2 tasks of the 
task-node in order to cancel the non-realised-task? I'm pretty confused... 
Isn't there any easier way to break out from a task-node by a timer without 
having to make all those spins?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3924326#3924326

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3924326


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: error with GPD 3.0.8 Eclipse plugin

2006-02-16 Thread boerse
and can you deploy? since i updated my version i cannot do it any more

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3924356#3924356

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3924356


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: error with GPD 3.0.8 Eclipse plugin

2006-02-16 Thread boerse
hi mdonato, and how do you deploy your .pars in the JBoss? have you ever tried 
using eclipse?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3924365#3924365

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3924365


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Task Assignment results in two tasks with same id

2006-02-16 Thread boerse
Hi Michael, your code is great and for one user works fine, but when i assign 
in the websale app (for example) to bernie, cookie monster a task, it does not 
say task assignet to bernie, cookie, it doesn't say anything and the tasks 
are not assigned, am i doing anything wrong? Thanx

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3924397#3924397

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3924397


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Assigning a task to-{group, rolebased,...}

2006-02-16 Thread boerse
this problem is still on the table...

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=392#392

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=392


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Bug in MEMBERSHIP creation

2006-02-15 Thread boerse
Hi Koen,

the name isn't vital for me at all, all i just *need* is to be able to assign a 
task to a group via assignment=expression as described above. I need a task to 
be potentially performed by at least 2 different actors: previous and his 
boss... and even in 3.1 it doesn't seem to work (for me, maybe i'm doing 
something wrong).

Regards

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3923835#3923835

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3923835


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Bug in MEMBERSHIP creation

2006-02-15 Thread boerse
Hi Koen,

do you mean it's not possible to assign a task to previous -- group 
(grouptype) (for example) as described without using a self-made handler? I 
want a task to be done by the user that started it and his boss (al least).
Thanks in advance...

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3923855#3923855

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3923855


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2006-02-15 Thread boerse
Ok, i'll try, one million thanks...

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3923858#3923858

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3923858


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Bug in MEMBERSHIP creation

2006-02-15 Thread boerse
i'll try it again deeply in 3.1, but in 302 it said i could not resolve 
group(mygrouptype). I'll keep on it... Thanks!

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3923860#3923860

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3923860


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2006-02-15 Thread boerse
I changed the code to make a signal, but the problem persists:

it leaves the node but the error is still here:

13:41:05,209 DEBUG [GraphElement] event 'node-leave' on 'Node(pedido recibido au
  | to)' for 'Token(/)'
  | 13:41:05,219 DEBUG [GraphElement] event 'transition' on 
'Transition(Terminar)' f
  | or 'Token(/)'
  | 13:41:05,229 DEBUG [GraphElement] event 'node-enter' on 'EndState(fin del 
proces
  | o)' for 'Token(/)'
  | 13:41:05,239 DEBUG [GraphElement] event 'process-end' on 
'ProcessDefinition(exam
  | ple)' for 'Token(/)'
  | 13:41:05,259 DEBUG [GraphElement] event 'after-signal' on 'TaskNode(cursar 
pedid
  | o)' for 'Token(/)'
  | 13:41:05,269 DEBUG [Services] executing default save operations
  | 13:41:08,433 DEBUG [StaticNotifier] woke up
  | 13:41:50,324 DEBUG [JbpmContextInfo] creating jbpm context with service 
factorie
  | s '[message, scheduler, logging, persistence, authentication]'
  | 13:41:50,324 DEBUG [HibernateSaveOperation] saving process instance
  | 13:41:50,334 DEBUG [SaveLogsOperation] flushing logs to logging service.
  | 13:41:50,354 DEBUG [CascadeSaveOperation] cascading save of 
'org.jbpm.graph.exe.
  | [EMAIL PROTECTED]'
  | 13:41:50,354 DEBUG [SchedulerThread] deleting timer 'timer(autoconf,org.j
  | bpm.example.timeout,13:41:04,978)'
  | 13:41:50,374 DEBUG [JbpmContext] closing JbpmContext
  | 13:41:50,374 DEBUG [Services] closing service 'persistence': 
org.jbpm.persistenc
  | [EMAIL PROTECTED]
  | 13:41:50,384 DEBUG [DbPersistenceService] committing hibernate transaction
  | 13:41:50,394 DEBUG [JbpmContext] creating JbpmContext
  | 13:41:50,394 DEBUG [DbPersistenceServiceFactory] creating persistence 
service
  | 13:41:50,394 DEBUG [DbPersistenceService] creating hibernate session
  | 13:41:50,404 DEBUG [DbPersistenceService] beginning hibernate transaction
  | 13:41:50,404 DEBUG [JbpmContext] closing JbpmContext
  | 13:41:50,414 DEBUG [Services] closing service 'persistence': 
org.jbpm.persistenc
  | [EMAIL PROTECTED]
  | 13:41:50,414 DEBUG [DbPersistenceService] committing hibernate transaction
  | 13:41:50,414 DEBUG [DbPersistenceService] closing hibernate session
  | 13:41:50,424 DEBUG [Services] closing service 'message': 
org.jbpm.msg.db.DbMessa
  | [EMAIL PROTECTED]
  | 13:41:50,424 DEBUG [CommandExecutorThread] waiting for more messages
  | 13:41:50,434 DEBUG [StaticNotifier] going to wait for (CMD_EXECUTOR, 
java.lang.O
  | [EMAIL PROTECTED])
  | 13:41:50,454 ERROR [AbstractBatcher] Exception executing batch:
  | org.hibernate.StaleStateException: Batch update returned unexpected row 
count fr
  | om update: 0 actual row count: 0 expected: 1
  | at 
org.hibernate.jdbc.BatchingBatcher.checkRowCount(BatchingBatcher.java
  | :93)
  | at 
org.hibernate.jdbc.BatchingBatcher.checkRowCounts(BatchingBatcher.jav
  | a:79)
  | at 
org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.jav
  | a:58)
  | at 
org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:
  | 193)
  | at 
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:230)
  | 
  | at 
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:145)
  | 
  | at 
org.hibernate.event.def.AbstractFlushingEventListener.performExecutio
  | ns(AbstractFlushingEventListener.java:296)
  | at 
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlus
  | hEventListener.java:27)
  | at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:905)
  | at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:345)
  | at 
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java
  | :106)
  | at 
org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceServi
  | ce.java:161)
  | at org.jbpm.svc.Services.close(Services.java:211)
  | at org.jbpm.JbpmContext.close(JbpmContext.java:138)
  | at 
org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread
  | .java:161)
  | at 
org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:70)
  | 13:41:50,554 ERROR [AbstractFlushingEventListener] Could not synchronize 
databas
  | e state with session
  | org.hibernate.StaleStateException: Batch update returned unexpected row 
count fr
  | om update: 0 actual row count: 0 expected: 1
  | at 
org.hibernate.jdbc.BatchingBatcher.checkRowCount(BatchingBatcher.java
  | :93)
  | at 
org.hibernate.jdbc.BatchingBatcher.checkRowCounts(BatchingBatcher.jav
  | a:79)
  | at 
org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.jav
  | a:58)
  | at 
org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:
  | 193)
  | at 
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:230)
  | 
  | at 
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:145)
  | 
  | at 

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

2006-02-15 Thread boerse
It's the only timer i have...

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3923927#3923927

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3923927


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2006-02-15 Thread boerse
Ok, done with a cancel-timer, BUT (immer a but) i do spring to the next node 
and end the process, BUT an action to be made in the temporized is still in the 
tasks to be performed by the assigned actor. Of course i want to abort all 
tasks related with this (already ended) process... 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3923956#3923956

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3923956


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Simple (and tricky) question on assigment

2006-02-14 Thread boerse
Following with this post and with 
http://jboss.org/index.html?module=bbop=viewtopict=76736 where is being 
informed about a possible bug in deploying the users in the memberships table, 
i inserted the values that it should have by hand and although the simple 
assignment did not work, (previous--group(mygrouptype)--member(mymember) it 
did worked when i assigned ONLY a user to the group in the form: 
group(mygroupname), i agree with other users i read in this forum, we are 
probably doing something wrong as what we try i'm sure it works ok, question 
is, where is our mistake... I keep on investigating and i'll tell you the 
results.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3923519#3923519

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3923519


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: assign a task to a group using assignment expression...

2006-02-14 Thread boerse
Bonjour Mennen, you had more luck than me. I'm still fighting against these 
assignments with the same problems like you. The data of the table 
jbpm_id_memberships has all the values ok? Mine (with 3.1B3 and JBoss 403SP1) 
returns null in the name field.

Other posts where we try to solucionate this task are (one of them were 
initiated by you).

http://jboss.org/index.html?module=bbop=viewtopict=76736[/url] and 
[url]http://jboss.org/index.html?module=bbop=viewtopict=77268. Hope we can 
find a solution

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3923565#3923565

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3923565


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: assign a task to a group using assignment expression...

2006-02-14 Thread boerse
Hi Mennen,

i'm now using 3.1B3 (originally 302) because i wanted to try if 3.1 had this 
problem solved, but it hadn't. :(

We're still on it

P.S. Are you sure it's a bug?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3923573#3923573

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3923573


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: jBPM 3.1 released

2006-02-14 Thread boerse
Thank you!

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3923589#3923589

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3923589


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: assign a task to a group using assignment expression...

2006-02-14 Thread boerse
So do i...

Anyway i'm going to try 3.1 (final) now... Hope it works, otherwise i'll... :|

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3923591#3923591

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3923591


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2006-02-14 Thread boerse
Hi Koen, thank you for the response, i've already read the docs but what i want 
to do is:

order- task node (accept/cancel order)- end

it's quite simple, if in a fixed period i don't accept or cancel explicity the 
order, it will be automatically executed and the system ends. I tried to make 
it in jbpm but when the timer starts, in the java:

package org.jbpm.example;
  | 
  | import org.apache.commons.logging.Log;
  | import org.apache.commons.logging.LogFactory;
  | import org.jbpm.context.exe.ContextInstance;
  | import org.jbpm.graph.def.ActionHandler;
  | import org.jbpm.graph.exe.ExecutionContext;
  | import org.jbpm.taskmgmt.def.Swimlane;
  | import org.jbpm.taskmgmt.def.TaskMgmtDefinition;
  | import org.jbpm.taskmgmt.exe.SwimlaneInstance;
  | import org.jbpm.taskmgmt.exe.TaskMgmtInstance;
  | 
  | public class timeOut implements ActionHandler {
  | 
  |   private static final long serialVersionUID = 1L;
  |   
  |   String swimlaneName;
  |   String msg;
  | 
  |   public void execute(ExecutionContext executionContext) throws Exception {
  | TaskMgmtDefinition taskMgmtDefinition = 
executionContext.getProcessDefinition().getTaskMgmtDefinition();
  | TaskMgmtInstance taskMgmtInstance = 
executionContext.getTaskMgmtInstance();
  | ContextInstance contextInstance = executionContext.getContextInstance();
  | 
  | Swimlane shipperSwimlane = taskMgmtDefinition.getSwimlane(user);
  | SwimlaneInstance shipperSwimlaneInstance = 
taskMgmtInstance.getInitializedSwimlaneInstance(executionContext, 
shipperSwimlane);
  | 
  | String actorId = shipperSwimlaneInstance.getActorId();
  | 
  | String displayMsg = a;//replace(msg, ${+swimlaneName+}, actorId); 
  | //displayMsg = replace(displayMsg, ${item}, 
(String)contextInstance.getVariable(item)); 
  | //displayMsg = replace(displayMsg, ${date}, 
(String)contextInstance.getVariable(date));
  | 
  | log.info(###);
  | log.info(### TimeOut: +displayMsg);
  | log.info(###);
  | 
  | executionContext.leaveNode();
  |   }
  | 
  |   static String replace(String msg, String pattern, String replacement) {
  | String replaced = null;
  | int pos = msg.indexOf(pattern);
  | if (pos!=-1) {
  |   replaced = msg.substring(0,pos)
  |  +replacement
  |  +msg.substring(pos+pattern.length());
  | }
  | return replaced;
  |   }
  |   
  |   private static final Log log = LogFactory.getLog(timeOut.class);
  | }

it leaves the node but informs of an error:

23:04:40,339 INFO  [timeOut] #
  | ##
  | 23:04:40,349 WARN  [Timer] timer action threw exception
  | org.jbpm.graph.def.DelegationException
  | at 
org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:349)
  | 
  | at 
org.jbpm.graph.def.GraphElement$$FastClassByCGLIB$$7a7d6aa6.invoke(g
  | enerated)
  | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  | at 
org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializ
  | er.java:136)
  | at 
org.jbpm.graph.def.ProcessDefinition$$EnhancerByCGLIB$$131c30ea.raise
  | Exception(generated)
  | at 
org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:343)
  | 
  | at org.jbpm.graph.def.Node.execute(Node.java:332)
  | at org.jbpm.graph.def.Node.enter(Node.java:316)
  | at 
org.jbpm.graph.def.Node$$FastClassByCGLIB$$d187eeda.invoke(generated
  | )
  | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  | at 
org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializ
  | er.java:136)
  | at 
org.jbpm.graph.def.Node$$EnhancerByCGLIB$$c68a987a.enter(generated)
  | 
  | at org.jbpm.graph.def.Transition.take(Transition.java:119)
  | at org.jbpm.graph.def.Node.leave(Node.java:382)
  | at org.jbpm.graph.node.TaskNode.leave(TaskNode.java:198)
  | at org.jbpm.graph.def.Node.leave(Node.java:346)
  | at 
org.jbpm.graph.def.Node$$FastClassByCGLIB$$d187eeda.invoke(generated
  | )
  | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  | at 
org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializ
  | er.java:136)
  | at 
org.jbpm.graph.node.TaskNode$$EnhancerByCGLIB$$9d2b2f44.leave(genera
  | ted)
  | at 
org.jbpm.graph.exe.ExecutionContext.leaveNode(ExecutionContext.java:1
  | 20)
  | at org.jbpm.example.timeout.execute(timeout.java:25)
  | at org.jbpm.graph.def.Action.execute(Action.java:123)
  | at 
org.jbpm.graph.def.Action$$FastClassByCGLIB$$7876e90e.invoke(generat
  | ed)
  | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  | at 
org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializ
  | er.java:136)
  |  

[JBoss-user] [JBoss jBPM] - Errors on closing JBoss 403 w jBPM 3.1B3

2006-02-13 Thread boerse
Hi! I've installed jBPM 3.1B3 to see if it solves my problems with assignments 
with groups, i tried to migrate my processdefinitions but it didn't work. 
Anyway, i just deployed the processes included in the ZIP (the original ones) 
and everything goes fine, but when i stop JBoss appear a lot of messages 
informing i'm responsible for the save of data and persistence problems, does 
anybody know how to configure the system in order not to receive this errors? 
Thanks!

10:35:53,543 INFO  [SchedulerThread] runtime exception while executing timers
  | org.hibernate.exception.GenericJDBCException: Cannot open connection
  | at 
org.hibernate.exception.SQLStateConverter.handledNonSpecificException
  | (SQLStateConverter.java:91)
  | at 
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.j
  | ava:79)
  | at 
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelp
  | er.java:43)
  | at 
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelp
  | er.java:29)
  | at 
org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager
  | .java:307)
  | at 
org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.
  | java:109)
  | at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:134)
  | at 
org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:
  | 57)
  | at 
org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1236
  | )
  | at 
org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistence
  | Service.java:98)
  | at 
org.jbpm.persistence.db.DbPersistenceService.getSchedulerSession(DbPe
  | rsistenceService.java:228)
  | at org.jbpm.JbpmContext.getSchedulerSession(JbpmContext.java:419)
  | at 
org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread
  | .java:103)
  | at 
org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:70)
  | Caused by: org.jboss.util.NestedSQLException: You are trying to use a 
connection
  |  factory that has been shut down: ManagedConnectionFactory is null.; - 
nested th
  | rowable: (javax.resource.ResourceException: You are trying to use a 
connection f
  | actory that has been shut down: ManagedConnectionFactory is null.)
  | at 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(Wrapp
  | erDataSource.java:79)
  | at 
org.hibernate.connection.DatasourceConnectionProvider.getConnection(D
  | atasourceConnectionProvider.java:69)
  | at 
org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager
  | .java:304)
  | ... 9 more
  | Caused by: javax.resource.ResourceException: You are trying to use a 
connection
  | factory that has been shut down: ManagedConnectionFactory is null.
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateC
  | onnection(BaseConnectionManager2.java:454)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2$Connectio
  | nManagerProxy.allocateConnection(BaseConnectionManager2.java:894)
  | at 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(Wrapp
  | erDataSource.java:73)
  | ... 11 more
  | 10:35:53,694 DEBUG [CommandExecutorThread] command 'null' threw exception. 
rolli
  | ng back transaction
  | org.hibernate.exception.GenericJDBCException: Cannot open connection
  | at 
org.hibernate.exception.SQLStateConverter.handledNonSpecificException
  | (SQLStateConverter.java:91)
  | at 
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.j
  | ava:79)
  | at 
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelp
  | er.java:43)
  | at 
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelp
  | er.java:29)
  | at 
org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager
  | .java:307)
  | at 
org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.
  | java:109)
  | at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:134)
  | at 
org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:
  | 57)
  | at 
org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1236
  | )
  | at 
org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistence
  | Service.java:98)
  | at 
org.jbpm.persistence.db.DbPersistenceService.getMessagingSession(DbPe
  | rsistenceService.java:219)
  | at org.jbpm.JbpmContext.getMessagingSession(JbpmContext.java:411)
  | at org.jbpm.msg.db.DbMessageService.init(DbMessageService.java:49)
  | at 
org.jbpm.msg.db.DbMessageServiceFactory.openService(DbMessageServiceF
  | actory.java:32)
  | at org.jbpm.svc.Services.getService(Services.java:136)
  | at org.jbpm.svc.Services.getMessageService(Services.java:172)
  | at 

[JBoss-user] [JBoss jBPM] - Re: view state and get information of statistics

2006-02-13 Thread boerse
Thank you very much! I'm worried about the changes in the objects in the 
different versions, JbpmSession and JbpmContext in 3.1. I assume the best will 
be to follow v3.1, as developer, what would you suggest? I'm currently 
developing an appl that should be working in 2-3 weeks and i wonder if my 
development will be able to work in future versions of jBPM. Thanks for your 
advice and support!

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3923236#3923236

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3923236


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Simple (and tricky) question on assigment

2006-02-13 Thread boerse
Hi

I have a node which i would like to be executed or by the previous user that 
started the process (previous), or by another guy. I'm trying to make a group 
in the processdefinition.xml and identity.db.xml: Here are they:

identity
  |   user name=cookie monster email=[EMAIL PROTECTED] 
password=crunchcrunch /
  |   user name=ernie email=[EMAIL PROTECTED] 
password=canthereyoubert,theresabananainmyear /
  |   user name=bert email=[EMAIL PROTECTED] 
password=ernie,theresabananainyourear /
  |   user name=grover email=[EMAIL PROTECTED] password=mayday mayday /
  |   user name=peggy email=[EMAIL PROTECTED] password=oink oink /  
  |   group name=gname type=gtype/
  |   membership name=nmember role=nrole user=peggy group=gname /  
  |   membership name=nmember role=nrole user=ernie group=gname /  
  | /identity

processdefinition.xml
  task-node name=evaluate web order
  | task
  | assignment expression='previous-- group(gtype) -- member(nrole)' /
  |   timer duedate=20 seconds repeat=10 seconds
  | action class=org.jbpm.websale.RemindActor
  |   swimlaneNamesalesman/swimlaneName
  | /action
  |   /timer
  |   controller
  | variable name=item access=read/
  | variable name=quantity access=read/
  | variable name=address access=read/
  | variable name=reference access=read/
  | variable name=comment/
  |   /controller
  | /task
  | 

and the error is that the system cannot resolve the names. Does anybody know 
how this could be done? I'm sure this question will be very useful not only for 
me but for all the ones that are fighting with the assignments.

N.B: I tried without the part member too, and it does not work at all. The only 
thing it does is with only previous, but i need user ernie too!

12:25:29,719 DEBUG [Services] closing service 'logging': org.jbpm.logging.db.DbL
  | [EMAIL PROTECTED]
  | 12:25:29,719 DEBUG [Services] closing service 'authentication': 
org.jbpm.securit
  | [EMAIL PROTECTED]
  | 12:25:29,729 ERROR [[FacesServlet]] Servlet.service() for servlet 
FacesServlet t
  | hrew exception
  | javax.faces.FacesException: Error calling action method of component with 
id tas
  | kform:transitionButton
  | at 
org.apache.myfaces.application.ActionListenerImpl.processAction(Actio
  | nListenerImpl.java:74)
  | at javax.faces.component.UICommand.broadcast(UICommand.java:106)
  | at 
javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:9
  | 0)
  | at 
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1
  | 64)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(Lifecycl
  | eImpl.java:271)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java
  | :86)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:94)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
  | icationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
  | ilterChain.java:173)
  | at 
org.jbpm.webapp.filter.AuthenticationFilter.doFilter(AuthenticationFi
  | lter.java:55)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
  | icationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
  | ilterChain.java:173)
  | at 
org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:83)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
  | icationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
  | ilterChain.java:173)
  | at org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
  | icationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
  | ilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
  | lter.java:81)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
  | icationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
  | ilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
  | alve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
  | alve.java:178)
  | at 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrinc
  | ipalValve.java:39)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
  | yAssociationValve.java:159)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
  | e.java:59)
  | at 

[JBoss-user] [JBoss jBPM] - Re: Bug in MEMBERSHIP creation

2006-02-13 Thread boerse
Hi Koen:

in jbpm_id_membership, the field NAME is set to null, i have the same problem :(

I've posted a complete topic about this assignments in 
http://jboss.org/index.html?module=bbop=viewtopict=77268

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3923263#3923263

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3923263


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: how do other example like websale

2006-02-13 Thread boerse
Develop? You just have to see the source code and follow it to *try* as we do, 
to understand it. I'd suggest you (i did that last week) to start with the 
folder process.example and ther websample.par, then jbpm.identify, 
src/java.examples/org.jbpm.websale, src/java.webapp (mbeans) and of course JSF 
and all the content of the folder websale.war. Hope it helps... 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3923318#3923318

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3923318


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Break with a time-out

2006-02-13 Thread boerse
Hi, i'm trying to modelate a process and use it as template. i have a node in 
which i have the possibility to confirm the 

order or cancel it (that's after submitting the order, of course, node 1). If i 
don't cancel or confirm the order, i would 

like to get this order *automatically* confirmed with a time-out, the process 
would be:

order- - cancel-node_cancel   \
- confirm   -node_confirm - end 
.. time-out -node_timeout  /

is this possible to modelate with jBPM? How? could you give me please an 
example how to do it? Thank you very much!

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3923320#3923320

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3923320


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: how do other example like websale

2006-02-13 Thread boerse
sorry, i meant jbpm.war in C:\jbpm-xxx\jbpm\src\resources

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3923336#3923336

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3923336


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Build.deploy.xml.

2006-02-10 Thread boerse
hi, is it possible to load a new configuration without deleting the existing 
tables? I mean, if you model a process and it's ok, and then you add another 
process to the system, you'll have to make jBPM to create automatically the new 
tables, can this be done without (logically) deleting the operating data of the 
other process? (and how). Thanks...

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3922810#3922810

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922810


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: assign a task to a group using assignment expression...

2006-02-10 Thread boerse
hi yd40, thanks for your answer, have you tried inserting that info via 
src/resources/hsqldb/identity.db.xml? does anybody how this could be done so?
i do:
  
and 
then   

  

and in the processdefinition.xml:


  

and it assigns the task to null :(

Using 3.0.2 w 4.0.3SP1 (not starter kit, complete versions deployed) and just 
running the example very lightly modified to see if i do things to work.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3922811#3922811

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922811


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Enable Statistics + error on deploy, about to spring out

2006-02-10 Thread boerse
for those who have the problem with the deploy informing that a mbean is 
already installed, i give you a solution (but i don't know the reason). Delete 
(JBoss 4.03SP1) from jboss/server/default/deploy the files marked as 
problematic and works fine with no errors, where this services are already 
defined to be loaded, i don't know, but it's something at least...

ERROR [MainDeployer] Could not create deployment: 
file:/C:/Server/jbpm-3.0.2/jbpm-server/server/jbpm/deploy/attrpm-service.xml
  | org.jboss.deployment.DeploymentException: Trying to install an already 
registered mbean: jboss:service=AttributePersistenceService
  | ERROR [MainDeployer] Could not create deployment: 
file:/C:/Server/jbpm-3.0.2/jbpm-server/server/jbpm/deploy/dynclassloader-service.xml
  | org.jboss.deployment.DeploymentException: Trying to install an already 
registered mbean: jboss.rmi:type=RMIClassLoader
  | ERROR [MainDeployer] Could not create deployment: 
file:/C:/Server/jbpm-3.0.2/jbpm-server/server/jbpm/deploy/invokers-service.xml
  | org.jboss.deployment.DeploymentException: Trying to install an already 
registered mbean: jboss:service=invoker,type=jrmp
  | ERROR [MainDeployer] Could not create deployment: 
file:/C:/Server/jbpm-3.0.2/jbpm-server/server/jbpm/deploy/jdbc-metadata-service.xml
  | org.jboss.deployment.DeploymentException: Trying to install an already 
registered mbean: jboss.jdbc:service=metadata
  | ERROR [MainDeployer] Could not create deployment: 
file:/C:/Server/jbpm-3.0.2/jbpm-server/server/jbpm/deploy/jsr77-service.xml
  | org.jboss.deployment.DeploymentException: Trying to install an already 
registered mbean: jboss.management.local:j2eeType=J2EEDomain,name=Manager
  | ERROR [MainDeployer] Could not create deployment: 
file:/C:/Server/jbpm-3.0.2/jbpm-server/server/jbpm/deploy/jta-service.xml
  | org.jboss.deployment.DeploymentException: Trying to install an already 
registered mbean: jboss:service=XidFactory
  | ERROR [MainDeployer] Could not create deployment: 
file:/C:/Server/jbpm-3.0.2/jbpm-server/server/jbpm/deploy/naming-service.xml
  | org.jboss.deployment.DeploymentException: Trying to install an already 
registered mbean: jboss:service=Naming
  | ERROR [MainDeployer] Could not create deployment: 
file:/C:/Server/jbpm-3.0.2/jbpm-server/server/jbpm/deploy/security-service.xml
  | org.jboss.deployment.DeploymentException: Trying to install an already 
registered mbean: jboss.security:service=SecurityConfig

Hope it helps you as it helped me

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3922829#3922829

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922829


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Turning off Jbpm Logging

2006-02-10 Thread boerse
Hi sbhojraj, how do you make to access this JBPM_LOGS table? i use Squirrel 
cliente connected with the hibernate and the only tables i see are the system 
tables and none of them has the name JBPM_(something).

Thank you very much, it's hard to be a newbie...

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3922843#3922843

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922843


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Build.deploy.xml.

2006-02-10 Thread boerse
Hi

but if i only deploy a par (i'm new with this so sorry for the mistake i'll 
probably make) the system won't create the data-bases definitions to support 
the new system i do that'll add to my system (in paralell with the existing). 
In other words: if i model process A and i add B, in order to save the data of 
process B the configuration will have to create the new tables and that can 
only be done (maybe i'm wrong here) if i do delete all the tables. Otherwise i 
don't know how to do it. Thank you.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3922886#3922886

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922886


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Turning off Jbpm Logging

2006-02-10 Thread boerse
Hi, thank you for the answer! :) i'm still trying to access the tables in the 
default DB (Hypersonic).

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3922900#3922900

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922900


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Turning off Jbpm Logging

2006-02-09 Thread boerse
Hi Santosh!

Thank you for your reply, about how to configure the statistics the only thing 
i can recommend you (as the newbie i am) is to change in 
\jbpm\src\config.files- the file hibernate.cfg.xml and set false.

By the way, which version are using you? i do 3.0.2 w JBoss 4.0.3SP1 and when i 
start the JBoss after deploying (build.deploy.xml create.jbpm.configuration) i 
receive a lot of messages in the form: 
12:24:38,150 INFO  [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/
  | http-invoker.sar/invoker.war/
  | 12:24:39,202 INFO  [WebappLoader] Dual registration of jndi stream handler: 
fact
  | ory already defined
  | 12:24:41,345 INFO  [TomcatDeployer] deploy, ctxPath=/, 
warUrl=.../deploy/jbosswe
  | b-tomcat55.sar/ROOT.war/
  | 12:24:42,296 INFO  [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, 
warUrl=.../
  | deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
  | 12:24:42,747 ERROR [MainDeployer] Could not create deployment: 
file:/C:/Server/j
  | bpm-3.0.2/jbpm-server/server/jbpm/deploy/attrpm-service.xml
  | org.jboss.deployment.DeploymentException: Trying to install an already 
registere
  | d mbean: jboss:service=AttributePersistenceService
  | at org.jboss.system.ServiceCreator.install(ServiceCreator.java:70)
  | at 
org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigura
  | tor.java:431)
  | at 
org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
  | :153)
  | at 
org.jboss.system.ServiceController.install(ServiceController.java:215
  | )
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
  | java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
  | sorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
  | er.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
  | java:245)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
  | at $Proxy4.install(Unknown Source)
  | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:232)
  | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:935)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:789)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
  | java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
  | sorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
  | er.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
  | or.java:118)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
  | BeanOperationInterceptor.java:127)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
  | java:245)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
  | at $Proxy9.deploy(Unknown Source)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
  | tScanner.java:319)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
  | canner.java:507)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
  | doScan(AbstractDeploymentScanner.java:192)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
  | bstractDeploymentScanner.java:265)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
  | upport.java:274)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
  | eanSupport.java:230)
  | at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
  | sorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 

[JBoss-user] [JBoss jBPM] - view state and get information of statistics

2006-02-09 Thread boerse
Hi

1. i would like to know how could i make in a certain process to define an 
admin user without any roll but who could access the system and see 
(graphically, text,... or something), i mean, actors have to make their jobs, 
but i would like to have a profile to see the whole perspective of the 
process.

2. is there anywhere where i could get an example how to query the statistics 
stored in the hibernate-db about the process executions? or any indication how 
to make it, i'm lost... thanks

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3922654#3922654

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922654


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: assign a task to a group using assignment expression...

2006-02-09 Thread boerse
anonymous wrote : I created in the ProcessDefinition a task with this 
assignment: 
  | 
  | assignment expression='group(group1) -- member(role1)' 
  | 
  | where in the DB I have the Identity tables with correct data. 

Hi, how did you do that? I mean, create the groups... where did you define them?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3922765#3922765

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922765


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Enable Statistics + error on deploy, about to spring out

2006-02-08 Thread boerse
For 1 i think i found a solution:

in hibernate.cfg.xml
change
true 

if i do an ant -f build.deploy.xml create.jbpm.configuration it seems to inform 
the statistics are enabled.

2. Still persists the errors but the application seems to work anyway

Isn't there any web, tutorial or something where the infos about the 
configuration and use of jBPM 3 sumarized are to help in the develop of an 
application, it's (at least for me) really frustrating to be working hours and 
hours just just to make things work, i don't sincerelly know if i have done any 
progress in the last 7 days working all day long... i just want to make and 
deploy a similar application as websale activating the statistics and make it 
work without errors... jBPM w JBoss seems to be incredible powerful but 
difficult (for me) to configure. If i get the things to work i promise to post 
a text with all the steps i've done to reach my target (probably the same as 
many other developers)... Thanks for your support!

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3922260#3922260

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922260


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Turning off Jbpm Logging

2006-02-08 Thread boerse
Curious, i'm using 3.0.2 w JBoss 4.0.x and i'm desesperated to switch the 
logging ON as i want to know (in the near future) how long did it take to 
complete a process, mean times, etc. Can you tell me how do you know your 
logging of the PROCESS EXECUTION, not the application one? Thanks...

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3922340#3922340

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922340


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Help on jBPM

2006-02-07 Thread boerse
I've found the solution for question 4: to deploy right click on the process in 
eclipse and (sometimes) works. To deploy via console do (as someone said):
Deploy
  | 1) Use JBoss 4.0.2 
  | 2) Fresh jBPM 
  | 3) modify build.properties (gives system paths to jBPM and JBoss) 
  | 4) ant tasks from build.xml: compile, build, build.processes 
  | 5) ant tasks from build.deploy.xml (create.jbpm.configuration, start.jboss)
  | 
  | That should get you going and using websale. To deploy your own .par 
  | 1) At jbpm/src/process.examples/ add a directory process name.par 
  | 2) Inside there should be your processdefinition.xml, gpd.xml, and 
processimage.jpg 
  | 3) Add any java packages created in GPD to jpbm/src/java.examples 
  | 3) modify ant taget build.process in build.xml (at about lines 182-193). 
This should reflect your process name.par, package name, temporary staging 
directory. 
  | 4) Repeat the 5 steps mentioned above 
  | 
I know it's not complicated, but one has to know what has to do and until that 
point it is complicated.
I'd appreciate if someone could give me any advice about the other questions, 
over all number 5.
Thank you!

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3922013#3922013

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922013


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Help on jBPM

2006-02-07 Thread boerse
Hi Koen, thank you for your answer. I don't think i'm able to develop such a 
thing as i can not even work by now fluently with jBPM ;). But thanks for your 
answer. What I have to do is to model differente processes, eg:

Task A - a clerk starts one process with different states, nodes and actions 
(and schedulings)
Task B - the same (or another) clerk start a process with other states 
completely (or partially different with A).
Task C, D...

I suppose the only way to model this would be to set at the very beginning a 
decission (?) node to see whick task will i follow, doesn't it? Maybe selecting 
from a combo which task to make and depending on it go thought one branch or 
another.

And other question :): i suppose that all the information stored on the 
hibernate database remains there forever (until someone deletes it), I mean, it 
doesn't dissapear when the task is finished, doesn't it?
Is there a way to get statistics from this database? I need to know how did it 
took a process (and the average) to finish. Thanks!

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3922022#3922022

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922022


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: JBoss 4.0.2 JBPM 3.0.2

2006-02-07 Thread boerse
Did you download the starter kit or the applications separately?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3922107#3922107

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922107


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Enable Statistics + error on deploy, about to spring out fro

2006-02-07 Thread boerse
Hi, appart from the other post, i have another 2 questions:

1. I would like to enable the statistics, when i do a ant build.deploy.xml 
create.jbpm.configuration i read, among many other messages:

[loadidentities] 00:54:47,353 INFO  SettingsFactory : Statistics: disabled

I want to activate the logs of the process (not only the ones of the 
application) to know average times between states, mean times of processes, 
etc. Which file has to be modified?

2 When i deploy websale (lightly modified) with jbpm 3.0.2 on JBoss 4.0.3SP1, 
everything seems to be going fine, BUT when i do the final:

ant -f build.deploy.xml start.jboss i receive a loto of errors informing there 
was an error Trying to install an already existing mbean. Does anybody know how 
to solve this problem? I've searched and searched in the forum with no 
success... :( Thanks!

[startjboss] 01:38:58,245 ERROR [MainDeployer] Could not create deployment: file
  | :/C:/Server/jbpm-3.0.2/jbpm-server/server/jbpm/deploy/attrpm-service.xml
  | [startjboss] org.jboss.deployment.DeploymentException: Trying to install an 
already registered mbean: jboss:service=AttributePersistenceService
  | [startjboss]at 
org.jboss.system.ServiceCreator.install(ServiceCreator.java:7
  | 0)
  | [startjboss]at 
org.jboss.system.ServiceConfigurator.internalInstall(ServiceC
  | onfigurator.java:431)
  | [startjboss]at 
org.jboss.system.ServiceConfigurator.install(ServiceConfigura
  | tor.java:153)
  | [startjboss]at 
org.jboss.system.ServiceController.install(ServiceController.
  | java:215)
  | [startjboss]at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
  | [startjboss]at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
  | sorImpl.java:39)
  | [startjboss]at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
  | hodAccessorImpl.java:25)
  | [startjboss]at java.lang.reflect.Method.invoke(Method.java:324)
  | [startjboss]at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(Reflected
  | Dispatcher.java:141)
  | [startjboss]at 
org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | [startjboss]at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  | [startjboss]at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBean
  | Invoker.java:245)
  | [startjboss]at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.ja
  | va:644)
  | [startjboss]at 
org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176
  | )

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3922194#3922194

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3922194


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Help on jBPM

2006-02-06 Thread boerse
Hello!

I'm a total newbie in jBPM and Jboss and i have searched and searched to see if 
i can see how to work with this tool. i've read on-line tutorials and forums 
but i don't find the answers to my questions, so i ask you, as experts to see 
if you can help because i'm completely desesperated. I want to use jbpm 3.0.2 
with jboss 4 as i think there are the stable releases (i have to make a project 
and therefore i try to use systems as stable as possible). The first problem i 
have is that i have the websale for example but i don't know how to modify it 
to test things. 

A step by step tutorial would be great. 

I have eclipse with all the plugins etc but i don't even know how to create (or 
compile) something from the sources or java in order to load it in the 
jbpm/jboss, not even the examples. There is no doc for jbpm 3, isn't it? Please 
help...
Thanks a lot in advance... :(

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3921815#3921815

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3921815


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Help on jBPM

2006-02-06 Thread boerse
Thank you for your response, mehmetbilgi, i've read this docs but i still don't 
know how to compile one example (for example), deploy it and make it work 
(create the .par, the scripts for the database and everything). Is it really so 
complicated? Thanks!

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3921894#3921894

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3921894


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Help on jBPM

2006-02-06 Thread boerse
Hello Koen!

Thanks a lot for your cheers! Do you really think it's better to install v 
3.1B3 than 3.0.2? I have already installed 3.0.2 with JBoss 4.0.3 (and Eclipse 
and its plugins) and works fine with the websale, but i would like to  modify 
some things (add more fields to the example, etc) in order to practise with the 
jBPM. 

1. (By the way I did't get to install the payraise from jbpm 2.0 in jboss 4.0, 
can you recommend me any post or link where this task is resolved?).
2. Question is: is it possible to EDIT and MODIFY the websale process using 
Eclipse in an easy way? How? 
3. how can i get the .war collection?
4. how can i deploy everything and load it in the JBoss? 
5. And a very importart question for me: is it possible to have several 
processes (different Workflows) on the server at the same time? (For example, 
to have payraise and websale running together in the same JBoss?) Is this 
possible? How can this be configurated? How would the services be distingued? 

Really thanks to all the comunity for your support, i promise to resume all 
this knowledge and post it for the newbies like me as soon as i understand it 
and make it work! :)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3921930#3921930

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3921930


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user