工作流Activiti的学习总结(一)安装条件以及各步骤的作用以及不同环境需要lib包_part 1: configure activiti here is an example of c-程序员宅基地

技术标签: 企业中间件  

工作流activiti的下载地址:

     http://activiti.org/download.html

工作流activiti的必须的软件

JDK5+,Ant1.81+,Eclipse3.6.2

JDK:查看版本 java –version

ANT:查看版本 ant –version

运行默认的Demo安装:

   1.需要配置JAVA_HOME,ANT_HOME环境变量。

   2.更新(C:\mash_activiti-5.6\setup)build.properties和build.{your-database}.properties属性文件参数。

   3.运行ant命令(C:\mash_activiti-5.6\setup):ant demo.start

   4.如果运行不报错的,activiti的demo部署成功了。

运行ant的目的官方描述如下:

   This ant target will start a tomcat and a H2 database if you didn't change the default setings.(如果你再启动时候不更改相关的配置文件信息,ant将帮助你启动tomcat和H2数据库) The first time when the script is executed, it will also perform following installations: (第一次执行这个命令需要执行一下步骤)

·         (*) Build the webapps. All libraries are stored in ${actviti.home}/setup/files/dependencies/libs The webapps without the libs are stored in ${actviti.home}/setup/files/webapps. Building the webapps means that webapps are combined with the necessary libraries in ${actviti.home}/setup/build/webapps (activiti的WebApp工具在 ${actviti.home}/setup/build/webapps )

·         (*) Install the H2 in ${activiti.home}/apps/h2. This only happens if you're using h2 as your database. H2 is the default database.(H2的安装位置为 ${activiti.home}/apps/h2)

·         Start the H2 database. Again, this is only done if using h2 as the database. If you're using a different database it is assumed that it is already up and running.(启动H2数据库)

·         (*) Create the Activiti tables in the database(创建activiti相关的表结构)

·         (*) Insert the demo users and groups in the Activiti identity tables (向activiti对象的数据库中插入默认的用户和用户组)

·         (*) Deploy the example processes to the Activiti Engine DB(将实例demo中流程信息部署到activiti引擎对应的数据库)

·         (*) Download Tomcat if not available in the ${downloads.dir}(如果在build.properties文件中downloads.dir下Tomcat不可用用或者不存在自动下载Tomcat)

·         (*) Install Tomcat in ${activiti.home}/apps/apache-tomcat-${tomcat.version}(安装Tomcat)

·         (*) Create an Activiti configuration jar  (创建Activiti的配置文件activiti.cfg.xml等信息)

·         (*) Deploy the REST interface webapp into tomcat(部署REST接口的webapp信息到tomcat中)

·         (*) Download the Activiti Modeler webapp to ${activiti.home}/webapps. The license for the Activiti Modeler is MIT.(下载activiti-Modeler对象到目录)

·         (*) Deploy the Probe, Explorer and Modeler webapps into tomcat.(部署activiti的相关的webapp tools)

·         Start tomcat

(*) only performed the first time when running ant demo.start

After running this target H2 and Tomcat will be running in the background. To stop those processes run ant demo.stop.

The other targets in that build script can also be called individually and they will take the configurable properties into account. Run ant -p for more details.

讲述安装的目的:1.向拷贝依赖jaractiviti webapp工具文件信息
2.如果相应的目录(C:\mash_activiti-5.6\apps)中的tomcatH2tomant不可用的,则下载相关的软件。
3..向对应H2数据库中添加相关的数据。
4.启动tomcatH2数据库服务。

默认demo用户信息:

Table 2.1. The demo users

 

UserId

Password

Security roles

kermit

kermit

admin

gonzo

gonzo

manager

fozzie

fozzie

user

部署成功之后我们可以访问的activiti提供的webapp工具如下:

Table 2.2. The webapp tools

 

Webapp Name

URL

Description

 

Activiti Probe

http://ip:8080/activiti-probe 
管理控制台用于查看工作流引擎相关的信息(流程,数据库,定时任务,部署)

The admin management console. Use this tool to see if the configured process engine is correctly initialized, DB tables contents.

 

Activiti Explorer

http://ip:8080/activiti-explorer (用于查看流程和任务,以及流程详细信息和启动流程)

The process engine user console. Use this tool to view your personal and candidate task lists and to complete tasks.

 

Activiti Cycle

http://ip:8080/activiti-cycle

The Activiti collabotation tool. Use this to browse repositories and execute transformations between model formats.

 

