Connect RMI without License

来源:互联网 发布:seo排名培训 编辑:程序博客网 时间:2024/05/17 13:10

在本机没有license的情况下,有两种方式连接RMI Server

1. //192.168.0.100:1099

2. http://192.168.0.100:8080/enovia

 

可以在web.xml中加入如下内容

      <context-param id="ContextParam_2">
         <param-name>ematrix.server.host</param-name>
         <param-value>//192.168.0.100:1099(http://192.168.0.100:8080/enovia)</param-value>
      </context-param>

 

也可以建立Test Java文件连接RMI

   context = new Context(":bos", "//135.251.35.155:1099(http://192.168.0.100:8080/enovia)");
   context.setUser("creator");
   context.setPassword("");
   context.setVault("eService Production");

   context.connect();

   context.disconnect();

原创粉丝点击