[Design of POJO Server] - Re: ProfileService todos for deployer changes
by adrian@jboss.org
"scott.stark(a)jboss.org" wrote :
| + testJmsDestinationComponents is broken because the ManagedDeployment/ManagedComponent tree cannot be built from the DeploymentUnit or client Deployment view as there is no access to the service descriptor component mbeans. A destinations-service.xml corresponds to multiple mbeans of various component types. In general the component types are unknown. We need to move the ManagedDeployment construction out of the client view of the profile service into a ManagedDeploymentDeployer, and start adding annotations to the other deployers/deployments to identify the component/jsr77 types that are produced.
|
I don't understand this. The managed objects are built on the server side
by the MainDeployer with the help of the (parsing) deployers.
The client should not be doing anything except asking for the ManagedObjects.
IMHO the "jsr77 types" should be a part of the managed object api.
i.e. you deploy a -ds.xml and you then ask for the managed objects
you get back a set of managed objects which
return "datasource" or "connectionfactory" from
ManagedObject.getType()
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065915#4065915
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065915
18 years, 8 months
[Design of JBoss jBPM] - Exception handling
by kevin.l.wilson
I've been trying to work with the Process-State node and implement a exception handler. However, I found that the exceptions are handled by the node previous. (I was surprised ...) This means that if a exception is not handled by a node the previous nodes in the hierarchy have the opertunity to handle the exception.
This does not seem like what a user would expect.
Also, shouldn't the Process-State be able to handle the exception from the subprocess. (execute is overridden in Node which does the exception processing, and no other catches are put in the ProcessState node.
Can fix this by doing a lot of config to get my own process state node:
1) Implement the fix in my own version of the process state node.
- I modified the signal call in enter() method to do the following:
try {
...signal();
} catch (Exception e) {
raiseException(e, executionContext);
}
This cause the exception handler I defined in the XML to be called correctly. However, I still could not call the leave() on the exception handler recieving a NullPointerException. (After, some testing I found I did not need to call leave in my code that it would leave on its own. However, this would need to be addressed in a patch. )
2) Update a modified version of the ProcessState.hbm.xml
- Change the implementation class.
3) Update the hybernate.cfg.xml
- Point to the new mapping file for hybernate created in 2.
4) update the node.types.xml
- Update the implementation class
5) Update the jbpm.cfg.xml to point to the new hybernate.cfg.xml and the node.types.xml
Is this issue patchable?
Is there a way to get a patched to this issue?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065913#4065913
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065913
18 years, 8 months
[Design of POJO Server] - ProfileService todos for deployer changes
by scott.stark@jboss.org
Some issues remaining from the deployer changes affecting the profile service are:
+ testDataSourceDeploymentType is broken because the getDeploymentNamesForType cannot be implemented. This is probably useless functionality, as it relies on the DeploymentContext.getTypes(). What is really needed is the ability to view the jsr77 types in a deployment structure.
+ testJmsDestinationComponents is broken because the ManagedDeployment/ManagedComponent tree cannot be built from the DeploymentUnit or client Deployment view as there is no access to the service descriptor component mbeans. A destinations-service.xml corresponds to multiple mbeans of various component types. In general the component types are unknown. We need to move the ManagedDeployment construction out of the client view of the profile service into a ManagedDeploymentDeployer, and start adding annotations to the other deployers/deployments to identify the component/jsr77 types that are produced.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065905#4065905
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065905
18 years, 8 months
[Design of AOP on JBoss (Aspects/JBoss)] - Re: AOP Testsuite nearly fixed in JBoss-Head
by adrian@jboss.org
I improved the error reporting in this area and now I get a more reasonable
explanation of the problem:
| 19:19:23,836 ERROR [STDERR] Caused by: java.lang.IllegalStateException: ClassLoader has been undeployed: org.jboss.mx.loading.UnifiedClassLoader3@1689e12{ url=vfsfile:/home/ejort/jboss-head/testsuite/output/lib/aop-scopedear2.ear ,addedOrder=62}
| 19:19:23,836 ERROR [STDERR] at org.jboss.aop.deployment.ScopedClassLoaderDomain.getScopedRepository(ScopedClassLoaderDomain.java:181)
| 19:19:23,836 ERROR [STDERR] at org.jboss.aop.deployment.ScopedClassLoaderDomain.getPerVmAspectWithNoParentDelegation(ScopedClassLoaderDomain.java:121)
| 19:19:23,836 ERROR [STDERR] at org.jboss.aop.deployment.ScopedClassLoaderDomain.getPerVMAspect(ScopedClassLoaderDomain.java:105)
| 19:19:23,836 ERROR [STDERR] at org.jboss.aop.Domain.getPerVMAspect(Domain.java:735)
| 19:19:23,836 ERROR [STDERR] at org.jboss.aop.Domain.getPerVMAspect(Domain.java:721)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065904#4065904
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065904
18 years, 8 months