此内容没有您所选择的语言版本。

3.2. OTS Configuration File


Similar to the RESOLVE_INITIAL_REFERENCES option, JBoss Transaction Service supports an initial reference file where references for specific services can be stored and used at run-time. The file, CosServices.cfg, consists of two columns: the service name (which is always TransactionService if you are using OTS server) and the IOR, separated by a single space. CosServices.cfg normally resides in the etc directory of the JBoss Transaction Service installation, although the actual location is determined at run-time by searching the CLASSPATH for a copy of the file in an etc directory or the location of the TransactionService properties file directory.
The OTS server creates this file if not found, and registers itself within the file. Stale information is automatically removed. Machines sharing the same transaction server need access to either this file itself, or a copy of it.
You can override the name and location of the file using the com.arjuna.orbportability.initialReferencesFile and com.arjuna.orbportability.initialReferencesRoot variables, respectively.
      com.arjuna.orbportability.initialReferencesFile=myFile
      com.arjuna.orbportability.initialReferencesRoot=c:\\temp
Copy to Clipboard Toggle word wrap
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat