4.11. ORB 服务器配置更改
JacORB 实施在 JBoss EAP 7 中已被 OpenJDK ORB 的下游分支取代。
位于 EAP_HOME/modules/system/layers/base/ 的 org.jboss.as.jacorb 扩展模块已被 org.wildfly.iiop-openjdk 扩展模块取代。
服务器 配置文件中的 Theurn: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>
以下是 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>
新的 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>
以下元素属性不再被支持,必须被删除。
| 元素 | 不支持的属性 |
|---|---|
| <orb> |
|
| <poa> |
|
以下 on/off 属性不再被支持,在运行管理 CLI 迁移操作时不会迁移。如果它们设置为 on,您会收到迁移警告。本表中未提及的其他 on/off 属性(如 <security support-ssl="on|off"> )仍受支持,并将成功迁移。唯一的区别在于,它们的值将从 on/off 改为 true/false。
| 元素 | 设置为 Off 的属性 |
|---|---|
| <orb> |
|
| <interop> |
(除
|
| <poa> |
|