[jboss-user] [EJB 3.0] - Re: @EJB injection after redeploy

vlotarev do-not-reply at jboss.com
Wed May 20 12:11:31 EDT 2009


It's interesting that

new InitialContext().list()

returns right bound proxy classes but direct lookup invoked on the same context

new InitialContext().lookup(name)

returns old proxy class ...

It looks like InitialContext implementation caches bound objects somewhere (in static variable?) and this cache is not cleared during re-deployment.

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

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



More information about the jboss-user mailing list