前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >flowable 流程审批引擎

flowable 流程审批引擎

作者头像
小仙女闯运维
发布2020-09-23 16:26:56
1.6K0
发布2020-09-23 16:26:56
举报
文章被收录于专栏:小仙女技术栈小仙女技术栈
  1. 从官网下载 flowable-6.5.0 : https://flowable.com/open-source/downloads/

下载完,解压后,打开目录 wars

2.找个干净的 tomcat8

把 wars 文件目录里面的

flowable-admin.war flowable-idm.war flowable-modeler.war flowable-rest.war flowable-task.war

共 5 个 war包放到tomact的 webapps 目录

  1. 然后找到 tomcat / bin / startup.bat 启动 tomcat

会等待一段时间,所有war包都解压后

4.找到每个项目中的

比如:webappsflowable-adminWEB-INFclasses application-dev.properties 这样的配置文件

修改:改成自己的数据库链接地址,数据库名flowable 自己创建,从flowable-6.5.0.zip里面database下面的creat/all 下的sql 脚本执行去建表 86张表

spring.datasource.driver-class-name=com.mysql.jdbc.Driver spring.datasource.url=jdbc:mysql://127.0.0.1:3306/flowable?characterEncoding=UTF-8 spring.datasource.username=root spring.datasource.password=root

flowable.admin.app.server-config.process.port=9999 flowable.admin.app.server-config.cmmn.port=9999 flowable.admin.app.server-config.app.port=9999 flowable.admin.app.server-config.dmn.port=9999 flowable.admin.app.server-config.form.port=9999 flowable.admin.app.server-config.content.port=9999

修改webappsflowable-adminWEB-INFclasses flowable-default.properties, 主要就是修改数据库链接上,改成mysql的. java 框架大全 :www.1b23.com

server.port=9988 server.servlet.context-path=/flowable-admin management.endpoints.jmx.unique-names=true

This is needed to force use of JDK proxies instead of using CGLIB

spring.aop.proxy-target-class=false spring.aop.auto=false spring.application.name=flowable-ui-admin spring.liquibase.enabled=false spring.servlet.multipart.max-file-size=10MB spring.banner.location=classpath:/org/flowable/spring/boot/flowable-banner.txt

The default domain for generating ObjectNames must be specified. Otherwise when multiple Spring Boot applications start in the same servlet container

all would be created with the same name (com.zaxxer.hikari:name=dataSource,type=HikariDataSource) for example

spring.jmx.default-domain=${spring.application.name}

Expose all actuator endpoints to the web

They are exposed, but only authenticated users can see /info and /health abd users with access-admin can see the others

management.endpoints.web.exposure.include=*

Full health details should only be displayed when a user is authorized

management.endpoint.health.show-details=when_authorized

Only users with role access-admin can access full health details

management.endpoint.health.roles=access-admin

Spring prefixes the roles with ROLE_. However, Flowable does not have that concept yet, so we need to override that with an empty string

flowable.common.app.role-prefix=

H2 example (default)

spring.datasource.driver-class-name=org.h2.Driver

spring.datasource.url=jdbc:h2:tcp://localhost/flowableadmin

spring.datasource.url=jdbc:h2:~/flowable-db/db;AUTO_SERVER=TRUE;AUTO_SERVER_PORT=9091;DB_CLOSE_DELAY=-1

spring.datasource.driver-class-name=com.mysql.jdbc.Driver spring.datasource.url=jdbc:mysql://127.0.0.1:3306/flowable?characterEncoding=UTF-8

spring.datasource.driver-class-name=org.postgresql.Driver

spring.datasource.url=jdbc:postgresql://localhost:5432/flowableadmin

spring.datasource.driver-class-name=com.microsoft.sqlserver.jdbc.SQLServerDriver

spring.datasource.url=jdbc:sqlserver://localhost:1433;databaseName=flowableadmin

spring.datasource.driver-class-name=oracle.jdbc.driver.OracleDriver

spring.datasource.url=jdbc:oracle:thin:@localhost:1521:FLOWABLEADMIN

spring.datasource.driver-class-name=com.ibm.db2.jcc.DB2Driver

spring.datasource.url=jdbc:db2://localhost:50000/flowableadmin

spring.datasource.username=root spring.datasource.password=root

  1. 几个项目的都修改完,关闭之前运行的tomcat ,重新启动

都正常启动后,需要时间久点

访问 http://127.0.0.1:8080/flowable-admin 用户名 admin 密码 text

访问 http://127.0.0.1:8080/flowable-idm 用户名 admin 密码 text

访问 http://127.0.0.1:8080/flowable-modeler 用户名 admin 密码 text

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2020-09-03,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • This is needed to force use of JDK proxies instead of using CGLIB
  • The default domain for generating ObjectNames must be specified. Otherwise when multiple Spring Boot applications start in the same servlet container
  • all would be created with the same name (com.zaxxer.hikari:name=dataSource,type=HikariDataSource) for example
  • Expose all actuator endpoints to the web
  • They are exposed, but only authenticated users can see /info and /health abd users with access-admin can see the others
  • Full health details should only be displayed when a user is authorized
  • Only users with role access-admin can access full health details
  • Spring prefixes the roles with ROLE_. However, Flowable does not have that concept yet, so we need to override that with an empty string
  • H2 example (default)
  • spring.datasource.driver-class-name=org.h2.Driver
  • spring.datasource.url=jdbc:h2:tcp://localhost/flowableadmin
  • spring.datasource.url=jdbc:h2:~/flowable-db/db;AUTO_SERVER=TRUE;AUTO_SERVER_PORT=9091;DB_CLOSE_DELAY=-1
  • spring.datasource.driver-class-name=org.postgresql.Driver
  • spring.datasource.url=jdbc:postgresql://localhost:5432/flowableadmin
  • spring.datasource.driver-class-name=com.microsoft.sqlserver.jdbc.SQLServerDriver
  • spring.datasource.url=jdbc:sqlserver://localhost:1433;databaseName=flowableadmin
  • spring.datasource.driver-class-name=oracle.jdbc.driver.OracleDriver
  • spring.datasource.url=jdbc:oracle:thin:@localhost:1521:FLOWABLEADMIN
  • spring.datasource.driver-class-name=com.ibm.db2.jcc.DB2Driver
  • spring.datasource.url=jdbc:db2://localhost:50000/flowableadmin
相关产品与服务
云数据库 SQL Server
腾讯云数据库 SQL Server (TencentDB for SQL Server)是业界最常用的商用数据库之一,对基于 Windows 架构的应用程序具有完美的支持。TencentDB for SQL Server 拥有微软正版授权,可持续为用户提供最新的功能,避免未授权使用软件的风险。具有即开即用、稳定可靠、安全运行、弹性扩缩等特点。
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档