Delivery Notification <zvonkovanzvonkova@raiffeisen.ru>
by Postmaster@lists.jboss.org
This is a delivery status notification, automatically generated by MTA mgate.raiffeisen.ru on Mon, 30 Jun 2008 09:26:06 +0400
Regarding recipient(s) : zvonkovanzvonkova(a)raiffeisen.ru
Delivery status : Failed. Message could not be delivered to domain <raiffeisen.ru> .Failed while initiating the protocol. <[('zvonkovanzvonkova(a)raiffeisen.ru', 550, 'zvonkovanzvonkova@raiffeisen.ru... No such user')]>
MTA Response :550
The original message headers are included as attachment.
17 years, 9 months
[JCA/JBoss] - 4.2.2.GA IdleRemover thread inserted into my thread group
by guy_rouillier
I have a fairly large application running under 3.2.7 that I'm trying to upgrade to 4.2.2.GA. The code upgrade was fairly trivial, and I've got the app running in test mode now. One part of this app creates a ThreadGroup to process a set of data files; the end of this processing is to insert data into an Oracle database using a no-tx-datasource. All the inserts are being completed successfully.
But when I determine all worker threads are finished and attempt to destroy the ThreadGroup, I'm getting an IllegalThreadStateException. Upon doing a ThreadGroup.enumerate(), I'm finding a single thread with name IdleRemover.
Why is this IdleRemover thread being inserted into my private ThreadGroup? I've spent a couple hours looking at old forum discussions, and I see that IdleRemover was present in 3.2.7. But the app running on that version didn't have this problem. So I'm guessing the implementation of IdleRemover has changed in 4.2.2.
How do I fix this? Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161384#4161384
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161384
17 years, 9 months
[JBoss jBPM] - Knowing which token you are in?
by fernando.deleon@gmail.com
Ok...am starting to evaluate JBPM and doing some small proof of concepts.
hooked JBPM with Spring + JSF running on Tomcat using an Oracle DB
My simple question is this..
I start a process instance and all is fine.
| <process-definition xmlns="urn:jbpm.org:jpdl-3.2" name="myholidaydefenition">
|
| <start-state>
| <transition to="reqHoliday" name="requestHoliday"/>
| </start-state>
|
| <task-node name="reqHoliday">
| <task name="requestHolidayTask"/>
| <transition to="evaluateLeave" name="evaluateRequest"/>
| </task-node>
|
| <decision name="evaluateLeave">
| <handler class="au.com.qtc.simpleForms.jbpm.decision.EvaluateLeaveDecisionHandler"/>
| <transition to="end" name="yes">
| <action class="au.com.qtc.simpleForms.jbpm.action.NotifyAboutLeaveActionHandler"/>
| </transition>
| <transition to="giveDonuts" name="no"/>
| </decision>
|
| <!--<task-node name="evaluateLeave">
| <task name="evaluateLeaveTask"/>
| <transition to="end" name="giveLeave">
| <action class="au.com.qtc.simpleForms.jbpm.action.NotifyAboutLeaveActionHandler"/>
| </transition>
| <transition to="giveDonuts" name="noLeaveSorry"/>
| </task-node> -->
|
| <task-node name="giveDonuts">
| <task name="donutConsolation"/>
| <transition to="end" name="toEnd"/>
| </task-node>
|
| <end-state name="end"/>
|
| </process-definition>
|
However...as you can see in the evaluateLeave decision i am at this page where the user needs to know whether they'll get leave or not.
however programmatically how do i know at which node is the token at???
getRootToken() gives the the root token..but i want the current token.
so that i can get the name of the token...and say if is in the token 'giveDonuts" then perform a different behavior
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161383#4161383
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161383
17 years, 9 months