Hi guys,
at first thanks for your replies!!!
First some words to my environment. I am using two Glassfish v2.1 - build Sun GlassFish Enterprise Server v2.1 (9.1.1) (build b60e-fcs)
Both systems has a Ubuntu OS, one is a Ubuntu JeOS 8.04 and one is a Ubuntu Desktop version where Glassfish is started out of Netbeans!
@ksak
I tried your way of the EJB injection.
@EJB(name="AccessBeanRef",mappedName="corbaname:iiop:192.168.10.70:3700#AccessBean",beanInterface=AccessRemote.class)
and trying the non-argument InitialContext.
Now the error message looks like that:
javax.naming.NameNotFoundException: No object bound to name java:comp/env/ejb/AccessBeanRef
i also tried:
javax.naming.NameNotFoundException: No object bound to name java:comp/env/AccessBeanRef
@matterbury
If I browse the JNDI-Tree on my hosting Glassfish I see the following:
\/ Jndi Entries Root (server)
- UserTransaction
-> jdbc
- AccessBean
- AccessBean#de.aco.avc.ejb.AccessRemote
-> ejb
- AccessBean__3_x_Internal_RemoteBusinessHome__
so the AccessBean as JNDI reference is visisble there.
I have no clue why the servlet is not able to find the Bean on the host.
If u need more information how to solve this problem let me know!!!
Thanks again in advance for any help!
Cheers
[Message sent by forum member 'peter0601' (peter0601)]
http://forums.java.net/jive/thread.jspa?messageID=353869