0 Replies Latest reply on Sep 13, 2015 9:07 AM by 明欣 陆

    help.....jndi local lookup didnot work, remote is ok..

    明欣 陆 Newbie

      the remote ways  like  ejb: .....its ok

       

      but the local ways did not....

      i tested every path like below , still got a error .

      log info:

       

              java:global/ejbtest2/MessageHandlerBean!hello.MessageHandlerBeanLocal

              java:app/ejbtest2/MessageHandlerBean!hello.MessageHandlerBeanLocal

              java:module/MessageHandlerBean!hello.MessageHandlerBeanLocal

              java:global/ejbtest2/MessageHandlerBean!hello.MessageHandlerBeanRemote

              java:app/ejbtest2/MessageHandlerBean!hello.MessageHandlerBeanRemote

              java:module/MessageHandlerBean!hello.MessageHandlerBeanRemote

              java:jboss/exported/ejbtest2/MessageHandlerBean!hello.MessageHandlerBeanRemote

       

       

      error :

           javax.naming.NameNotFoundException: global/ejbtest2/MessageHandlerBean!hello.MessageHandlerBeanLocal -- service jboss.naming.context.java.jboss.exported.global.ejbtest2."MessageHandlerBean!hello.MessageHandlerBeanLocal"

       

      any help  please......thanks..