1.产品架构

2.安装过程

下载相应介质

  • JBoss EAP (jboss-eap-7.2.0.zip)   下载地址 https://developers.redhat.com/products/eap/download
  • Process Automation Manager (rhpam-7.2.0-business-central-eap7-deployable.zip) 下载地址  https://developers.redhat.com/products/rhpam/download
  • Process Automation Manager Kie Server (rhpam-7.2.0-kie-server-ee7.zip)
  • Process Automation Manager Case Management (rhpam-7.2.0-add-ons.zip)
  • Maven Repository       https://developers.redhat.com/download-manager/file/rhpam-7.2.0-maven-repository.zip

克隆git快速安装

git clone https://github.com/jbossdemocentral/rhpam7-install-demo.git

将下载的包放在install目录下

$ cp jboss-eap-7.2..zip rhpam-install-demo-master/installs/
$ cp rhpam-7.2.-business-central-eap7-deployable.zip rhpam-install-demo-master/installs/
$ cp rhpam-7.2.-kie-server-ee7.zip rhpam-install-demo-master/installs/
$ cp rhpam-7.2.-add-ons.zip rhpam-install-demo-master/installs/

需要安装jdk,maven和unzip

然后运行init.sh

[root@master rhpam7-install-demo-master]# ./init.sh

######################################################################
## ##
## Setting up the Install Demo ##
## ##
## ##
## #### # # #### ### # # ##### # # ##
## # # # # # # # # # # # # # # # ##
## #### ##### #### ##### # # # ### # ##
## # # # # # # # # # # # # ##
## # # # # # # # # # # # # # ##
## ##
## brought to you by, ##
## Red Hat ##
## ##
## ##
## git@github.com:jbossdemocentral/rhpam7-install-demo.git ##
## ##
###################################################################### Product sources are present... Product sources are present... Product sources are present... Product sources are present...
Provisioning JBoss EAP now... Deploying Red Hat Process Automation Manager: Business Central now... Deploying Red Hat Process Automation Manager: Process Server now... Deploying Red Hat Process Automation Manager: Case Management Showcase now... - enabling demo accounts setup... - setting up standalone.xml configuration adjustments... - setup email notification users... - making sure standalone.sh for server is executable... You can now start the Red Hat Process Automation Manager with ./target/jboss-eap-7.2/bin/standalone.sh Login to http://localhost:8080/business-central (u:pamAdmin / p:redhatpam1!)
Login to http://localhost:8080/rhpam-case-mgmt-showcase (u:pamAdmin / p:redhatpam1!) Red Hat Process Automation Manager 7.2 Install Demo Setup Complete.

将rhpam-7.2.0-maven-repository.zip解压并把所有的Package解压到.m2/repository下面

启动Process Automation Manager,直到出现initialize deployments task finished successfully!

./target/jboss-eap-7.2/bin/standalone.sh

在虚拟机中登录http://localhost:8080/business-central

这里明显是没有绑定外部的ip了,待会慢慢研究怎么绑定所有ip

绑定ip启动

./target/jboss-eap-7.2/bin/standalone.sh -b 0.0.0.0

注意,因为bc和Kie Server之间的需要相互访问,如果设置一个固定的ip地址,在配置文件中,因为指定localhost:8080/kie-server而导致bc无法访问kie-server

配置文件在

/root/rhpam7-install-demo-master/target/jboss-eap-7.2/standalone/configuration 的standard.xml中

 <system-properties>
<property name="org.kie.example" value="true"/>
<property name="org.jbpm.designer.perspective" value="full"/>
<property name="designerdataobjects" value="false"/>
<!-- Store data in JBoss EAP directories. -->
<property name="org.uberfire.nio.git.dir" value="${jboss.home.dir}/bin"/>
<property name="org.kie.server.repo" value="${jboss.server.data.dir}"/>
<property name="org.uberfire.metadata.index.dir" value="${jboss.home.dir}/bin"/>
<property name="org.guvnor.m2repo.dir" value="${jboss.home.dir}/bin"/>
<!--Please uncomment the following properties to make KIE Server to be managed by Business Central
Please also uncomment the default user and password which defined in standalone/configuration/application-roles.properties
and application-users.properties-->
<property name="org.kie.server.location" value="http://localhost:8080/kie-server/services/rest/server"/>
<property name="org.kie.server.controller" value="http://localhost:8080/business-central/rest/controller"/>
<property name="org.kie.server.controller.user" value="kieserver"/>
<property name="org.kie.server.controller.pwd" value="kieserver1!"/>
<property name="org.kie.server.user" value="kieserver"/>
<property name="org.kie.server.pwd" value="kieserver1!"/>
<property name="org.kie.server.id" value="default-kieserver"/>
</system-properties>

会导致流程部署成功以后无法 查询以及启动流程。

创建Space,然后Add Project,发现报了一个错误Could not find artifact junit:junit:jar:4.12 in central

进入相关的目录查看,果然是没有, 目前解决办法, 把虚拟机上网,下载junit-4.12.jar的包,然后运行

mvn deploy:deploy-file -DgroupId=junit -DartifactId=junit -Dversion=4.12 -Dpackaging=jar -Dfile=/root/junit-4.12.jar -Durl=file:///root/.m2/repository

验证项目和流程建立。

创建流程步骤

1.创建Space,创建Project

2.添加Data Object,创建Business Process

3.配置Task,生成Form

4.部署然后运行

在Asset中加入一个DRL Rule,代码如下

package com.hello.firstproject;

import com.hello.firstproject.prodata

