4.11. ORB 服务器配置更改


JacORB 实施已被 JBoss EAP 7 中的 OpenJDK ORB 的下游分支替代。

EAP_HOME/modules/system/layers/base/ 中的 org.jboss.as.jacorb 扩展模块已被 org.wildfly.iiop-openjdk 扩展模块替代。

服务器配置文件中的 urn:jboss:domain:jacorb:1.4 子系统配置命名空间已被 urn:jboss:domain:iiop-openjdk:2.1 命名空间替代。

以下是 JBoss EAP 6 中默认 jacorb 系统配置的示例。

<subsystem xmlns="urn:jboss:domain:jacorb:1.4">
    <orb socket-binding="jacorb" ssl-socket-binding="jacorb-ssl">
        <initializers security="identity" transactions="spec"/>
    </orb>
</subsystem>
Copy to Clipboard Toggle word wrap

以下是 JBoss EAP 7 中默认 iiop-openjdk 子系统配置的示例。

<subsystem xmlns="urn:jboss:domain:iiop-openjdk:2.1">
    <orb socket-binding="jacorb" ssl-socket-binding="jacorb-ssl" />
    <initializers security="identity" transactions="spec" />
</subsystem>
Copy to Clipboard Toggle word wrap

新的 iiop-openjdk 子系统配置仅接受传统元素和属性的子集。以下是 JBoss EAP 上一发行版本中的 jacorb 子系统配置示例,其中包含所有有效的元素和属性:

<subsystem xmlns="urn:jboss:domain:jacorb:1.4">
   <orb name="JBoss" print-version="off" use-imr="off" use-bom="off"  cache-typecodes="off"
       cache-poa-names="off" giop-minor-version="2" socket-binding="jacorb" ssl-socket-binding="jacorb-ssl">
       <connection retries="5" retry-interval="500" client-timeout="0" server-timeout="0"
           max-server-connections="500" max-managed-buf-size="24" outbuf-size="2048"
           outbuf-cache-timeout="-1"/>
       <initializers security="off" transactions="spec"/>
   </orb>
   <poa monitoring="off" queue-wait="on" queue-min="10" queue-max="100">
       <request-processors pool-size="10" max-threads="32"/>
   </poa>
   <naming root-context="JBoss/Naming/root" export-corbaloc="on"/>
   <interop sun="on" comet="off" iona="off" chunk-custom-rmi-valuetypes="on"
       lax-boolean-encoding="off" indirection-encoding-disable="off" strict-check-on-tc-creation="off"/>
   <security support-ssl="off" add-component-via-interceptor="on" client-supports="MutualAuth"
       client-requires="None" server-supports="MutualAuth" server-requires="None"/>
   <properties>
       <property name="some_property" value="some_value"/>
   </properties>
</subsystem>
Copy to Clipboard Toggle word wrap

以下元素属性不再被支持且必须被删除。

Expand
表 4.5. 要删除的属性
元素不支持的属性

<orb>

  • client-timeout
  • max-managed-buf-size
  • max-server-connections
  • outbuf-cache-timeout
  • outbuf-size
  • 连接重试
  • retry-interval
  • name
  • server-timeout

<poa>

  • queue-min
  • queue-max
  • pool-size
  • max-threads

以下 on/off 属性不再被支持,在运行管理 CLI 迁移操作时不会迁移。如果设置为 on,您将会收到迁移警告。此表中未提及 的其他/关闭 属性(如 < security support-ssl="on|off"&gt;)仍被支持,并会被成功迁移。唯一的区别是,其值将从 on/off 更改为 true/false

Expand
表 4.6. 被关闭或删除的属性
元素设置为 Off 的属性

<orb>

  • cache-poa-names
  • cache-typecodes
  • print-version
  • use-bom
  • use-imr

<interop>

(除 sun外的所有内容)

  • comet
  • iona
  • chunk-custom-rmi-valuetypes
  • indirection-encoding-disable
  • lax-boolean-encoding
  • strict-check-on-tc-creation

<poa>

  • 监控
  • queue-wait
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

Theme

© 2025 Red Hat