"重构项目"
EJB"生成部署代码"

解决方案 »

  1.   

    PortableRemoteObject远程调用有问题,检查是不是在 调用 或者 EJB的代码 出了问题
      

  2.   

    UsersSessionFacadeHome這個有問題!!
      

  3.   

    Properties h = new Properties();
    h.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
    h.put(Context.PROVIDER_URL, "t3://127.0.0.1:7001");
    ctx = new InitialContext(h);Object oj = cxt.lookup(jndi);
    UsersSessionFacadeHome home = (UsersSessionFacadeHome ) PortableRemoteObject.narrow(oj,UsersSessionFacadeHome.class );
    同时
    UsersSessionFacadeHome 是remote