3.5. 在Red Hat JBoss Web 服务器上安装Red Hat JBoss BRMS


Generic Deployable Package 可让客户将Red Hat JBoss BRMS 6 安装到现有的应用服务器上。下面的过程提供了在现有的Red Hat JBoss Web 服务器 2.0.1 实例上进行安装的说明。

过程 3.1. 安装 Generic Deployable Package

  1. 要从红帽客户支持门户下载 Generic Deployable Package,请登录 https://access.redhat.com
  2. 选择 Downloads Red Hat JBoss Middleware Download Software
  3. Product 下拉菜单里,选择 BRMS Platform
  4. Version 下拉菜单里,选择产品版本。
  5. 选择 Red Hat JBoss BRMS 6.0.2 Deployable for all supported containers 并点击 Download
  6. 解压下载的归档文件并创建下面的 ZIP 归档:
    • jboss-brms-engine.zip
    • jboss-brms-manager.zip
  7. jboss-brms-manager.zip 里解压 business-central.war 并复制到 tomcat7/webapps/
  8. business-central.war 删除 .war 扩展,所以这个目录现在是 business-central
  9. tomcat7/conf/tomcat-users.xml 里定义用户和角色如下:
      <role rolename="admin"/>
      <role rolename="analyst"/>
      <user username="user" password="password" roles="admin,analyst"/>
    Copy to Clipboard Toggle word wrap
  10. 编辑 tomcat7/webapps/business-central/WEB-INF 里的 web.xml 文件,取消所有用 TOMCAT-JEE-SECURITY 标记的条目的注释。
    <!-- TOMCAT-JEE-SECURITY -->
        <!--
        <init-param>
          <param-name>org.uberfire.auth.scheme</param-name>
          <param-value>org.uberfire.security.server.auth.JACCAuthenticationScheme</param-value>
        </init-param>
        -->
    
    
    Copy to Clipboard Toggle word wrap
    应该像这样取消注释:
    <!-- TOMCAT-JEE-SECURITY -->
    
        <init-param>
          <param-name>org.uberfire.auth.scheme</param-name>
          <param-value>org.uberfire.security.server.auth.JACCAuthenticationScheme</param-value>
        </init-param>
    
    
    Copy to Clipboard Toggle word wrap
  11. 从 BRMS 的 business-central/WEB-INF/lib 里复制 kie-tomcat-integration-VERSION.jar 文件到 tomcat7/lib
  12. 从 BRMS 的 business-central/WEB-INF/lib 里复制 slf4j-api-VERSION.jarslf4j-ext-VERSION.jar 文件到 tomcat7/lib
  13. 下载下面的文件并放入 tomcat7/lib 目录。
  14. 添加下列 Tomcat Valve 声明到 tomcat7/conf/server.xml(在相关的 <host> 元素内部):
    <Valve className="org.kie.integration.tomcat.JACCValve"/>
    Copy to Clipboard Toggle word wrap
  15. business-central/WEB-INF/classes/META-INF/services 里的 org.uberfire.security.auth.AuthenticationSource 重命名为 org.uberfire.security.auth.AuthenticationSource-ORIGIN,并将org.uberfire.security.auth.AuthenticationSource-TOMCAT-JEE-SECURITY 重命名为 org.uberfire.security.auth.AuthenticationSource
  16. tomcat7/bin 目录里运行 startup.sh 启动 JBoss Web 服务器。
    ./startup.sh
    Copy to Clipboard Toggle word wrap
  17. 在 Web 浏览器里访问 http://localhost:8080/business-central
  18. 用你定义用户角色的 tomcat-users.xml 文件提供的正确用户名和密码登录。
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

Theme

© 2025 Red Hat