users@glassfish.java.net

Re: Dependency injection does not work

From: Sahoo <Sahoo_at_Sun.COM>
Date: Tue, 27 Jan 2009 19:32:47 +0530

Check if you accidentally changed the version to 2.4 or something less
than 2.5 in web.xml in your war file. Otherwise, you may have to do some
investigation yourself to correlate the changes you did and how that
affected the code that was working earlier.

glassfish_at_javadesktop.org wrote:
> Since few days I got some JNDI error calling the remote interface of an EJB.
> I lastly embedded the external java bean in the ear and I used local interfaces only.
>
> Then I saw that some other local interface calls failed when before they where working !!!
>
> I used to call the EJB from inside some JSP tag and today I had to use an explicit JNDI call in order to avoid the ejb variable value equals to null!!!
>
> What could stop the EJB injection from working propertly ?
>
> Paolo
> [Message sent by forum member 'paoloproni' (paoloproni)]
>
> http://forums.java.net/jive/thread.jspa?messageID=328381
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>