Wolfgang, I have tried many names found in JNDI, none of them worked. Would you please
post your Depends name? maybe I have to make EJB also as a @service?
| @Service(name = CmModule.SERVICE_NAME)
| @Depends( { "/MoService", "/ems/MoService",
"/IMoService", "/ems/MoService/remote",
| "/ems/MoService/remote-com.genband.ems.gvu.server.mo.IMoService",
"MoService", "ems/MoService", "IMoService",
| "ems/MoService/remote",
"ems/MoService/remote-com.genband.ems.gvu.server.mo.IMoService" })
| public class CmModule implements ICmModule {
| public final static String SERVICE_NAME = "CmModule";
| // @PersistenceContext
| // private EntityManager em;
|
| Logger log = LoggerFactory.getLogger(CmModule.class);
|
| @EJB
| private IMoService moService;
| ....
| }
|
Error message:
DEPLOYMENTS IN ERROR:
| Deployment "<UNKNOWN
jboss.j2ee:ear=ems.ear,jar=ems-server.jar,name=CmModule,service=EJB3>" is in error
due to the following reason(s): ** UNRESOLVED Demands 'ems/MoService/remote' **,
** UNRESOLVED Demands '/MoService' **, ** UNRESOLVED Demands '/IMoService'
**, ** UNRESOLVED Demands
'/ems/MoService/remote-com.genband.ems.gvu.server.mo.IMoService' **, ** UNRESOLVED
Demands '/ems/MoService/remote' **, ** UNRESOLVED Demands 'IMoService' **,
** UNRESOLVED Demands
'ems/MoService/remote-com.genband.ems.gvu.server.mo.IMoService' **, ** UNRESOLVED
Demands '/ems/MoService' **, ** UNRESOLVED Demands 'ems/MoService' **, **
UNRESOLVED Demands 'MoService' **
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262834#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...