[jboss-user] [EJB 3.0] - @EJB DI in a servlet always null

joo do-not-reply at jboss.com
Sat Jul 22 07:19:40 EDT 2006


I work with jboss 4.0.4 and tried to install a statless session bean. 
The bean is deployed.
But in a servlet, the DI doesn't work. It is allways null.
There is no error message,....

1. I think, I tried all possibilities. What can be wrong?
2. I tried to get the bean with lookup. But the JNDI name is not ok.
How can I get the right JNDI name of the bean ?

thanks
Georg




View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960098#3960098

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960098



More information about the jboss-user mailing list