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.

山东大学软件工程应用与实践——GMSSL开源库(六)——SM9密钥交换协议 2021SC@SDUSC 文章目录基本概念符号及辅助算法SM9密钥交换协议 基本概念 1976年,Diffie和Hellman在其题为《密码学的新方向》的论文中首次给出了公钥密码学的定义,并提出了Diffie-Hellman密钥交换算法。该算法解决了对称密码体制中的密钥分发问题,使得通信双方可以通过公开信道安全地交换共享密钥。 使用SM9通信的双方通过对方的标识和自身的私钥,经过两次或者可选的三次信息传递过程,计算获取一个由双方共同决定的共享秘密密钥。该密钥可以作为对称密码算法的会话密钥,其中可选步骤用来实 阅读详情

相关推荐

用Python模拟随机游走:从一维到三维,直观理解马尔可夫链的常返性

本文通过Python模拟一维到三维的随机游走,直观展示马尔可夫链的常返性特性。使用NumPy和Matplotlib构建模拟器,揭示不同维度下随机游走的返回概率差异,帮助读者理解为什么一维和二维游走具有常返性,而三维游走可能永远迷失。文章包含完整的代码示例和可视化技巧,适合概率论和Python编程爱好者学习实践。

weixin_28694295的博客 400

【原创】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

从ADS到HFSS:耦合线带通滤波器的设计与模型转换实战

本文详细介绍了耦合线带通滤波器的完整设计流程,重点阐述了从ADS电路级快速优化到HFSS三维电磁场精确验证的模型转换实战方法。通过对比ADS理想模型仿真与HFSS全波仿真结果,指导读者进行参数校准与迭代优化,并分享了关键的板材选择、加工误差及端口设置等避坑指南,确保设计性能与实物测试高度一致。

weixin_29290863的博客 344

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

基于CRU和WorldClim的高分辨率(1km)气候数据生成

基于CRU和WorldClim的高分辨率(1km)气候数据生成

lhq7842955的博客 1693

【VAX 小番茄安装详细步骤】

本文详细介绍了在VS2022环境下安装Visual Assist X(番茄助手)的步骤及常见问题解决方案。主要内容包括:安装前的兼容性设置(需修改为Windows7兼容模式)、安装流程(卸载旧版本、勾选对应VS版本、替换关键dll文件)以及常见问题处理(如安装失败、工具栏图标缺失等)。文章提供了完整的下载链接和操作截图,特别强调了安装失败后的清理方法(注册表、安装目录和残余文件删除)。最后给出了安装成功后的测试运行指引。

qq_23962581的博客 1718

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

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

bitman的专栏 3668

Go语言集成Ollama本地大模型:gollama库实战指南

在当今的AI应用开发中,大型语言模型(LLM)的集成已成为关键技术。其核心原理是通过API调用,将自然语言处理能力嵌入到各类应用中。从技术价值看,本地化部署的LLM解决了数据隐私、网络延迟和持续成本三大痛点,尤其适合处理敏感数据或对实时性要求高的场景。在工程实践中,开发者常使用专门的客户端库来简化与模型服务的交互,例如通过封装REST API、提供类型安全接口和流式处理支持,从而提升开发效率和代码健壮性。具体到Go语言生态,结合Ollama这一流行的本地大模型运行工具,可以实现完全离线、低延迟的AI功能集成

weixin_28728443的博客 605

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

ubuntu上安装OpenDDS开发环境

u012739527的博客 2610

AUTOSAR CP R18-10 架构总览与导航

AUTOSAR CP R18-10 架构总览 本文档系统整理了AUTOSAR CP R18-10版本的199篇技术规范,涵盖7大架构层级: 应用层(15篇):包含车身舒适、底盘控制、HMI、安全系统、动力系统等AI应用 RTE(1篇):虚拟功能总线规范 服务层(159篇):细分为系统服务(OS/ECU管理/加密)、存储服务、通信服务(CAN/LIN/Ethernet) ECU抽象层(20篇):I/O与通信硬件抽象 MCAL(41篇):微控制器驱动层 复杂驱动(14篇):CDD设计与SPAL支撑 规范模板(2

一名留德华的,康德的信徒的,专注于汽车电子领域的博客 721

目标跟踪与视频时序分析基础

两帧均有目标,却因快速移动导致检测框无重叠,仅靠交并比(IoU)无法维持身份关联。本文通过手算与纯Python实现最小跟踪流程,揭示IoU仅为位置线索,不能应对快速位移或遮挡。实验表明,即使目标真实存在,低重叠也会触发新编号。强调跟踪需结合运动预测、外观特征与阈值验证,避免误判。

Mr数据杨 2335

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万+

Node-RED系列(二二):使用dashboard搭配echarts制作漂亮的面板

在node-red中dashboard 是一个很常用的模块,其中它有一个chart节点可以用来制作一些图表,比如柱状图,折线图,饼图,但其中的图表并不是很美观,而且可配置项非常的少。 于是就有很多小伙伴找我做一套比较好看的图表面板,在对比了一下几个图表库,我选中了echarts。 不仅美观大方,而且非常容易集成,配置。下面先来看一下我做的效果。这里是直接做了四个折线图,第一个折线图有动态效果,第二个折线图是一个多线条的折线图,第三个折线图是在一个图例显示两个折线图。第二第三都可以用于数据对比。 第四个折线

知无涯 1万+

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

TMS_WebGMaps_1.9.8.0_Full_Source

TMS_WebGMaps_1.9.8.0_Full_Source 全源码 delphi cbuilder

锂电池充电器电路设计 里面有电路

锂电池充电器电路设计 里面有电路 3.7V升压到5V电路设计。

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

C# WinForm 基于DirectShow.dll编写的程序,可边预览边保存视频,音频和图片

基于微软的DirectShow.dll的二次开发1.自动识别连接的摄像头跟麦克风且可以对其进行选择(默认选中第一个)2.可录制wmv和avi两种格式的视频并且都带有音频,avi可以录制的分辨率和帧数进行选择,wmv默认进行了淸晰度优化如不喜欢可去除代码中有相关提示3.可在预览点开之后进行拍照,也可边录制视频边拍照4.添加了视频和音频的压缩功能(酌情使用)这次二次开发发现C#对DirectShow的相关信息太少,这次做完也不敢藏私共享出来,还望大家指正

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

OV9734 DATASHEET,完整规格书

OV9734完整规格书,包括电气参数,尺寸规格,寄存器配置表等

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、付费专栏及课程。

余额充值