Here is one approach.
All the MBeanServers started in this VM can be gotten by this method call.
ArrayList mbservers = MBeanServerFactory.findMBeanServer(null);
In the bootstrap code for JCA connectors you could find the glassfish's mbean server and register your mbean.
HTH
[Message sent by forum member 'cprashantreddy' (cprashantreddy)]
http://forums.java.net/jive/thread.jspa?messageID=233037