[jBPM Development] - JBPM 4.1 : Task Count
by Krohm
Hello,
I am developing an application embedding JBPM 4.1.
In the front end, I need to get the list of pending tasks for a given user (and page it), as well as the total number of pending tasks ( in order, for example, to determine the number of pages).
I am currently using the TaskQuery interface for that. (this one http://docs.jboss.com/jbpm/v4/javadocs/org/jbpm/api/TaskQuery.html)
It is working perfectly, but I am a bit confused by the way I am counting tasks, and suspecting there is a better way to do it.
Once the different filters are set (user, activity, status ...), there is a method to get all the Tasks, but none to just count them.
So what I am doing for now is get the size of the list, but I am a bit afraid of what will happen if a few million records are sent back. Not mentioning the performances.
Is there a "better" way to have access to this information through the standard JBPM 4.1 API ?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258862#4258862
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258862
15 years, 3 months
[JBoss Web Development] - No META-INF/application.xml found
by puellula
Hi,
I'm working with JBoss 4.0.4 GA and jdk 1.5.0_14 with Eclipse 3.3.2 Europe.
I'm working for a big project developed from many companies. The main company often send us some libreries (.jar) updates.
All worked fine till last update where the main company sent us many many jar to change. In some .jar changed only the content and in other the name (from upper to lower case), too.
I changed the files:
- application.xml
- MANIFEST.MF
with the new names by hand.
To insert new jar I deleted the old ones and added the newest, without overwriting.
The error I have deploying it on JBoss is:
- org.jboss.deployment.DeploymentException: No META-INF/application.xml found
And for some files:
- Extracted non-deployable content: META-INF/MANIFEST.MF
- Extracted non-deployable content: META-INF/application.xml
- ...
Please, tell me if you need clarifications or more information.
Thank you!
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258817#4258817
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258817
15 years, 3 months