Hey folks, I also have been working on making OpenEJB run in OSGi. One of the problems I've ran into was with the ServiceManager API. I created a bug for this issue https://issues.apache.org/jira/browse/OPENEJB-1117 with the details. I also attached a patch with a potential fix. I would appreciate if somebody could review it, etc.
Thanks, Jarek
