Implementation Repository测试说明
来源:互联网 发布:java中策略设计模式 编辑:程序博客网 时间:2024/06/08 07:59
TAO自带的一个例子程序中的说明有点小问题,写的不是很全,按照上面的步骤做了以后还是不能运行。结合STONE的说明,再根据里面的其它说明,作个补充性的描述:
1,implrepo_service -orbendpoint iiop://localhost:9000 -d 1 -m 1 -p 1 -o implrepo.ior(同STONE的描述)
2,imr_activator -d 1 file://implrepo.ior(同STONE的描述,这个例子程序中的说明好象漏了这条)
3,Windows下:
tao_imr -ORBInitRef ImplRepoService=file://implrepo.ior
add childPOA -c "server.exe -ORBUseIMR 1 -i file://implrepo.ior"
4,tao_imr -ORBInitRef ImplRepoService=file://implrepo.ior ior childPOA -f stock_factory.ior (按照例子程序中的说明)
5,将产生的stock_factory.ior 拷贝到client.exe所在的文件夹
6,运行客户程序 client file://stock_factory.ior MSFT RHAT
折腾了半天,经过上面的步骤,有了预期的结果
后面进一步发现,按照原来的说明,修改和增加一些也可以成功运行
1,ImplRepo_Service -o implrepo.ior -d 0 -m 1 -ORBobjrefstyle URL 增加 -m 1
2,imr_activator -d 1 file://implrepo.ior
3, windows下,tao_imr -ORBInitRef ImplRepoService=file://implrepo.ior
add childPOA -c "server.exe -ORBUseIMR 1 -ORBobjrefstyle URL
-ORBInitRef ImplRepoService=file://implrepo.ior" ./server一定要修改,否则找不到服务器文件
4,tao_imr -ORBInitRef ImplRepoService=file://implrepo.ior ior
childPOA -f stock_factory.ior
5,将生成的stock_factory.ior 拷贝到和Client.exe相同的路径下,
6,运行客户程序 client file://stock_factory.ior MSFT RHAT
这个步骤也是可以运行的
- Implementation Repository测试说明
- TAO教程之五:实现库(Implementation Repository)
- 测试环境搭建 -- repository (svn)
- Implementation
- implementation
- Oracle AWR(Automatic Workload Repository) 说明
- Oracle AWR(Automatic Workload Repository) 说明
- add-apt-repository的简单说明
- @Component,@Repository、@Service 和 @Controller注解说明
- Dimensional Object的ROLAP Implementation和MOLAP Implementation的区别以及Deployment Option的说明
- Corba应用之TAO 实现库ImR(Implementation Repository)的使用
- Corba应用之TAO 实现库ImR(Implementation Repository)的使用
- Corba应用之TAO 实现库ImR(Implementation Repository)的使用
- WFS 实现说明(Web Feature Service Implementation Specification)
- AndroidStudio 3.0升级之compile、implementation简要说明
- CCNx中repository的使用测试
- 测试Spring Data JPA的repository
- Repository
- Change the background color of the header of a List Control
- MFC 中的CListCtrl简介
- 修改TEST_UDP_PROACTOR不能连续接受客户数据的问题
- ACE Proactor内存泄露问题1
- ACE Proactor内存泄露2
- Implementation Repository测试说明
- C#中对 XML节点进行添加,删除,查找和删除操作
- TinyXML简单应用
- VC2005设置Debug内存泄露检查
- VMDq (Virtual Machine Device Queue) in OpenSolaris
- 网络端口状态的表示与其含义
- C/C++笔试系列--经典C++笔试题解析5
- 开源日志系统 - log4cplus (一)
- 开源日志系统 - log4cplus (二)