2 Replies Latest reply on Nov 30, 2004 4:09 AM by hansonhx

    why can't get EJBHome by JNDI?

    hansonhx

      question:
      I deploy tomcat in a computer with RedHat Linux OS.And I deploy jboss
      in another computer also with RedHat Linux OS.But in test process,I find
      that I can't get EJBHome and throw exceptions:
      javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: no such object in table]
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:647)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507)
      at javax.naming.InitialContext.lookup(InitialContext.java:347)
      at com.zterc.uos.helpers.EJBHelper.getEJBHome(EJBHelper.java:42)
      at com.zterc.uos.oaas.client.LoginService.lookupHome(LoginService.java:124)
      at com.zterc.uos.oaas.client.LoginService.findJobOperations(LoginService.java:69)
      at com.ztesoft.bs.impl.agent.entity.UosUserInfo.readUserPower(UosUserInfo.java:116)
      at com.ztesoft.bs.impl.common.AuthenticationImpl.getOperator(AuthenticationImpl.java:165)
      at com.ztesoft.bs.action.common.LoginAction.execute(LoginAction.java:45)

      Can you help me to resolve this problem?Thanks.