[JBoss JIRA] Commented: (JBPM-2043) Add jBPM performance test coverage
by Thomas Diesler (JIRA)
[ https://jira.jboss.org/jira/browse/JBPM-2043?page=com.atlassian.jira.plug... ]
Thomas Diesler commented on JBPM-2043:
--------------------------------------
Hi Trevor,
the system performance tests in the SOA platform do not seem to be isolated enough to be usable by the project - at least not as they are. Performance tests that work at a larger integration level are actually a good thing to have and I am glad that they exist and show results.
Now the question arises who owns and maintains those tests? IMHO, the project should actually not be the owner (we currently don't have SVN access anyway). As I understand it, SOA QA engineering owns these tests, which is how it should be.
The jBPM project also needs to do some performance testing for every release. This test coverage is currently missing AFAIK and is subject of JBPM-2043.
To resolve the current issue quickly, I propose to work close with the owner of those SOA performance tests to create equivalent tests in the jBPM tests suite such that we can reproduce what you are seeing. These jBPM performance tests need to be isolated from the ESB context.
> Add jBPM performance test coverage
> ----------------------------------
>
> Key: JBPM-2043
> URL: https://jira.jboss.org/jira/browse/JBPM-2043
> Project: JBoss jBPM
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: Productization
> Affects Versions: jBPM 3.2.5 GA
> Environment: SOA 4.3.0 CP01 CR2
> Reporter: Pavel Macik
> Assignee: Thomas Diesler
> Fix For: jBPM 3.2.7 GA
>
>
> Performance of jBPM has dropped significantly according to
> http://hudson.qa.jboss.com/hudson/view/SOA-Performance/job/SOA-Platform-P...
> Other performance has not changed much so the performance drop is isolated to jBPM.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 10 months
[JBoss JIRA] Created: (JBPM-1954) JbpmException thrown from Decision after exception in delegation class
by Jorge Soria (JIRA)
JbpmException thrown from Decision after exception in delegation class
----------------------------------------------------------------------
Key: JBPM-1954
URL: https://jira.jboss.org/jira/browse/JBPM-1954
Project: JBoss jBPM
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Core Engine
Affects Versions: jBPM 3.2.3, jBPM 3.2.2
Environment: Ubuntu 8.4 / JDK 1.6.0_07
Reporter: Jorge Soria
A JbpmException with explanation "can't leave node 'xxx' without leaving transition" is thrown in the following case:
1. A Decision node with a delegation class is defined in the processdefinition.xml.
2. The delegation class throws an exception.
3. The exception may or may not be handled by a custom ExceptionHandler.
Explanation:
The method Decision.execute(ExecutionContext) handles the decisionDelegation in its own block. The delegation class is executed and its result is used to choose the transition. If the delegation class throws an exception, the transition cannot be set. This produces later a JbpmException in Node.leave(Transtion).
Proposed solution:
This is a localized problem, restricted to one method only.
Since the Token cannot find a proper transition, the process should be aborted. The following is the diff for a patch in Decision.java:
149,155d148
<
< // Exceptions in delegation classes occur before a transition is chosen.
< // Since no transition is possible, just abort the process.
< // Custom exception handling may divert/end the process gracefully.
< if(transition == null) {
< return;
< }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 10 months