21.4.2. 为 JTS 事务配置 ORB
注意
full 和 full-ha 配置集。在独立服务器里,你可以使用 standalone-full.xml 或 standalone-full-ha.xml 配置。
过程 21.3. 使用管理控制台配置 ORB
查看配置集设置。
从管理控制台的顶部选择 Configuration。如果你使用了受管域,请在左上角选择 full 或 full-ha 配置集。修改 Initializers 设置
展开 Subsystems 菜单,展开 Container 子菜单并选择 JacORB。在主屏幕上出现的表单里,选择 Initializers 标签页并点击 Edit 按钮。通过设置 Security 为on来启用安全拦截器。要启用 JTS 里的 ORB,请设置 Transaction Interceptors 值为on,而不是默认的spec。关于这些值的详细解释,请点击表单里的 Need Help? 链接。在完成编辑后请点击 Save。高级的 ORB 配置
关于高级的配置选项,请参考表单的其他部分。每个部分都包含一个关于参数详细解释的 Need Help? 链接。
你可以使用管理 CLI 配置 ORB 的每个方面。下面的命令配置初始器为与上面过程里使用管理控制台相同的值。这是 JTS 里 ORB 的最小配置。
/profile=full 部分。
例 21.3. 启用安全拦截器
/profile=full/subsystem=jacorb/:write-attribute(name=security,value=on)
例 21.4. 在 JacORB 子系统里启用事务
/profile=full/subsystem=jacorb/:write-attribute(name=transactions,value=on)
例 21.5. 在事务子系统里启用 JTS
/profile=full/subsystem=transactions:write-attribute(name=jts,value=true)
注意

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.