[Design of POJO Server] - New KernelBus lookup failure
by alesj
I'm having problems locating runtime component via new KernelBus lookup.
The lookup goes over KernelRegistry, which eventually delegates things to registered KernelRegistryPlugins.
Currenty there are three KernelRegistryPlugins: BasicKernelRegistryFactory, AbstractKernelController, JNDIKernelRegistryPlugin.
OK, we can forget about the last one - JNDI.
But the thing is that neither of the first two is able to find simple 'name=DefaultDS,service=ManagedConnectionPool' service.
Looking at the AbstractKernelController makes it clear, since this service is not a POJO supplier. But one would expect to find it in the first registry.
What's the idea/algorithm what goes into BasicKernelRegistryFactory and is not present as installed ControllerContext in Controller and vice versa?
Since I get 188 entries in BasicKernelRegistryFactory and 359 Installed contexts in Controller. And BasicKernelRegistryFactory doesn't return service, where Controller.getInstalledContext returns the service context.
I'm running AS5 profileservice configuration.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4091075#4091075
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4091075
18 years, 2 months
[Design of JCA on JBoss] - Tests failing in JBoss Head
by adrian@jboss.org
Some of the jca tests are failing in JBoss Head.
All the tests pass in JBoss4 (some of them I recently copied from JBoss4
to JBoss5 so I know they are the same).
I fixed some of them by the change in the other post to fix the deployment metadata.
I think some of the tests are failing just because they need more time
so there maybe a regression in performance somewhere?
I have my doubts looking at some of the code whether JBoss5 is up-to-date
compared with the changes that have been done in JBoss4.
I know JBoss5 has some features that are not in JBoss4 and some of it
might be implemented differently so it is difficult to just do a straight diff.
e.g. a diff of TxConnectionManager shows
| 381a419
| >
| 384d421
| < xaResource = JcaXAResourceWrapperFactory.getResourceWrapper(mc.getXAResource(), isSameRMOverrideValue);
| 385a423,436
| > if(wrapXAResource)
| > {
| > log.trace("Generating XAResourceWrapper for TxConnectionManager" + this);
| > xaResource = new XAResourceWrapper(isSameRMOverrideValue, padXid, mc.getXAResource());
| >
| > }
| >
| > else
| > {
| > log.trace("Not wrapping XAResource.");
| > xaResource = mc.getXAResource();
| >
| > }
| >
| 429a481
|
Is this something not ported or just something implemented differently?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4091022#4091022
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4091022
18 years, 2 months