Activiti Modeler powered by Signavio

http://ip:8080/activiti-modeler

The web based process designer tool. Use this tool to graphically author BPMN 2.0 compliant process definitions files.

 

Activiti KickStart

http://ip:8080/activiti-kickstart

Allows to specify processes quickly and efficiently in an adhoc way. Simple processes, quick prototypes and adhoc workflow are created in no time using KickStart.

 

Activiti Administrator

http://ip:8080/activiti-administrator

A webapp to administer the users and groups. Currently this is realized as a seperate app, but we plan to unify some of the webapps into a single webapp with authorization.

 

 

Note that the Activiti demo setup is a way of showing the capabilities and functionality of Activiti as easy and as fast as possible. This does however, not mean that it is the only way of using Activiti. As Activiti is 'just a jar', it can be embedded in any Java environment: with swing or on a Tomcat, JBoss, WebSphere, etc. Or you could very well choose to run Activiti as a typical, standalone BPM server. If it is possible in Java, it is possible with Activiti!

在activiti的实例实例工程中。

activiti-engine-examples: This set of examples show the most common usage of Activiti: BPMN process definitions and process executions are stored in a DB and the examples make use of the persistent API.()

This project contains the eclipse project files, an ant build file and a maven pom file. The ant build file is independent of the maven pom. Both are there to show how you can use ant and maven respectively for building and deploying processes as part of your build.

activiti-spring-examples: These examples show how you can use the Activiti Engine in a Spring environment. (activiti和Spring的整合实例demo)

activiti-groovy-examples: These examples show the library dependencies for groovy and an example process with groovy scripting.

activiti-jpa-examples: These examples show library dependencies and how you can work with JPA in Activiti.

activiti-cxf-examples: These examples show library dependencies and how you can work with web services in Activiti.

activiti-cycle-examples: This is a project containing an demo example project for Activiti Cycle

activiti-modeler-examples: This is a file based model repository to which the Activiti Modeler is configured in the demo setup.

 在activiti中Library依赖的包:
所有的lib文件都被放在setup/files/dependencies/libs,其中activiti-5.6\setup\files\dependencies中每一个文件包含了不同项目依赖的lib文件的名称集合。

·         libs.engine.runtime.txt: The library runtime dependencies to run the Activiti Engine.

 

·         libs.engine.runtime.test.txt: The libraries that need to be added to the ones in libs.engine.runtime.txt to run the tests

 

·         libs.engine.runtime.feature.groovy.txt: The libraries that need to be added to the ones in libs.engine.runtime.txt to use the groovy scripting capabilities.

 

·         libs.engine.runtime.txt: The libraries that need to be added to the ones in libs.engine.runtime.txt to use the JPA variable reference capabilities.

 

·         libs.spring.runtime.txt: The library runtime dependencies to run the Activiti Engine in a Spring environment. (This list includes the libs in libs.engine.runtime.txt)

 

·         libs.spring.runtime.test.txt: The libraries that need to be added to the ones in libs.spring.runtime.txt to run tests in a Spring environment (Spring和activiti整合需要的所有lib文件)

 

·         libs.cycle.runtime.test.txt, libs.webapp.rest.txt and libs.webapp.ui.txt: The full list of libraries dependencies for the respective components cycle, the rest webapp and the UI webapps like Activiti Explorer, Activiti Probe and Activiti Cycle (activiti REST整合,activiti-explorer需要的所有lib文件)

 

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/qq_31387691/article/details/52353033

智能推荐

添加socket头文件sys/socket.h时: 报无法打开源文件,sys/socket.h-程序员宅基地

文章浏览阅读2.4w次,点赞22次,收藏52次。添加socket头文件sys/socket.h时:报无法打开源文件,sys/socket.h将头文件:#include <sys/socket.h>,替换成:#include <winsock.h>,问题解决vs出现 fatal error C1083: 无法打开包括文件: “sys/socket.h”: No such file …..._sys/socket.h

K8S原理架构与实战教程-程序员宅基地

文章浏览阅读1k次。在介绍K8S之前,先来看看服务器的演变过程:物理机时代、虚拟机时代、容器化时代。

HEVC代码学习——帧间预测:预测MV获取(xEstimateMvPredAMVP、fillMVPCand)_hevc amvp-程序员宅基地

文章浏览阅读1.1k次,点赞2次,收藏3次。HEVC帧间预测在AMVP模式下是依靠xEstimateMvPredAMVP函数获取预测MV(MVP)的。xEstimateMvPredAMVP的作用是建立MVP列表并获取最优MVP,最终将最优MVP以及其索引等信息返回给上层函数——preInterSearch_hevc amvp