rule "SimpleRule1"
ruleflow-group "helloworldgroup"
when
a : prodata( )
prodata( requestID < )
then
System.out.println("Hello World!");
a.setName( "EricNie" );
a.setAddress( "ShenZhen" );
end rule "SimpleRule2"
ruleflow-group "anothersimple"
when
a : prodata( )
prodata( requestID > )
then
System.out.println("Hello World!");
a.setName( "Alice" );
a.setAddress( "GuangZhou" );
end

流程中加入一个规则节点,选择相应的ruleflow-group

部署,然后测试和验证.

RHPAM 7.2安装的更多相关文章

  1. docker——容器安装tomcat

    写在前面: 继续docker的学习,学习了docker的基本常用命令之后,我在docker上安装jdk,tomcat两个基本的java web工具,这里对操作流程记录一下. 软件准备: 1.jdk-7 ...

  2. 网络原因导致 npm 软件包 node-sass / gulp-sass 安装失败的处理办法

    如果你正在构建一个基于 gulp 的前端自动化开发环境,那么极有可能会用到 gulp-sass ,由于网络原因你可能会安装失败,因为安装过程中部分细节会到亚马逊云服务器上获取文件.本文主要讨论在不变更 ...

  3. Sublime Text3安装JsHint

    介绍 Sublime Text3使用jshint依赖Nodejs,SublimeLinter和Sublimelinter-jshint. NodeJs的安装省略. 安装SublimeLinter Su ...

  4. Fabio 安装和简单使用

    Fabio(Go 语言):https://github.com/eBay/fabio Fabio 是一个快速.现代.zero-conf 负载均衡 HTTP(S) 路由器,用于部署 Consul 管理的 ...

  5. gentoo 安装

    加载完光驱后 1进行ping命令查看网络是否通畅 2设置硬盘的标识为GPT(主要用于64位且启动模式为UEFI,还有一个是MBR,主要用于32位且启动模式为bois) parted -a optima ...

  6. Linux平台 Oracle 10gR2(10.2.0.5)RAC安装 Part3:db安装和升级

    Linux平台 Oracle 10gR2(10.2.0.5)RAC安装 Part3:db安装和升级 环境:OEL 5.7 + Oracle 10.2.0.5 RAC 5.安装Database软件 5. ...

  7. Linux平台 Oracle 10gR2(10.2.0.5)RAC安装 Part1:准备工作

    Linux平台 Oracle 10gR2(10.2.0.5)RAC安装 Part1:准备工作 环境:OEL 5.7 + Oracle 10.2.0.5 RAC 1.实施前准备工作 1.1 服务器安装操 ...

  8. 【原】nodejs全局安装和本地安装的区别

    来微信支付有2年多了,从2年前的互联网模式转变为O2O模式,主要的场景是跟线下的商户去打交道,不像以往的互联网模式,有产品经理提需求,我们帮忙去解决问题. 转型后是这样的,团队成员更多需要去寻找业务的 ...

  9. tLinux 2.2下安装Mono 4.8

    Tlinux2.2发行版基于CentOS 7.2.1511研发而成,内核版本与Tlinux2.0发行版保持完全一致,更加稳定,并保持对Tlinux2.0的完全兼容.Mono 4版本要求CentOS 7 ...

随机推荐

  1. day5模块学习--sys模块

    sys模块 sys模块是处理与系统相关的模块,sys(system),下面来看看sys模块常用的方法: 1.sys.argv         #命令行参数list,第一个元素是程序本身路径 2.sys ...

  2. python使用cookie登陆网页

    python2: Python 爬虫入门六之 Cookie 的使用 python3: Python3 网络爬虫 (六):Python3 使用 Cookie - 模拟登陆获取妹子联系方式 python ...

  3. ODBC在注册表中的位置

    增加一个oracle的odbc regedit打开注册表 64位 :HKEY_LOCAL_MACHINE -> SOFTWARE -> 32位: HKEY_LOCAL_MACHINE -& ...

  4. Ubuntu18.04 n卡配置

    一.背景 最近安装了ubutnu18.04后,安装系统后重启卡住,强制关机重启后,又在开机界面紫屏卡住,上网搜索后发现是n卡的驱动问题,使用以下方法安装驱动后成功解决该问题. 二.解决方法 1.进入恢 ...

  5. 有了这套flex页面布局方案,页面什么的,那都不是事。

    一.CSS3弹性盒子弹性盒子是CSS3的一种新布局模式.CSS3 弹性盒( Flexible Box 或 flexbox),是一种当页面需要适应不同的屏幕大小以及设备类型时确保元素拥有恰当的行为的布局 ...

  6. 在Tomcat中部署web项目的三种方式

    搬瓦工搭建SS教程 SSR免费节点:http://www.xiaokeli.me 在这里介绍在Tomcat中部署web项目的三种方式: 1.部署解包的webapp目录 2.打包的war文件 3.Man ...

  7. 部署kettle7.1

    系统版本 [root@gaqzj ~]# cat /etc/redhat-release CentOS Linux release 7.4.1708 (Core) 安装JDK1.8 jdk-8u161 ...

  8. DHTML参考手册

    中文DHTML参考手册 本dhtml教程由宏博内容管理系统为它的Smarty模板制作者收集的,目的是可以做出更加精美的模板.下面列出了由动态 HTML 定义的对象.DHTML中文参考手册,实用dhtm ...

  9. ASP.net jQuery调用webservice返回json数据的一些问题

    之前寒假时,试着使用jQuery写了几个异步请求demo, 但是那样是使用的webform普通页面,一般应该是用 webservice 居多. 最近写后台管理时,想用异步来实现一些信息的展示和修改, ...

  10. 数据准备<4>:变量筛选-理论篇

    在上一篇文章<数据准备<3>:数据预处理>中,我们提到降维主要包括两种方式:基于特征选择的降维和基于维度转换的降维,其中基于特征选择的降维通俗的讲就是特征筛选或者变量筛选,是指 ...