I've seen some of the code I have running on Orion 2.0.2 and while I can initialize the InitialContext in that method, I'm not looking up beans there. I have a separate method which loads/discards home references and attempts to cache them as well.
Reviewing the spec, java:comp/env access IS allowed, but Enterprise Beans access isn't allowed (except for the bean's own Home interfaces). Thus, they comply to the spec, and "fixing" this for you would mean to break the spec, IMHO. Can't you just refactor the code? My 2c, JP =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
