[jboss-user] [JBoss jBPM] - TaskInstance.isOpened filed strange design

2006-12-06 Thread lzdobylak
Why isOpened flag is set by default to true? It means that just after creating task instance, the instance is opened. In my opinion the flag should be set only after starting task - in start() method. So. I have task assigned to pool and when someone pulls taskinstance to himself, should check

[jboss-user] [JBoss jBPM] - Re: Proposal of improvement or problem sollution kindly requ

2006-11-29 Thread lzdobylak
No! I'm saying that there is bug in implementation of end() method. There is missing line that I wrote above in src. And if you want to get transition name inside Event action, you cannot, cause it's not set. View the original post :

[jboss-user] [JBoss jBPM] - Proposal of improvement or problem sollution kindly request

2006-11-23 Thread lzdobylak
When using event on taskInstance.end() - task-end event in xml when putting transition to end() method. The transition is not accessible from executionContext. executionContext.getTransition() returns null. I need transition name from Action assigned to this event. Is there any possibility to

[jboss-user] [JBoss jBPM] - Which way token will go?

2006-11-22 Thread lzdobylak
I have Task node, and I created 3 taskInstances Each taskInstance is assigned to other user. What will happend if 2 users will end taskInstance by .end(left) and one .end(right). Which way token will go? Regards, Luk View the original post :

[jboss-user] [J2EE Design Patterns] - Re: how can I make a stateless bean singleton on JBOSS?

2006-11-09 Thread lzdobylak
Maybe he wants, to register timer and to implement @Timeout method in this SLS bean. And start the timer in @Postconstruct method View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3984445#3984445 Reply to the post :

[jboss-user] [EJB 3.0] - Re: life cycle methods seems to be called twice in rc 9.

2006-10-31 Thread lzdobylak
I thought that it is that way, but probably i was wrong. lifecycle method is called once, but TimerService.createTimer() method starts 2 timers in RC9. Anyone can help me solve this? Exception: 5:56:35,126 WARN [ServiceDelegateWrapper] Stopping failed

[jboss-user] [EJB 3.0] - life cycle methods seems to be called twice in rc 9.

2006-10-30 Thread lzdobylak
I upgraded my jboss as 4.0.4 ga to rc9, to use timer service. After that, it seems that jboss calls create and destroy methods twice during deploy/undeploy of my MBean. when I start timer in create() method, there are two timers created, when I call undeploy, MBeans are undeployed once, and then

[jboss-user] [JBoss jBPM] - What is the best pattern to deny method executions?

2006-09-07 Thread lzdobylak
I'm starting learning jBPM and I was wandering what is the best pattern to deny method executions? I mean how to prevent calling some methods depending on object state in workflow, or even more: In arhitecture Client SWT - jboss EJB3 Application with jBPM how to disable some actions on view (ex.

[jboss-user] [Security JAAS/JBoss] - DatabaseServerLoginModule caching credentials problem

2006-08-11 Thread lzdobylak
I'm using this login module to get user and roles, when admin changes user password, user can use both old and new password while login, until he first time use new password. old password is cached somewere (probably in sharedState object of loginModule), how can I force clearing this cache? Im

[jboss-user] [Security JAAS/JBoss] - Re: DatabaseServerLoginModule caching credentials problem

2006-08-11 Thread lzdobylak
me again, I've read wiki about caching but: do i need to change securitydomain from jmx-console to my securitydomain? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3964609#3964609 Reply to the post :