flowable-6.5.0 running official demo

1. Download flowable-6.5.0 from the official website: https://flowable.com/open-source/downloads/

After downloading and unzipping, open the directory wars

2. Find a clean tomcat8

In the war file directory

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

A total of 5 war packages are placed in the webapps directory of tomact

3. then find tomcat / bin / startup.bat Start tomcat

It will wait for a while, after all war packages are decompressed

4. Find the

For example: webapps \ flowable admin \ WEB-INF \ classes application-dev.properties Such a profile

Modify: change to your own database link address, create the database name by yourself, and execute the sql script under create / all under database in flowable-6.5.0.zip to create 86 tables

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

Modify \ webapps \ flowable admin \ WEB-INF \ classes flowable-default.properties It is mainly to modify the database link to mysql's.java framework 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

5. After several items are modified, close the previously run tomcat and restart it

After normal startup, it will take a long time

Visit http://127.0.0.1 : 8080 / flowable admin user name admin password text

Visit http://127.0.0.1 : 8080 / flowable IDM user name admin password text

Visit http://127.0.0.1 : 8080 / flowable modeler user name admin password text

Tags: Programming Spring JDBC MySQL Database

Posted on Mon, 01 Jun 2020 11:10:09 -0400 by krelian