[Design of JBoss jBPM] - Feature Request - global lists API
by simonbaker
It seems unusual that jBPM API has methods to get lists of TaskInstances by actor / groups, but no global (complete) list. It makes it difficult to get a complete list for doing your own filtering.
This applies to other objects as well. If we look at these objects as comprising a collection, it is natural to expect to find an iterator over the collection.
Such global lists are useful for monitoring, troubleshooting, and many production cases, such as implementing a special user role who can work on anyone's tasks for any workflow, or filtering a task list by an arbitrary group of users.
It seems like it would not be hard to implement in many cases, such as for TaskInstance. Can this feature be considered for an upcoming release?
The main objects of interest would be TaskInstances and ProcessInstances.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080643#4080643
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080643
17 years, 2 months
[Design of AOP on JBoss (Aspects/JBoss)] - Re: AOP asintegration WITHOUT the integration :-)
by kabir.khan@jboss.com
I've now had a look at the new aop classloading tests, and see the problem you have been describing.
So, the problem we have with the failing test is that it is trying to create the interceptor twice. This is what we solved before with the ScopedJBossClassPool/ScopedClassLoaderDomain. To summarize what you have probably said already with my own words, with the new classloaders, we don't really have scoped classloaders in this case. So the check to see if the classloader is scoped to create a new domain does not really work here... I see what you have done, which is basically to make sure that the correct classloader is used, however we are not really limiting what is available.
What is needed is maybe ***something along the lines of*** setting the classloader on the advicebindings (and other things) + a AdviceBinding.isVisble(ClassLoader) type method or something like that. I'll look more into this in the morning and hopefully come up with some better ideas :-)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080639#4080639
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080639
17 years, 2 months
[Design the new POJO MicroContainer] - Re: MC meets Drools - new Reliance module
by alesj
"adrian(a)jboss.org" wrote : Why don't you call the project dependency-rules?
| Then later you can have a dependency-jbpm or dependency-xxxx
Hmm, I like your idea, perhaps only the name dependency is not quite right, since it's not a clear extension of the dependency module - like your deployers, where every deployers-sub-module is extension of previous.
In my case I have mixture of all MC modules - dependency, kernel, aop, deployers, ...
Is reliance-rules, reliance-xxxx, ... still ok?
Currently I'll split them into three things I have done:
(a) reliance-identity
(b) reliance-rules (depends on (a))
(c) reliance-jbpm (wip)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080512#4080512
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080512
17 years, 2 months
[Design of JBoss Transaction Services] - Exception Handling Difference between JBoss 3.2.6 and Jboss4
by Anandnatraj
Do we have any difference in the way the Transaction - Exceptions are handled with Jboss3.2.6 and JBoss4.0.5GA? I have one scenario where from the Program I am throwing the SystemException Manually but the exception message thrown seems to be different..
Scenario:
1. Complete Step 1 (WIth one transaction)
Status: data are changed in accordance with Step1 usecase
2. Complete Step2 (With new transaction). We are throwing System Exception manually.
In jboss-3.2.6
==========
Step1 started with new transaction and process gets committed since no system exception is thrown.
Step2 started with new transaction but gets rolled back since System Exception thrown and also further execution stops. This behavior is as expected
In jboss-4.0.5.GA
=============
Step 1started with new transaction and process gets committed since no system exception is thrown.
In Sample Prep Conversion Call type while getting rollback because of system exception ?java.lang.IllegalStateException: setRollbackOnly() not allowed without a transaction? is thrown. Seems the transaction is not created.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080471#4080471
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080471
17 years, 2 months
[Design the new POJO MicroContainer] - Re: Maven depency issues
by adrian@jboss.org
"pgier" wrote :
| The easiest way that I know of to find these conflicting dependencies is by using the dependencies project info report
|
| mvn project-info-reports:dependencies
| It's a pita to go through all the modules and find instances of these conflicts, but someone (maybe me) should go through the mc modules and fix them.
|
| Another command that can help clean up dependencies is this one:
|
| mvn dependency:analyze
| The report will tell you if you have unused dependencies listed, or if you are directly dependent on one of your transitive dependencies. When I have time, I plan to add a feature to this plugin that will tell you if you are including two versions of the same artifact.
|
These tools should be used before any release anyway.
We need to make sure we are not transitively depending on snapshots
or things we don't want to depend on. e.g. maybe dependning on
alpha/beta version of a project when we do a final release.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080424#4080424
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080424
17 years, 2 months