XDA 4.1 Tutorial: Running ACE+TAO

CentOS 8 环境下OpenDDS-3-14配置过程 在学习OpenDDS过程中,发现网上的资料教程不全,同时很多大佬把一些步骤省略(虽然他们认为很简单,但是对于小白来说太南了),所以为了给广大小白提供便利,同时也给自己(小白)做个笔记,就把步骤记录下来,希望能与诸君共勉! DDS(Data Distribution Service)是数据分发服务的首字母缩略词。 DDS采用发布/订阅体系架构,强调以数据为中心,提供丰富的QoS服务质量策略,能保障数据进行实时、高效、灵活地分发,可满足各种分布式实时通信应用需求。 根据OMG(对象管理组织,Object M. 阅读详情

XDA 4.1 Tutorial: Running ACE+TAO

Purpose: To start the ACE+TAO Implementation Repository (ImR), the ImR Activator, and the Naming Service when running persistent or just the Naming Service when running in transient. XDA-encapsulated CORBA servers will need to be installed with the TAO ImR to make the server a persistent object with automatic activation.

Tutorial requirements: Click here to get descriptions of the software and environment variables.

Software
Required

Forte
No

.NET
No

Java
Yes

ACE+TAO
Yes

JAC
No

ANT
Yes

Environment Variable
Required

XDA_ROOT
Yes

ACE_ROOT
Yes

TAO_ROOT
Yes

JAVA_HOME
Yes

ANT_HOME
Yes

JACORB_HOME
No

Libraries

None

Include Paths

None

Procedure:

  1. Provided that you have ANT and Java installed, the easiest way to start the TAO ImR, ImR Activator, and Naming Service is to use the built-in ANT scripts. Copy $(XDA_ROOT)/share/classes/xdatasks.jar to the $(ANT_HOME)/lib folder. In $(XDA_ROOT)/share/bin, copy the template.xdaorb.properties to xdaorb.properties and edit the xdaorb.properties file. You should adjust the properties as appopriate for your installation of XDA. When using ANT, remember to copy $(XDA_ROOT)/share/classes/xdatasks.jar to the $(ANT_HOME)/lib directory. To get more verbose output from ANT, you can add the -verbose argument to your ANT command. The default setting in the xdaorb.properties file is to run transient objects. To change to persistent objects, refer to Transient Persistent Tutorial. If the settings are for persistent, in the $(XDA_ROOT)/share/bin directory, type
    ant tao.start
    to start the TAO ImR, Activator, and Naming Service. Two Interoperable Object Reference (IOR) files will be created in accordance with the tao.imr.ior and tao.ns.ior properties in the xdaorb.properties file. Both the tao_imr.ior (Implementation Repository IOR) and tao_ns.ior (Naming Service IOR) will be created in the $XDA_ROOT directory. Depending on your OS, either 3 xterms (Unix) or 3 command prompts (WinXP) will be created; each will be running either the ImR, ImR Activator, or the Naming Service.
  2. If the settings are for transient, typing:
    ant tao.start
    will bring up a single xterm (Unix) or command prompt (WinXP) in which the Naming Service is running. The Naming Service IOR will also be in the location specified by the configuration GTO.
  3. To install an XDA encapsulated component using the built-in ANT script, type the following:

    ant tao.install -Dimpl=<impl_name> -Dexe=<path_to_exe>

    where <impl_name> is the unique name of your server and <path_to_exe> is the path to the server's executable file. For a more specific example of using this script, please refer to the XDAsimple example.

    • For persistent settings, this will actually install the XDA Component into the TAO ImR and Naming Service and will allow the ImR Activator to automatically activate this component.
    • For the transient setting, the component is only installed in the Naming Service and will run in a new xterm (Unix) or command prompt (WinXP).
  4. To stop the TAO ImR, ImR Activator, and Naming Service using the built-in ANT scripts, type the following:
    ant tao.stop

(Behind ANT):In cases where the user can not use ANT, typing ant -verbose <ant-argument> prints out the actual commands issued by ANT. Below are the commands for the persistent setting only.

  1. For Windows, this is the command that starts the TAO Implementation Repository:

    start C:/vc70tao/XDA/bin/XDACmd.exe ImplRepo D:/ACE_wrappers/TAO/orbsvcs/ImplRepo_Service/ImplRepo_Service.exe -o C:/vc70tao/tao_imr.ior -ORBDottedDecimalAddresses 1

    where %XDA_ROOT% is C:/vc70tao. The -o C:/vc70tao/tao_imr.ior argument specifies the location of the ImR IOR file. Similary, the following WinXP command starts the Naming Service:

    start C:/vc70tao/XDA/bin/XDACmd.exe Naming_Service D:/ACE_wrappers/TAO/orbsvcs/Naming_Service/Naming_Service.exe -o C:/vc70tao/tao_ns.ior -ORBDottedDecimalAddresses 1

    where the -o C:/vc70tao/tao_ns.ior argument specifies the location of the Naming Service IOR file. To start the ImR Activator, use:

    start C:/vc70tao/XDA/bin/XDACmd.exe ImR_Act D:/ACE_wrappers/TAO/orbsvcs/ImplRepo_Service/ImR_Activator.exe -ORBInitRef NameService=file://C:/vc70tao/tao_ns.ior -ORBInitRef ImplRepoService=file://C:/vc70tao/tao_imr.ior

    .

  2. For Unix, start the TAO ImR by typing:

    /bin/sh -c "xterm -fn 6x13 -sb -sl 3000 -geometry 80x12+0+0 -fg black -bg '#ccccff' -title ImplRepo -e /proj/xda/ACE+TAO/x.3.1/sun54/ACE_wrappers/TAO/orbsvcs/ImplRepo_Service/ImplRepo_Service -o /local/xda4.1/sun54tao/tao_imr.ior -ORBDottedDecimalAddresses 1 </DEV null>/dev/null 2>&1 &"

    where $XDA_ROOT is /local/xda4.1/sun54tao and the -o /local/xda4.1/sun54tao/tao_imr.ior argument specifies the location of the ImR IOR file. Type:

    /bin/sh -c "xterm -fn 6x13 -sb -sl 3000 -geometry 80x12+0+180 -fg black -bg '#ccccff' -title Naming_Service -e /proj/xda/ACE+TAO/x.3.1/sun54/ACE_wrappers/TAO/orbsvcs/Naming_Service/Naming_Service -o /local/xda4.1/sun54tao/tao_ns.ior -ORBDottedDecimalAddresses 1 </DEV null>/dev/null 2>&1 &"

    to start the Naming Service. Note that the -o /local/xda4.1/sun54tao/tao_ns.ior argument specifies the location and name of the Naming Service IOR file. To start the ImR Activator, type:

    /bin/sh -c "xterm -fn 6x13 -sb -sl 3000 -geometry 80x36+0+360 -fg black -bg '#ccccff' -title ImR_Act -e /proj/xda/ACE+TAO/x.3.1/sun54/ACE_wrappers/TAO/orbsvcs/ImplRepo_Service/ImR_Activator -ORBInitRef NameService=file:///local/xda4.1/sun54tao/tao_ns.ior -ORBInitRef ImplRepoService=file:///local/xda4.1/sun54tao/tao_imr.ior </DEV null>/dev/null 2>&1 &"

    . To stop the ImR, ImR Activator, and Naming Service, find the processes and kill them or type Ctrl-c in the terminals.

  3. To administer the TAO ImR, you can use the $TAO_ROOT/orbsvcs/ImplRepo_Service/tao_imr executable (.exe on WinXP). To view a list of registered servers, type

    tao_imr -ORBInitRef ImplRepoService=file://C:/vc70tao/tao_imr.ior list

    where the -ORBInitRef is an ORB argument followied by the TAO Imr IOR file. Other arguments to tao_imr can include remove and update with each requiring additional arguments.

Discussion:The built-in ANT scripts for starting the TAO ImR, ImR Activator, and Naming Service can be run on either the Windows or Unix platforms as long as Java and ANT are installed. Note that the TAO ImR and ImR Activator are not started when the xdaorb.properties settings are for transient. In all cases, the user must make sure that ACE_ROOT and TAO_ROOT are set appropriately.

从零到一:AnythingLLM与Ollama的本地知识库搭建实战 本文详细介绍了如何使用AnythingLLM与Ollama从零开始搭建本地知识库,涵盖技术选型、环境部署、系统配置及优化策略。通过RAG技术架构,实现安全高效的文档管理与智能问答,特别适合企业及个人构建私有化知识管理系统。 阅读详情

相关推荐

【Tableau】解决订阅报表PDF中文显示为乱码(方框)问题

一、问题描述 在tableau server网页端报表中文字符能正常显示,但在订阅后发送到邮箱时,以图片格式呈现的内容中中文字符显示为方框。 网页端报表能正常显示中文字符: 邮件中的报表不能正常显示中文字符: 二、问题分析 网页端字符显示情况是由html编码决定的,而tableau生成图片时是通过所部署的服务器的字体文件显示字体。因此可能是由于Linux服务器缺失相关的字体文件导致网页端选择的中文字体在服务器上缺失对应的字体文件导致的。则考虑在服务器引入对应的字体文件。 三、问题解决 1、查看服务器现有

why_not_study的博客 2833

【原创】OpenDDS笔记(二) Linux环境下的环境搭建

1.1 环境 Linux:Ubuntu 16.04LTS Perl:V5.22.1 Make:GNU Make V4.1 gcc:V5.4.0 1.2 下载ACE+TAO与OpenDDS ACE+TAO下载地址:http://download.dre.vanderbilt.edu/ OpenDDS下载地址:http://download.ociweb.com/OpenDDS/ 下载时注意: ACE+TAO下载选择FULL版本。 FULL版本:包含所有GNU make预生成makefile的源

jam12315的专栏 3662

手把手教你用Docker快速部署ZLMediaKit流媒体服务器(含WebRTC配置)

本文详细介绍了如何使用Docker快速部署ZLMediaKit流媒体服务器,并配置WebRTC功能。通过容器化部署,实现环境一致性、资源隔离和快速扩展,同时提供WebRTC专项配置、多协议推拉流实战测试及生产环境优化建议,帮助开发者高效搭建企业级流媒体平台。

agile9scrum的博客 202

OpenDDS安装与开发

OpenDDS安装与开发 文章目录OpenDDS安装与开发1. OpenDDS介绍2. 环境搭建3. OpenDDS测试4. 名词解释5. OpenDDS应用开发步骤参考链接 1. OpenDDS介绍 官网:https://opendds.org/ 是个开源的数据分发中间件,有三层:TAO+ACE+DDS TAO负责封装数据,让OpenDDS支持跨平台; ACE负责数据通信; DDS负责数据的分发交互。 2. 环境搭建 主要包括三部分: Perl:用于运行OpenDDS的用例和一些环境配置

wml00000的博客 3448

保姆级教程:用ArcGIS Pro搞定云南30米分辨率DEM地形图(附数据下载与配色方案)

本文提供了一份详细的ArcGIS Pro教程,指导用户如何制作云南30米分辨率DEM地形图。从数据下载、预处理到镶嵌与质量控制,再到地形分析与可视化,全流程覆盖云南复杂地形的处理要点。特别包含数据下载链接、配色方案及常见问题解决方案,适合地理信息分析新手和专业人士。

weixin_30467199的博客 309

【客户案例】母婴行业头部品牌是如何做私域的

各品牌争相跑马圈地,想方设法圈住流量,建立品牌资产;私域运营是一项“重人力”的工作,在传统的品牌运营过程中,私域操盘手经常会由于一对多导致无法兼顾,只能通过提高触达次数的方式加大漏斗,这样难以让每个社群都发挥出应有的价值,甚至还会导致一定程度的用户流失。除了宝妈身份外激发的用户认同感、亲密度外,KOC们作为产品的使用者,自由选择的推品和自由创作的推广文案都更具有真实性、代表性,能够极大程度激发群友们的信任感,从而愿意为产品买单,转化复购水到渠成。不同阶段的宝妈,母婴知识的储存量和经验是不同的,K品牌还会。.

圈量SCRM系统-企微营销工具-私域流量运营软件 947

TAO使用指南 -- 做一个TAO的SDK

TAO的文件众多, 目录结构复杂, 所以生成一个所谓的TAO SDK来方便开发.这个TAO SDK的目录结构如下:TAOSDK_ROOT||-- bin (所有的可执行文件和动态链接库)|-- idl (ORB的IDL文件)|-- include (所有的头文件)| |-- ace| | |-- ***| | |-- ***| | | |-- orbsvcs| | |-- CosEvent| |

bitman的专栏 3668

深入浅出横向联邦学习、纵向联邦学习、联邦迁移学习

深入浅出解析横向联邦学习(Horizontal Federated Learning)、纵向联邦学习(Vertical Federated Learning)和联邦迁移学习(Federated Transfer Learning)有多个机构(比如几家不同的银行,或者几家医院)都拥有一些数据,他们希望联合起来训练一个更强大的机器学习模型,但出于隐私保护或法规要求,他们不能直接把数据共享出来。联邦学习就是为了解决这个问题而提出的。它的核心思想是“数据不动模型动”,即数据保留在本地,参与方共同训练模型。

frostmelody 全网同名,大家多多关注呀~ 持续分享优质内容! 2461

【OpenDDS学习笔记】ubuntu22.04上搭建OpenDDS环境

ubuntu上安装OpenDDS开发环境

u012739527的博客 2610

基于GIS的生态安全网络格局构建(附练习数据下载)

基于GIS的生态安全网络格局构建(附练习数据下载)

qq_43173805的博客 3124

猫群优化算法(CSO)详解:从生物灵感到智能优化

猫群优化算法(CSO)是一种模拟猫科动物行为的群体智能优化算法。该算法基于猫的两种主要行为模式:搜寻状态(全局探索)和跟踪状态(局部开发)。CSO通过混合率(MR)动态调整两种模式的比例,实现探索与开发的平衡。算法核心包括搜寻模式的变异操作和跟踪模式的速度-位移模型,具有收敛性能好、全局搜索能力强等特点。相比传统优化算法,CSO在高维复杂问题中表现优异,已成功应用于函数优化、图像处理等多个领域。算法性能受混合率、变化域等参数影响,自适应参数策略可进一步提升优化效果。

qq_42212808的博客 617

OpenDDS学习笔记(4):OpenDDS在Linux环境编译

一、编译前准备 1.1 环境 Linux:Ubuntu 16.04LTS Perl:V5.22.1 Make:GNU Make V4.1 gcc:V5.4.0 1.2 下载ACE+TAO与OpenDDS ACE+TAO下载地址:http://download.dre.vanderbilt.edu/ OpenDDS下载地址:http://download.ociweb.com/OpenDDS/ ...

胖虎的博客 1万+

深度剖析XY2-100与SL2-100协议:解锁激光打标核心技术密码

XY2-100和SL2-100是激光打标领域的两种核心控制协议。XY2-100协议采用串行通信,指令集简单,适合常规打标任务,具有成本优势;SL2-100协议支持更高速率(1Mbps以上),具备曲线插补等高级指令,在精密加工领域表现突出。两者的主要差异体现在数据传输(帧结构、速率)、指令集(功能、数量)、参数调节(范围、精度)和错误处理机制等方面。实际应用中,XY2-100适合简单图形的大批量生产,SL2-100更胜任复杂曲面的高精度加工。选择时需综合考虑打标需求、设备兼容性和成本因素,未来两种协议将持续优

远程部署调试 运行安装 项目调试 二次开发 项目技术新 持续迭代 部分源码免费分享 957

Windows下VC编译OpenDDS

OpenDDS是一个OMG组织DDS标准的C++开源实现,OpenDDS同时也提供Java支持。OpenDDS依赖ACE抽象层来提供不同平台的兼容性,同时也依赖于TAO(例如TAO的IDL编译器)。当前OpenDDS有ociweb ObjectComputing维护,官方网站http://www.opendds.org/。目前OpenDDS支持的平台有Windows,Linux family,An...

weixin_30394633的博客 371

Statistics and Machine Learning Toolbox

Statistics and Machine Learning Toolbox(带书签),MATLAB统计学习工具

假人有限元模型

假人模型,车辆碰撞假人有限元模型,适合做乘员安全的研究者利用

Corba应用之TAO 实现库ImR(Implementation Repository)的使用

Corba应用之TAO 实现库ImR(Implementation Repository)的使用 Corba应用之TAO 实现库ImR(Implementation Repository)的使用 作者:  wulanshi@163.com 零、前言 这篇文章是在学习ACE_wrappers/TAO/docs/tutorials/Quoter/Simple/Impl-Repo

TAO工作室Stone Jiang的专栏 1368

android 蓝牙通讯demo

android 下蓝牙通讯demo,实现了发现蓝牙,使能蓝牙,通过蓝牙发送消息。

linux编译ace tao,CentOS环境下ACE编译指南

CentOS环境下ACE编译指南1.环境说明:(1)CentOS6.3(2) ACE6.102.编译步骤:(1)定义环境变量:ACE_ROOT=/root/work/cots/ACE_wrappers;export ACE_ROOTLD_LIBRARY_PATH=$ACE_ROOT/lib;export LD_LIBRARY_PATH也可以直接设置到~/.bashrc 中exportACE_ROO...

weixin_42352842的博客 496

ACE + TAO工程中的Messenger启动过程

1.启动NameService服务 F:\ACESource\ACE_wrappers\TAO\orbsvcs\Naming_Service>tao_cosnaming.exe -o F:\ACESource\ACE_wrappers\TAO\orbsvcs\DevGuideExamples\NamingService\Messenger\ns.ior 2.启动Messenge...

weixin_30550271的博客 194

Corba接口(TAO及Java客户端)测试

编译TAO相关的tao_idl.exe等程序和dll,它们都在ACE_wrappers/bin下面一个IOR串实例:IOR:010000000d00000049444c3a4563686f3a312e3000000000010000000000000060000000010102cd03000000787900cd1704cdcd1b00000014010f00525354cd936c

4661

扩展v2.0.0的tao_nslist,使之对IOR进行解析

TAO自带的tao_nslist工具可以通过 -- ior 选项输出IOR,但如果想解析该IOR仍需要调用另一个工具tao_catior,很不方便,查看源码后发现仅需对nslist.cpp添加两处代码即可实现nslist集成IOR decode功能: 在include节添加: #include "..\\catior\Catior_i.h" #ifdef _DEBUG #pragma co

BlueEngine的专栏 1642

QT Cannot find file: 问题解决

初学QT,写这个系列博客记录下学习中遇到的问题 在跑一段源代码时出现了以下报错 报错原因翻译过来就是:未找到01_QtTest.pro.这个项目。 很奇怪,因为我就是打开的这个项目怎么会未找到,网上查找之后发现QT的源代码路径内不能有中文,将路径中的“代码”两个字修改成sourcecode后问题解决 Tip:在看代码报错的时候顺序一定要从前往后看,一个一个解决。因为大部分后面代码的...

weixin_41828221的博客 6197

TAO使用指南

标 题: TAO使用指南发信站: BBS 水木清华站 (Thu May 8 18:35:49 2003), 站内最近正在将一个工程由Orbix2000向TAO移植. 将一些心得和经验奉上, 算是给DOC版做点贡献... 说的不对, 请大家指正. 同时您有什么心得也不仿写出来嘛 :) 1. 什么是TAO?TAO是美国华盛顿大学的CORBA界大牛Douglas C. Schmidt博士领导开发的一个实

Mckay的专栏 4600

IDEA Maven项目 编译的问题

IDEA Maven项目 编译的问题 IDEA中,点击项目的maven插件的 compile: 出现: [INFO] ------------------------------------------------------------------------[ERROR] Failed to execute goa...

weixin_30516243的博客 3519

libpqxx 3.0 tutorial 第1,2章英汉对照

按: postgre sql 数据库的资料很少。libpqxx的风格及设计理念堪称佳品。以下是对该库文档前两章的翻译——蹩脚英语。至于第3章,是具体的编程,含代码实例,有了前两章的知识,语言障碍已经消失,遂不准备继续进行翻译。Version:1.0StartHTML:0000000168EndHTML:0000104053StartFragment:0000000785EndFra

BlueEngine的专栏 2468
上一篇: Corba应用之TAO 实现库ImR(Implementation Repository)的使用
下一篇: 没有大愿,哪有大业
Stone
博客等级 码龄21年 1715粉丝 158原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值