Stone的专栏

个人主页:http://njchenyi.googlepages.com/

jacorb 的使用(三)启动通知服务

1. 查看 bin 目录下 ntfy.bat 文件,内容如下: 
@echo off 
rem Starts the JacORB Notification Service 
rem set CLASSPATH="../lib/backport-util-concurrent.jar;../lib/picocontainer-1.2.jar;../lib/antlr-2.7.2.jar" 
jaco org.jacorb.notification.ConsoleMain %* 

 

 

注:2.3.1版本此命令会报错,需要进行部分修改


2. 启动通知服务器 
ntfy -port 9999 -writeIOR C:/NF_Ref 

-port 9999  设置通知服务器的端口 
-writeIOR C:/NF_Ref  设置通知服务器IOR文件的路径。 

启动成功输出的日志如下: 

D:/jacorb>ntfy -port 9999 -writeIOR C:/NF_Ref 
[jacorb.orb.print_ver] INFO : 
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
        JacORB V 2.3.0, www.jacorb.org 
        (C) The JacORB project 17-Feb-2007 
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
[jacorb.orb] INFO : Property "jacorb.hashtable_class" is set to: java.util.HashM 
ap 
[org.jacorb.orb.codes] WARN : Warning - unknown codeset (GBK) - defaulting to IS 
O-8859-1 
[jacorb.orb.intercept] INFO : InterceptorManager started with 0 Server Intercept 
ors, 0 Client Interceptors and 1 IOR Interceptors 
[jacorb.poa] INFO : oid: 
5F 45 43 46 61 63 74 6F 72 79                               _ECFactory 
object is activated 
[jacorb.poa] INFO : Using server ID (3549237391) for transient POA 
[jacorb.orb.singleton] INFO : created ORBSingleton 
[jacorb.orb.giop] INFO : ClientConnectionManager: created new ClientGIOPConnecti 
on to 10.40.70.86:9999 (12be1bd) 
[jacorb.orb] INFO : ORB run 

阅读更多
文章标签: 服务器 server class c
个人分类: Corba
上一篇jacorb 的使用(二) 启动命名服务
下一篇jacorb 的使用(四) idl 编译
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