应用层协议(HTTP协议)_http应用层协议-程序员宅基地

文章浏览阅读5.3k次,点赞17次,收藏61次。但是就这样就可以了吗?当面试官问我们什么是HTTP协议时上面这个我们肯定能够说的出来但是这可能不是面试官想要的结果.面试官可能会在问什么是超文本控制协议?我们可以将超文本传输协议拆分为三部分:他们之间的关系如下: 1.什么是超文本?2.什么是传输?3.什么是协议一个URL的构成如下:1.协议方案名:2.登录信息:3.服务器地址4.端口号注意:当我们输入中文时中文也没被URL编码既然URL能对这些特殊字符进行编码那么服务器拿到这些字符的时候肯定要进行解码,这样服务器才能收到你传递的参数。也就是说urdecod_http应用层协议

ElasticSearch入门学习教程_elasticsearch.url配置文件-程序员宅基地

文章浏览阅读609次。前言本片博客是本人通过观看狂神说的视频记录的笔记,以此记录方便需要时查阅。视频地址:https://www.bilibili.com/video/BV17a4y1x7zq1.ElasticSearch的简介ElasticSearch,简称ES。ES是一个开源的高扩展的分布式全文检索引擎,它可以近乎实时的存储、检索数据;本身的扩展性很好,可以扩展到上百台服务器,处理BP(大数据)级别的数据。ES也使用Java开发并使用Lucene作为其核心来实现所有缩影和搜索功能,但是它的目的是通过简单的RE_elasticsearch.url配置文件

用matplotlib画散点图,并为每个点,每个坐标轴添加标签,_matplotlib散点图每个点标签-程序员宅基地

文章浏览阅读588次。【代码】用matplotlib画散点图,并为每个点,每个坐标轴添加标签,_matplotlib散点图每个点标签

随便推点

电气simulink常用模块_「西门子1200PLC教程」2.CPU家族及模块-程序员宅基地

文章浏览阅读783次。本文转自电气工程师必备的公众号“电气工程师助手”SIMATIC S7-1200具有集成化PROFINET接口、强大的集成工艺功能和灵活的可扩展性特点,为各种工艺任务提供了简单的通信和有效的解决方案,尤其满足多种应用中完全不同的自动化需求。1.中央处理器单元(CPU)常规规范CPU 1211C 技术规范CPU 1212C 技术规范CPU 1214C 技术规范CPU 1215C 技术规范CPU 121..._西门子plc simulink

ISIS 防环机制分析_is——is协议防环机制-程序员宅基地

文章浏览阅读6k次,点赞5次,收藏29次。通过实验来分析ISIS防环机制:实验拓扑:实验验证:ATT置位默认路由分析Level-2路由泄露到Level-1区域,LSP的Up/Down置位的作用验证分析:在R2上查看ISIS的LSDB:[R2]dis isis lsdb Database information for ISIS(1) ..._is——is协议防环机制

ViSP学习笔记(十):自动阈值划分_intermodes阈值分割-程序员宅基地

文章浏览阅读383次。开发环境:Ubuntu 18.04 LTS + ROS Melodic + ViSP 3.3.1文章内容主要参考ViSP官方教学文档:https://visp-doc.inria.fr/doxygen/visp-daily/tutorial_mainpage.html  本文主要介绍了如何使用ViSP自动设定阈值对图像进行二值化处理,主要涉及Huang、Intermodes、Isodata、Mean、Otsu、Triangle等自动阈值划分算法。本文主要参考了imgproc中的 tutorial-._intermodes阈值分割

海康Visionmaster-VM2D,VM3D,VM深度学习对电脑配置要求_海康vm安装-程序员宅基地

文章浏览阅读1.4k次。海康Visionmaster-VM2D,VM3D,VM深度学习对电脑配置要求_海康vm安装

CSS实现渐变色边框,动画效果_css 边框渐变-程序员宅基地

文章浏览阅读7.2k次,点赞4次,收藏11次。以上是CSS实现渐变色边框的5种方法,可以根据需要选择和应用不同的方法。_css 边框渐变

【技巧】Latex在线工具:公式编辑器、表格编辑器_latex表格在线编辑-程序员宅基地

文章浏览阅读3.5k次,点赞2次,收藏4次。在线工具就是方便!_latex表格在线编辑

推荐文章

热门文章

相关标签