你服务器上发布的类和你客户端运行的Remote类好像说是不匹配可能是你写错了

解决方案 »

  1.   

    你的远程接口没有找到。把sessionbean的LOOKUPJNDI的方法中写上你的WL的IP地址,和用户名和密码就可以了。
      

  2.   


      String url =username;  //你的用户名
      String password =pw;   //你的密码
      Properties properties = null;
      try {
        properties = new Properties();
        properties.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
        properties.put(Context.PROVIDER_URL, url);
        if (user != null) {
         properties.put(Context.SECURITY_PRINCIPAL, user);
         properties.put(Context.SECURITY_CREDENTIALS, password == null ? "" : password);
        }    return new InitialContext(properties);
      }
      catch(Exception e) {
        throw e;
      }
      

  3.   


        properties = new Properties();
        properties.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
        properties.put(Context.PROVIDER_URL, url);
        if (user != null) {
         properties.put(Context.SECURITY_PRINCIPAL, user);
         properties.put(Context.SECURITY_CREDENTIALS, password == null ? "" : password);什么意思?例如Context.INITIAL_CONTEXT_FACTORY,是什么意思?
      

  4.   

    这位仁兄,问一下,你的weblogic7和jbuilder的配置步骤,我怎么老有问题,我有相关的帖子发在这里,你能看一下,或有步骤的正确资料能发给我吗!我加你200分!!
    我的email是[email protected],这里的帖子你回答我也照加谢谢!!
      

  5.   

    有《和jbuilder和weblogic7和jbuilder整和培训手册》
    你在www.google.com搜索一下
      

  6.   

    不好意思,应该是《jbuilder7和weblogic7整和培训手册》