MBeanRegistrer unable to bind

2014-12-17 Thread garethahealy
Management [ 24] [Active ] [Created ] [ ] [ 29] Apache Karaf :: Management (2.3.0.redhat-610379) Full project: https://github.com/garethahealy/jboss-fuse-examples/blob/master/mbeans-expose/src/main/resources/OSGI-INF/blueprint/mbeans-expose-context.xml Full stack: 2014-12-17 10:09:31,060

Re: MBeanRegistrer unable to bind

2014-12-17 Thread garethahealy
Hi JB, Yes, i've done the same as you've described, but still doesn't work. The code is @ https://github.com/garethahealy/jboss-fuse-examples/blob/master/mbeans-expose/src/main/resources/OSGI-INF/blueprint/mbeans-expose-context.xml Also, yes, i know the newer way is with aries whiteboard

Re: MBeanRegistrer unable to bind

2014-12-17 Thread garethahealy
Hi JB, I've got it working. The thing that confused me was when i was looking at the source of MBeanRegistrer, it had a registerMBeanServer method. Which was incorrect, as i was looking at the wrong version of the source! My version uses a ServiceTracker internally. That was the reason it kept

XA Database and aries.xa.aware

2014-11-26 Thread garethahealy
into the mix? It seems to just duplicate what i am currently doing... [1]https://github.com/garethahealy/jboss-fuse-examples/blob/master/database-playground/database-datasource/src/main/resources/OSGI-INF/blueprint/database-datasource-context.xml [2]https://access.redhat.com/documentation/en-US