The lookup should be like (with java:)
corbaname:iiop:localhost:7037#java:global/earApp/ejbApp/MyService!de.mycompany.service.MyServiceRemote
If that still doesn't work, then use GlassFish-specific global jndi name, for
example:
corbaname:iiop:localhost:7037#xxx
You can find the non-Portable JNDI name in server.log after deployment. If
there is no default non-portable JNDI name, you can assign one in
glassfish-ejb-jar.xml, or with @Stateless(mappedName=xxx), or
@Stateful(mappedName=xxx).
--
[Message sent by forum member 'cf126330']
View Post: http://forums.java.net/node/808049