Hi,
Apologies for not replying earlier. I skipped this question altogether thinking it to be a non-OSGi question by seeing the first couple of words of the subject.
I regret to inform that because of a bug, OSGi bundles having remote EJBs don't get deployed correctly in GlassFish 3.1 nightly builds. So, even though the bundle is deployed, the remote EJBs don't deployed. I just came to know about it after I experimented with your test case. I have filed a bug (
https://glassfish.dev.java.net/issues/show_bug.cgi?id=11855) and will work on it.
By the way, may I ask why you want to use remote EJBs if you are bundling your EJBs in an OSGi bundle? You can actually make them local EJBs and access from another WAR via OSGi service mechanism.
Thanks much,
Sahoo
[Message sent by forum member 'ss141213']
http://forums.java.net/jive/thread.jspa?messageID=403486