Bonjour, j'ai deux EJB de type session l'un appel l'autre et puis depuis mon Backed bean JSF j'appel le premier, j'ai l'erreur suivante :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
CORE5024: EJB module [EnterpriseApplication3-ejb] unloaded successfully!
deployed with moduleid = EnterpriseApplication3-ejb
POARemoteRefFactory checking if SFSBVersionPolicy need to be added
EJBSCLookup:: sc.getEjbContainerAvailabilityEnabledFromConfig() ==> false
POARemoteRefFactory addSFSBVersionPolicy? false
POARemoteRefFactory checking if SFSBVersionPolicy need to be added
EJBSCLookup:: sc.getEjbContainerAvailabilityEnabledFromConfig() ==> false
POARemoteRefFactory addSFSBVersionPolicy? false
**RemoteBusinessJndiName: metier.MetierRemote; remoteBusIntf: metier.MetierRemote
naming.bind
POARemoteRefFactory checking if SFSBVersionPolicy need to be added
EJBSCLookup:: sc.getEjbContainerAvailabilityEnabledFromConfig() ==> false
POARemoteRefFactory addSFSBVersionPolicy? false
POARemoteRefFactory checking if SFSBVersionPolicy need to be added
EJBSCLookup:: sc.getEjbContainerAvailabilityEnabledFromConfig() ==> false
POARemoteRefFactory addSFSBVersionPolicy? false
**RemoteBusinessJndiName: dao.DAORemote; remoteBusIntf: dao.DAORemote
LDR5010: All ejb(s) of [EnterpriseApplication3-ejb] loaded successfully!
ma page1.java appel l'ejb metier.MetierReote qui appele dao.AORemote
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
 try {
            Context c = new InitialContext();
            dAOBean = (dao.DAORemote) c.lookup(dao.DAORemote.class.getName());
        } catch (NamingException ex) {
            Logger.getLogger(MetierBean.class.getName()).log(Level.SEVERE, null, ex);
        }
puis


Merci d'avance :