jacorb 的使用(二) 启动命名服务

    技术2022-07-04  126

    1. 查看 bin目录下 ns.bat的内容如下: @echo off rem Starts the JacORB name server jaco org.jacorb.naming.NameServer %* 2. 启动命名服务 ns -Djacorb.naming.ior_filename=c:/ns.ior -DOAPort=9999 jacorb.naming.ior_filename 设置命名服务生成的IOR文件的路径。 OAPort 设置命名服务的端口。 在 jacorb.properties 中也可以设置这两个属性 jacorb.naming.ior_filename=c:/NS_Ref OAPort=8765 启动成功,输出的日志如下: D:/jacorb>ns -Djacorb.naming.ior_filename=c:/ns.ior -DOAPort=9999 [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.orb.singleton] INFO : created ORBSingleton [jacorb.naming] INFO : NS up [jacorb.orb] INFO : ORB run 


    最新回复(0)