[Design the new POJO MicroContainer] - Re: Duplicate DeploymentContext registration
by adrian@jboss.org
"alesj" wrote : This eliminates the duplicates:
|
I found it very difficult to understand what the problem was from the forum threads
other than it produced a spurious warning, but I used your deployment structure to create a test that reproduced it and fixed the problem.
https://jira.jboss.org/jira/browse/JBDEPLOY-158
The issue was that both registerMBeans() from the top level deployment
and registerMBeans() from the subdeployment were trying to install the
sub-subdeployment mbean.
I've fixed it such that each mbean only recurses to one-level which is I think
what your fix was trying to do, but it wasn't very clean.
anonymous wrote :
| And another issue.
| Isn't DeployersImpl::registerMBean called too early?
| As at that point we don't have any components yet,
| since the deployment hasn't gone yet through deployment stages.
| It's just installed + manual mode --> Not_Installed state.
|
The idea is that the mbean is deployed as early as possible so you can analyse it
using JMX.
If you add/remove components or subdeployments later there are hooks to (un)register the mbeans.
I also started some much need missing tests to make sure this doesn't regress.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4209893#4209893
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4209893
17 years, 1 month
[Design of JBoss jBPM] - Re: first cut of the new history
by tom.baeyens@jboss.com
the bigger picture is this:
in jbpm 3 we have a flat log table.
biggest problem with that is that it contains references to the runtime data (tokens and process instances). because of that reason, the runtime data cannot be deleted and it keeps growing.
now in jbpm 4, we'll have a history schema that does not reference the runtime data (it can reference process definition data as that data remains in the db). as a result, now process instance data is deleted once it is no longer needed. e.g. executions and variables get deleted when they go out of scope. and the full process instance is deleted when it ends.
the runtime data tables stay clean and healthy this way. the reporting and other monitoring is done on a separate set of tables. so this also makes the whole system more performant.
so in jbpm 4 we will not have a flat log file, but a fully fledged schema that contains the history information of what happened when in the process executions.
so an extra advantage is that the history schema is designed to be easy queryable. it can contain some de-normalized duplications of information. (e.g. startTime, endTime and duration fields).
internally, the architecture remains almost the same: runtime execution still generates history events (previously called processlogs). there is a pluggable history session that captures these history events. and the rest is described above.
does this help ?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4209890#4209890
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4209890
17 years, 1 month
[Design of JBoss jBPM] - Re: email templates
by pete.muir@jboss.org
Ronald - the work is mostly done, it should work in most cases. There have been some issues raised that in some situations the bootstrap we do doesn't work. The remaining work is more polish/edge cases than anything else. Currently you need to import all of Seam core and mail as we haven't done the modularisation of Seam yet. Please let me know if you have patches for this and I will try to look at them.
As for why we didn't use velocity - well for a start we would have used freemarker ;-) But really, Seam is about allowing you do to stuff without having to learn 101 ways of doing things so, as we already used JSF for the view layer, we wanted to allow people to reuse this knowledge.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4209839#4209839
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4209839
17 years, 1 month