Hi everybody

Sorry for the english i'm not the best with this language.

So,

In my ejb i've got this

private IGammeService getGammeService(){
if(gs != null){
return gs;
}else{
logger.debug("CompteEJBBean - GetGammeService - Debut");
gs = (IGammeService)getBeanFactory().
getBean("gammeService");
logger.debug("CompteEJBBean - GetGammeService - Fin");
return gs;
}
}

and getBeanFactory() return null !!!

this is strange because i've also got this :

private ICompteService getCompteService(){
if(cs != null){
return cs;
}else{
logger.debug("GammeEJBBean - GetCompteService - Debut");
cs = (ICompteService) getBeanFactory().getBean("compteService");
logger.debug("GammeEJBBean - GetCompteService - Fin");
return cs;
}
}

and it works.

in my Action I call one ejb by a proxy and after in this ejb i want to call another ejb by the getCompteService() method and that works well but in this second ejb i need cal a third by the getGammeService() method and that doesn't work at all.

Do you have any ideas?

thanks a lot in advance !!!

regards from france.

Ron.