hi 

i got an error trying to find the CommandServiceBean


  |  String localCommandServiceJndiName 
  | = "java:comp/env/ejb/LocalCommandServiceBean";
  |     try {
  |       Context initial = new InitialContext();
  |       LocalCommandServiceHome localCommandServiceHome = 
(LocalCommandServiceHome) initial.lookup(localCommandServiceJndiName);
  |       LocalCommandService localCommandService = 
localCommandServiceHome.create()
  | 
  | ;
  | 

i copied the code from sources.  but localCommandService is  null


when i look at web-console jndiView i see

jndiName:  ejb/CommandServiceBean 

what is my error?



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176198#4176198

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176198
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to