Mantis - Resin
Viewing Issue Advanced Details
1276 minor always 08-07-06 11:27 08-07-06 14:34
ferg  
ferg  
normal  
closed  
fixed  
none    
none 3.0.21  
0001276: JNDI/EJB issue
It seems as though none of the EJB's declared in our .ejb file are being
deployed or made available to JNDI. I noticed a recent change in the
EJB deployment code between .19 and .20 in
com.caucho.ejb.cfg.EjbConfig.deployBeans().
Specifically, the following commented out section stuck out to me:

      /* XXX: handled by bean.deployServer
    if (bean.getServerProgram() != null)
      bean.getServerProgram().configure(server);
    */

I don't see where that functionality was moved to or if it is actually
significant. The exact same application code runs fine in the 7/05 snap
and earlier versions.

I found this after stepping into our JNDI lookup code and examining the
/ejb Context object's MemoryModel. In the 8/03 snap the "_children" are
empty but in the 7/05 snap and earlier, "_children" is chock full of
EJB's.

Notes
(0001426)
ferg   
08-07-06 14:34   
ejb/083c