users@glassfish.java.net

Local session bean injected in servlet on GlassFish 2.1 but not GlassFish 3.1

From: <forums_at_java.net>
Date: Fri, 6 May 2011 07:33:33 -0500 (CDT)

I have an EAR containing a war with a few servlets and a jar with a number of
EHB 3 stateless session beans and entity beans. The servlets use @EJB
annotation to inject references to local session bean interfaces. This works
fine when I deploy it on GlassFish 2.1 but on 3.1 the session bean references
are not injected. Injection works fine between session beans, it is only
servlets I have a problem with.

Does anyone have an idea what the problem could be? Simply a bug in GF 3.1
perhaps?

TIA,
Gunnar

 


--
[Message sent by forum member 'gugrim']
View Post: http://forums.java.net/node/799003