挂起、激活单个流程实例

news2024/11/25 4:57:38

类:com.roy.ActivitiBusinessDemo

/**
     * 挂起、激活单个流程实例
     */
    @Test
    public void suspendSingleProcessInstance(){
//        1、获取流程引擎
        ProcessEngine processEngine = ProcessEngines.getDefaultProcessEngine();
//        2、RuntimeService
        RuntimeService runtimeService = processEngine.getRuntimeService();
//        3、通过RuntimeService获取流程实例对象
        ProcessInstance instance = runtimeService.createProcessInstanceQuery()
                .processInstanceId("85001")
                .singleResult();
//        4、得到当前流程实例的暂停状态,true-已暂停  false -激活
        boolean suspended = instance.isSuspended();
//        5、获取流程实例id
        String instanceId = instance.getId();
//        6、判断是否已经暂停,如果已经暂停,就执行激活操作
        if(suspended){
//            如果已经暂停,就执行激活
            runtimeService.activateProcessInstanceById(instanceId);
            System.out.println("流程实例id:"+instanceId+"已经激活");
        }else {
//        7、如果是激活状态,就执行暂停操作
            runtimeService.suspendProcessInstanceById(instanceId);
            System.out.println("流程实例id:"+instanceId+"已经暂停");
        }
    }

2023-06-05 22:12:34,466 0     [           main] INFO  activiti.engine.ProcessEngines  - Initializing process engine using configuration 'file:/D:/workspace/20210614/ActivitiDemo/BasicDemo/target/classes/activiti.cfg.xml'

2023-06-05 22:12:34,468 2     [           main] INFO  activiti.engine.ProcessEngines  - initializing process engine for resource file:/D:/workspace/20210614/ActivitiDemo/BasicDemo/target/classes/activiti.cfg.xml

2023-06-05 22:12:34,987 521   [           main] DEBUG ry.xml.XmlBeanDefinitionReader  - Loaded 2 bean definitions from InputStream resource [resource loaded through InputStream]

2023-06-05 22:12:34,989 523   [           main] DEBUG ort.DefaultListableBeanFactory  - Creating shared instance of singleton bean 'processEngineConfiguration'

2023-06-05 22:12:35,437 971   [           main] DEBUG ort.DefaultListableBeanFactory  - Creating shared instance of singleton bean 'dataSource'

2023-06-05 22:12:39,153 4687  [           main] DEBUG ProcessEngineConfigurationImpl  - database product name: 'MySQL'

2023-06-05 22:12:39,153 4687  [           main] DEBUG ProcessEngineConfigurationImpl  - using database type: mysql

2023-06-05 22:12:39,393 4927  [           main] DEBUG ache.ibatis.logging.LogFactory  - Logging initialized using 'class org.apache.ibatis.logging.slf4j.Slf4jImpl' adapter.

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by org.apache.ibatis.reflection.Reflector (file:/D:/studysoftware/mavenRepository-gpidea/org/mybatis/mybatis/3.4.5/mybatis-3.4.5.jar) to method java.lang.Object.finalize()

WARNING: Please consider reporting this to the maintainers of org.apache.ibatis.reflection.Reflector

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations

WARNING: All illegal access operations will be denied in a future release

2023-06-05 22:12:41,069 6603  [           main] DEBUG mpl.interceptor.LogInterceptor  -

2023-06-05 22:12:41,069 6603  [           main] DEBUG mpl.interceptor.LogInterceptor  - --- starting SchemaOperationsProcessEngineBuild --------------------------------------------------------

2023-06-05 22:12:41,078 6612  [           main] DEBUG da.DefaultActivitiEngineAgenda  - Operation class org.activiti.engine.impl.interceptor.CommandInvoker$1 added to agenda

2023-06-05 22:12:41,089 6623  [           main] DEBUG ti.engine.impl.db.DbSqlSession  - Executing performSchemaOperationsProcessEngineBuild with setting true

2023-06-05 22:12:41,089 6623  [           main] DEBUG ansaction.jdbc.JdbcTransaction  - Opening JDBC Connection

2023-06-05 22:12:41,111 6645  [           main] DEBUG ansaction.jdbc.JdbcTransaction  - Setting autocommit to false on JDBC Connection [jdbc:mysql://localhost:3306/activiti?serverTimezone=GMT%2B8, UserName=root@localhost, MySQL Connector/J]

2023-06-05 22:12:41,181 6715  [           main] DEBUG pertyEntityImpl.selectProperty  - ==>  Preparing: select * from ACT_GE_PROPERTY where NAME_ = ? 

2023-06-05 22:12:41,219 6753  [           main] DEBUG pertyEntityImpl.selectProperty  - ==> Parameters: schema.version(String)

2023-06-05 22:12:41,267 6801  [           main] DEBUG pertyEntityImpl.selectProperty  - <==      Total: 1

2023-06-05 22:12:41,299 6833  [           main] DEBUG ti.engine.impl.db.DbSqlSession  - Flushing dbSqlSession

2023-06-05 22:12:41,299 6833  [           main] DEBUG ti.engine.impl.db.DbSqlSession  - flush summary: 0 insert, 0 update, 0 delete.

2023-06-05 22:12:41,299 6833  [           main] DEBUG ti.engine.impl.db.DbSqlSession  - now executing flush...

2023-06-05 22:12:41,299 6833  [           main] DEBUG aloneMybatisTransactionContext  - firing event committing...

2023-06-05 22:12:41,300 6834  [           main] DEBUG aloneMybatisTransactionContext  - committing the ibatis sql session...

2023-06-05 22:12:41,300 6834  [           main] DEBUG aloneMybatisTransactionContext  - firing event committed...

2023-06-05 22:12:41,301 6835  [           main] DEBUG ansaction.jdbc.JdbcTransaction  - Resetting autocommit to true on JDBC Connection [jdbc:mysql://localhost:3306/activiti?serverTimezone=GMT%2B8, UserName=root@localhost, MySQL Connector/J]

2023-06-05 22:12:41,302 6836  [           main] DEBUG ansaction.jdbc.JdbcTransaction  - Closing JDBC Connection [jdbc:mysql://localhost:3306/activiti?serverTimezone=GMT%2B8, UserName=root@localhost, MySQL Connector/J]

2023-06-05 22:12:41,302 6836  [           main] DEBUG mpl.interceptor.LogInterceptor  - --- SchemaOperationsProcessEngineBuild finished --------------------------------------------------------

2023-06-05 22:12:41,302 6836  [           main] DEBUG mpl.interceptor.LogInterceptor  -

2023-06-05 22:12:41,302 6836  [           main] INFO  .engine.impl.ProcessEngineImpl  - ProcessEngine default created

2023-06-05 22:12:41,322 6856  [           main] DEBUG mpl.interceptor.LogInterceptor  -

2023-06-05 22:12:41,322 6856  [           main] DEBUG mpl.interceptor.LogInterceptor  - --- starting ValidateExecutionRelatedEntityCountCfgCmd --------------------------------------------------------

2023-06-05 22:12:41,322 6856  [           main] DEBUG da.DefaultActivitiEngineAgenda  - Operation class org.activiti.engine.impl.interceptor.CommandInvoker$1 added to agenda

2023-06-05 22:12:41,322 6856  [           main] DEBUG ansaction.jdbc.JdbcTransaction  - Opening JDBC Connection

2023-06-05 22:12:41,325 6859  [           main] DEBUG ansaction.jdbc.JdbcTransaction  - Setting autocommit to false on JDBC Connection [jdbc:mysql://localhost:3306/activiti?serverTimezone=GMT%2B8, UserName=root@localhost, MySQL Connector/J]

2023-06-05 22:12:41,326 6860  [           main] DEBUG pertyEntityImpl.selectProperty  - ==>  Preparing: select * from ACT_GE_PROPERTY where NAME_ = ? 

2023-06-05 22:12:41,326 6860  [           main] DEBUG pertyEntityImpl.selectProperty  - ==> Parameters: cfg.execution-related-entities-count(String)

2023-06-05 22:12:41,327 6861  [           main] DEBUG pertyEntityImpl.selectProperty  - <==      Total: 1

2023-06-05 22:12:41,327 6861  [           main] DEBUG ti.engine.impl.db.DbSqlSession  - Flushing dbSqlSession

2023-06-05 22:12:41,327 6861  [           main] DEBUG ti.engine.impl.db.DbSqlSession  - flush summary: 0 insert, 0 update, 0 delete.

2023-06-05 22:12:41,327 6861  [           main] DEBUG ti.engine.impl.db.DbSqlSession  - now executing flush...

2023-06-05 22:12:41,327 6861  [           main] DEBUG aloneMybatisTransactionContext  - firing event committing...

2023-06-05 22:12:41,327 6861  [           main] DEBUG aloneMybatisTransactionContext  - committing the ibatis sql session...

2023-06-05 22:12:41,328 6862  [           main] DEBUG aloneMybatisTransactionContext  - firing event committed...

2023-06-05 22:12:41,328 6862  [           main] DEBUG ansaction.jdbc.JdbcTransaction  - Resetting autocommit to true on JDBC Connection [jdbc:mysql://localhost:3306/activiti?serverTimezone=GMT%2B8, UserName=root@localhost, MySQL Connector/J]

2023-06-05 22:12:41,330 6864  [           main] DEBUG ansaction.jdbc.JdbcTransaction  - Closing JDBC Connection [jdbc:mysql://localhost:3306/activiti?serverTimezone=GMT%2B8, UserName=root@localhost, MySQL Connector/J]

2023-06-05 22:12:41,330 6864  [           main] DEBUG mpl.interceptor.LogInterceptor  - --- ValidateExecutionRelatedEntityCountCfgCmd finished --------------------------------------------------------

2023-06-05 22:12:41,330 6864  [           main] DEBUG mpl.interceptor.LogInterceptor  -

2023-06-05 22:12:41,330 6864  [           main] INFO  activiti.engine.ProcessEngines  - initialised process engine default

2023-06-05 22:12:41,335 6869  [           main] DEBUG mpl.interceptor.LogInterceptor  -

2023-06-05 22:12:41,335 6869  [           main] DEBUG mpl.interceptor.LogInterceptor  - --- starting ProcessInstanceQueryImpl --------------------------------------------------------

2023-06-05 22:12:41,335 6869  [           main] DEBUG da.DefaultActivitiEngineAgenda  - Operation class org.activiti.engine.impl.interceptor.CommandInvoker$1 added to agenda

2023-06-05 22:12:41,620 7154  [           main] DEBUG ansaction.jdbc.JdbcTransaction  - Opening JDBC Connection

2023-06-05 22:12:41,621 7155  [           main] DEBUG ansaction.jdbc.JdbcTransaction  - Setting autocommit to false on JDBC Connection [jdbc:mysql://localhost:3306/activiti?serverTimezone=GMT%2B8, UserName=root@localhost, MySQL Connector/J]

2023-06-05 22:12:41,621 7155  [           main] DEBUG ProcessInstanceByQueryCriteria  - ==>  Preparing: select distinct RES.* , P.KEY_ as ProcessDefinitionKey, P.ID_ as ProcessDefinitionId, P.NAME_ as ProcessDefinitionName, P.VERSION_ as ProcessDefinitionVersion, P.DEPLOYMENT_ID_ as DeploymentId, S.PROC_INST_ID_ AS PARENT_PROC_INST_ID_ from ACT_RU_EXECUTION RES inner join ACT_RE_PROCDEF P on RES.PROC_DEF_ID_ = P.ID_ left outer join ACT_RU_EXECUTION S on RES.SUPER_EXEC_ = S.ID_ WHERE RES.PARENT_ID_ is null and RES.ID_ = ? and RES.PROC_INST_ID_ = ? order by RES.ID_ asc LIMIT ? OFFSET ? 

2023-06-05 22:12:41,622 7156  [           main] DEBUG ProcessInstanceByQueryCriteria  - ==> Parameters: 85001(String), 85001(String), 2147483647(Integer), 0(Integer)

2023-06-05 22:12:41,639 7173  [           main] DEBUG ProcessInstanceByQueryCriteria  - <==      Total: 1

2023-06-05 22:12:41,640 7174  [           main] DEBUG ti.engine.impl.db.DbSqlSession  - Flushing dbSqlSession

2023-06-05 22:12:41,641 7175  [           main] DEBUG ti.engine.impl.db.DbSqlSession  - flush summary: 0 insert, 0 update, 0 delete.

2023-06-05 22:12:41,642 7176  [           main] DEBUG ti.engine.impl.db.DbSqlSession  - now executing flush...

2023-06-05 22:12:41,643 7177  [           main] DEBUG aloneMybatisTransactionContext  - firing event committing...

2023-06-05 22:12:41,643 7177  [           main] DEBUG aloneMybatisTransactionContext  - committing the ibatis sql session...

2023-06-05 22:12:41,643 7177  [           main] DEBUG aloneMybatisTransactionContext  - firing event committed...

2023-06-05 22:12:41,646 7180  [           main] DEBUG ansaction.jdbc.JdbcTransaction  - Resetting autocommit to true on JDBC Connection [jdbc:mysql://localhost:3306/activiti?serverTimezone=GMT%2B8, UserName=root@localhost, MySQL Connector/J]

2023-06-05 22:12:41,647 7181  [           main] DEBUG ansaction.jdbc.JdbcTransaction  - Closing JDBC Connection [jdbc:mysql://localhost:3306/activiti?serverTimezone=GMT%2B8, UserName=root@localhost, MySQL Connector/J]

2023-06-05 22:12:41,648 7182  [           main] DEBUG mpl.interceptor.LogInterceptor  - --- ProcessInstanceQueryImpl finished --------------------------------------------------------

2023-06-05 22:12:41,648 7182  [           main] DEBUG mpl.interceptor.LogInterceptor  -

2023-06-05 22:13:57,682 83216 [           main] DEBUG mpl.interceptor.LogInterceptor  -

2023-06-05 22:13:58,752 84286 [           main] DEBUG mpl.interceptor.LogInterceptor  - --- starting SuspendProcessInstanceCmd --------------------------------------------------------

2023-06-05 22:14:03,703 89237 [           main] DEBUG da.DefaultActivitiEngineAgenda  - Operation class org.activiti.engine.impl.interceptor.CommandInvoker$1 added to agenda

2023-06-05 22:14:03,705 89239 [           main] DEBUG ansaction.jdbc.JdbcTransaction  - Opening JDBC Connection

2023-06-05 22:14:03,709 89243 [           main] DEBUG ansaction.jdbc.JdbcTransaction  - Setting autocommit to false on JDBC Connection [jdbc:mysql://localhost:3306/activiti?serverTimezone=GMT%2B8, UserName=root@localhost, MySQL Connector/J]

2023-06-05 22:14:03,715 89249 [           main] DEBUG tionEntityImpl.selectExecution  - ==>  Preparing: select E.*, S.PROC_INST_ID_ AS PARENT_PROC_INST_ID_ from ACT_RU_EXECUTION E LEFT OUTER JOIN ACT_RU_EXECUTION S ON E.SUPER_EXEC_ = S.ID_ where E.ID_ = ? 

2023-06-05 22:14:03,717 89251 [           main] DEBUG tionEntityImpl.selectExecution  - ==> Parameters: 85001(String)

2023-06-05 22:14:03,739 89273 [           main] DEBUG tionEntityImpl.selectExecution  - <==      Total: 1

2023-06-05 22:14:03,743 89277 [           main] DEBUG dExecutionsByProcessInstanceId  - ==>  Preparing: select E.*, S.PROC_INST_ID_ AS PARENT_PROC_INST_ID_ from ACT_RU_EXECUTION E LEFT OUTER JOIN ACT_RU_EXECUTION S ON E.SUPER_EXEC_ = S.ID_ where E.PROC_INST_ID_ = ? and E.PARENT_ID_ is not null 

2023-06-05 22:14:03,744 89278 [           main] DEBUG dExecutionsByProcessInstanceId  - ==> Parameters: 85001(String)

2023-06-05 22:14:03,766 89300 [           main] DEBUG dExecutionsByProcessInstanceId  - <==      Total: 1

2023-06-05 22:14:03,767 89301 [           main] DEBUG selectTasksByProcessInstanceId  - ==>  Preparing: select T.* from ACT_RU_TASK T where T.PROC_INST_ID_ = ? 

2023-06-05 22:14:03,768 89302 [           main] DEBUG selectTasksByProcessInstanceId  - ==> Parameters: 85001(String)

2023-06-05 22:14:03,783 89317 [           main] DEBUG selectTasksByProcessInstanceId  - <==      Total: 1

2023-06-05 22:14:03,784 89318 [           main] DEBUG ctTimerJobsByProcessInstanceId  - ==>  Preparing: select * from ACT_RU_TIMER_JOB J where J.PROCESS_INSTANCE_ID_ = ? 

2023-06-05 22:14:03,785 89319 [           main] DEBUG ctTimerJobsByProcessInstanceId  - ==> Parameters: 85001(String)

2023-06-05 22:14:03,796 89330 [           main] DEBUG ctTimerJobsByProcessInstanceId  - <==      Total: 0

2023-06-05 22:14:03,797 89331 [           main] DEBUG .selectJobsByProcessInstanceId  - ==>  Preparing: select * from ACT_RU_JOB J where J.PROCESS_INSTANCE_ID_ = ? 

2023-06-05 22:14:03,798 89332 [           main] DEBUG .selectJobsByProcessInstanceId  - ==> Parameters: 85001(String)

2023-06-05 22:14:03,808 89342 [           main] DEBUG .selectJobsByProcessInstanceId  - <==      Total: 0

2023-06-05 22:14:03,809 89343 [           main] DEBUG ti.engine.impl.db.DbSqlSession  - Flushing dbSqlSession

2023-06-05 22:14:03,809 89343 [           main] DEBUG ti.engine.impl.db.DbSqlSession  -   update Task[id=85005, name=??????]

2023-06-05 22:14:03,810 89344 [           main] DEBUG ti.engine.impl.db.DbSqlSession  -   update Execution[ id '85002' ] - activity '_3 - parent '85001'

2023-06-05 22:14:03,810 89344 [           main] DEBUG ti.engine.impl.db.DbSqlSession  -   update ProcessInstance[85001]

2023-06-05 22:14:03,810 89344 [           main] DEBUG ti.engine.impl.db.DbSqlSession  - flush summary: 0 insert, 3 update, 0 delete.

2023-06-05 22:14:03,810 89344 [           main] DEBUG ti.engine.impl.db.DbSqlSession  - now executing flush...

2023-06-05 22:14:03,811 89345 [           main] DEBUG ti.engine.impl.db.DbSqlSession  - updating: Task[id=85005, name=??????]

2023-06-05 22:14:03,819 89353 [           main] DEBUG tity.TaskEntityImpl.updateTask  - ==>  Preparing: update ACT_RU_TASK SET REV_ = ?, NAME_ = ?, BUSINESS_KEY_ = ?, PARENT_TASK_ID_ = ?, PRIORITY_ = ?, CREATE_TIME_ = ?, OWNER_ = ?, ASSIGNEE_ = ?, DELEGATION_ = ?, EXECUTION_ID_ = ?, PROC_DEF_ID_ = ?, DESCRIPTION_ = ?, DUE_DATE_ = ?, CATEGORY_ = ?, SUSPENSION_STATE_ = ?, FORM_KEY_ = ?, CLAIM_TIME_ = ? where ID_= ? and REV_ = ? 

2023-06-05 22:14:03,826 89360 [           main] DEBUG tity.TaskEntityImpl.updateTask  - ==> Parameters: 2(Integer), ??????(String), 1001(String), null, 50(Integer), 2023-06-05 22:00:22.844(Timestamp), null, worker(String), null, 85002(String), myLeave:3:72504(String), null, null, null, 2(Integer), null, null, 85005(String), 1(Integer)

2023-06-05 22:14:04,132 89666 [           main] DEBUG tity.TaskEntityImpl.updateTask  - <==    Updates: 1

2023-06-05 22:14:04,133 89667 [           main] DEBUG ti.engine.impl.db.DbSqlSession  - updating: Execution[ id '85002' ] - activity '_3 - parent '85001'

2023-06-05 22:14:04,135 89669 [           main] DEBUG tionEntityImpl.updateExecution  - ==>  Preparing: update ACT_RU_EXECUTION set REV_ = ?, BUSINESS_KEY_ = ?, PROC_DEF_ID_ = ?, ACT_ID_ = ?, IS_ACTIVE_ = ?, IS_CONCURRENT_ = ?, IS_SCOPE_ = ?, IS_EVENT_SCOPE_ = ?, IS_MI_ROOT_ = ?, PARENT_ID_ = ?, SUPER_EXEC_ = ?, ROOT_PROC_INST_ID_ = ?, SUSPENSION_STATE_ = ?, NAME_ = ?, IS_COUNT_ENABLED_ = ?, EVT_SUBSCR_COUNT_ = ?, TASK_COUNT_ = ?, JOB_COUNT_ = ?, TIMER_JOB_COUNT_ = ?, SUSP_JOB_COUNT_ = ?, DEADLETTER_JOB_COUNT_ = ?, VAR_COUNT_ = ?, ID_LINK_COUNT_ = ?, APP_VERSION_ = ? where ID_ = ? and REV_ = ? 

2023-06-05 22:14:04,145 89679 [           main] DEBUG tionEntityImpl.updateExecution  - ==> Parameters: 2(Integer), null, myLeave:3:72504(String), _3(String), true(Boolean), false(Boolean), false(Boolean), false(Boolean), false(Boolean), 85001(String), null, 85001(String), 2(Integer), null, false(Boolean), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), null, 85002(String), 1(Integer)

2023-06-05 22:14:04,149 89683 [           main] DEBUG tionEntityImpl.updateExecution  - <==    Updates: 1

2023-06-05 22:14:04,149 89683 [           main] DEBUG ti.engine.impl.db.DbSqlSession  - updating: ProcessInstance[85001]

2023-06-05 22:14:04,151 89685 [           main] DEBUG tionEntityImpl.updateExecution  - ==>  Preparing: update ACT_RU_EXECUTION set REV_ = ?, BUSINESS_KEY_ = ?, PROC_DEF_ID_ = ?, ACT_ID_ = ?, IS_ACTIVE_ = ?, IS_CONCURRENT_ = ?, IS_SCOPE_ = ?, IS_EVENT_SCOPE_ = ?, IS_MI_ROOT_ = ?, PARENT_ID_ = ?, SUPER_EXEC_ = ?, ROOT_PROC_INST_ID_ = ?, SUSPENSION_STATE_ = ?, NAME_ = ?, IS_COUNT_ENABLED_ = ?, EVT_SUBSCR_COUNT_ = ?, TASK_COUNT_ = ?, JOB_COUNT_ = ?, TIMER_JOB_COUNT_ = ?, SUSP_JOB_COUNT_ = ?, DEADLETTER_JOB_COUNT_ = ?, VAR_COUNT_ = ?, ID_LINK_COUNT_ = ?, APP_VERSION_ = ? where ID_ = ? and REV_ = ?

2023-06-05 22:14:04,162 89696 [           main] DEBUG tionEntityImpl.updateExecution  - ==> Parameters: 2(Integer), 1001(String), myLeave:3:72504(String), null, true(Boolean), false(Boolean), true(Boolean), false(Boolean), false(Boolean), null, null, 85001(String), 2(Integer), null, false(Boolean), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), 0(Integer), null, 85001(String), 1(Integer)

2023-06-05 22:14:04,168 89702 [           main] DEBUG tionEntityImpl.updateExecution  - <==    Updates: 1

2023-06-05 22:14:04,168 89702 [           main] DEBUG aloneMybatisTransactionContext  - firing event committing...

2023-06-05 22:14:04,168 89702 [           main] DEBUG aloneMybatisTransactionContext  - committing the ibatis sql session...

2023-06-05 22:14:04,171 89705 [           main] DEBUG ansaction.jdbc.JdbcTransaction  - Committing JDBC Connection [jdbc:mysql://localhost:3306/activiti?serverTimezone=GMT%2B8, UserName=root@localhost, MySQL Connector/J]

2023-06-05 22:14:04,211 89745 [           main] DEBUG aloneMybatisTransactionContext  - firing event committed...

2023-06-05 22:14:04,213 89747 [           main] DEBUG ansaction.jdbc.JdbcTransaction  - Resetting autocommit to true on JDBC Connection [jdbc:mysql://localhost:3306/activiti?serverTimezone=GMT%2B8, UserName=root@localhost, MySQL Connector/J]

2023-06-05 22:14:04,219 89753 [           main] DEBUG ansaction.jdbc.JdbcTransaction  - Closing JDBC Connection [jdbc:mysql://localhost:3306/activiti?serverTimezone=GMT%2B8, UserName=root@localhost, MySQL Connector/J]

2023-06-05 22:14:06,024 91558 [           main] DEBUG mpl.interceptor.LogInterceptor  - --- SuspendProcessInstanceCmd finished --------------------------------------------------------

2023-06-05 22:14:08,920 94454 [           main] DEBUG mpl.interceptor.LogInterceptor  -

流程实例id:85001已经暂停

Disconnected from the target VM, address: '127.0.0.1:58037', transport: 'socket'

Process finished with exit code 0

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/613277.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

Flowable开始事件-空开始事件

文章目录 空开始事件一、开始事件的定义1、图形标记2、XML内容3、使用示例 总结 空开始事件 利用空开始事件发起流程 一、开始事件的定义 空开始事件意味着没有指定启动流程实例的触发条件。它是最常见的一种开始事件&#xff0c;一般需要人工启动或通过api启动 1、图形标记…

最系统的网络安全自学笔记+学习路线(超详细)

01 什么是网络安全 网络安全可以基于攻击和防御视角来分类&#xff0c;我们经常听到的 “红队”、“渗透测试” 等就是研究攻击技术&#xff0c;而“蓝队”、“安全运营”、“安全运维”则研究防御技术。 无论网络、Web、移动、桌面、云等哪个领域&#xff0c;都有攻与防两面…

职场工作的前提

职场工作 目录概述需求&#xff1a; 设计思路实现思路分析1.职场工作 参考资料和推荐阅读 Survive by day and develop by night. talk for import biz , show your perfect code,full busy&#xff0c;skip hardness,make a better result,wait for change,challenge Survive.…

自动攻丝机(比例随动控制应用)

比例随动控制的详细介绍,可以参看下面的文章链接: 运动控制比例随动系统_RXXW_Dor的博客-CSDN博客PLC如何测量采集编码器的位置数据,不清楚的可以参看我的另一篇博文:三菱FX3U PLC高速计数器应用(附代码)_RXXW_Dor的博客-CSDN博客本文主要以三菱FX3U系列的高速计数为例来…

数据库期末复习(9.1)故障恢复到检查点之前

故障的分类 事务故障 系统故障 存储介质故障 只能通过故障来实现. 故障恢复 缓冲池策略 STEAL和FORCE策略:具体内容见课件。 为啥要使用steal和force两种策略 原因&#xff1a;如果不用steal策略 缓冲区就会有大量的脏页&#xff0c;如果使用not force策略 由于对同一个对…

R语言多线程提高计算速度,如何使用foreach包加速并行计算

R语言多线程加速 通常情况下&#xff0c;R语言只能使用一个线程来进行计算&#xff0c;因此计算的速度及其感人&#xff01; 最近刚好有一个需求&#xff1a;我有一个参考数据表&#xff0c;里面存放了30万条基因的名称和位置信息&#xff0c;现在我想从里面找到指定的6000个基…

C++程序员的待遇怎么样?我来谈谈学好C++的五个关键点

有个学弟跟我谈到这样一个问题&#xff1a;现在我看到网上很多人都在讲&#xff0c;说这个做C程序员&#xff0c;尤其是本科毕业计算机专业&#xff0c;然后步入社会之后就能拿到月入过万。但是为什么自己找的这个工作啊&#xff0c;普遍在月薪六七千块钱左右&#xff0c;也就是…

一图看懂 werkzeug 模块:是一个全面的WSGI web应用程序库,最先进的WSGI实用程序库之一,资料整理+笔记(大全)

本文由 大侠(AhcaoZhu)原创&#xff0c;转载请声明。 链接: https://blog.csdn.net/Ahcao2008 一图看懂 werkzeug 模块&#xff1a;是一个全面的WSGI web应用程序库&#xff0c;最先进的WSGI实用程序库之一&#xff0c;资料整理笔记&#xff08;大全&#xff09; &#x1f9ca;…

强连通分量-tarjan算法缩点

一. 什么是强连通分量&#xff1f; 强连通分量&#xff1a;在有向图G中&#xff0c;如果两个顶点u,v间&#xff08;u->v&#xff09;有一条从u到v的有向路径&#xff0c;同时还有一条从v到u的有向路径&#xff0c;则称两个顶点强连通(strongly connected)。如果有向图G的每…

Linux - 第24节 - Linux高级IO(二)

1.I/O多路转接之select 1.1.select初识 select是系统提供的一个多路转接接口。 • select系统调用可以让我们的程序同时监视多个文件描述符的上的事件是否就绪。 • select的核心工作就是等&#xff0c;当监视的多个文件描述符中有一个或多个事件就绪时&#xff0c;select才会…

Selenium Python 自动抓取个股数据

Selenium是广泛使用的开源Web UI&#xff08;用户界面&#xff09;自动化测试套件之一。支持Chrome, Edge, Firfox等常见浏览器&#xff0c;Selenium Python库也是python对web应用进行自动化测试的非常有用的工具。 Selenium 还适合用于抓取Javascript 动态网页数据。 本文演…

Spring Bean、XML方式Bean配置、Bean实例化配置、Bean注入

文章目录 Bean管理一、SpringBoot Bean 初了解1.1 了解1.2 Bean的作用域1.2.1 注意事项 1.3 第三方Bean 二、 基于XML方式Bean的配置2.1 SpringBean配置概览2.2 bean id class 配置2.3 bean name 别名配置2.4 bean scope 作用范围2.5 bean 延迟加载2.6 bean 初始化与销毁方法配…

数据结构中的顺序表的实现

文章目录 前言一、初识数据结构二、顺序表的实现&#xff08;类型一&#xff09;1.顺序表的头文件2.顺序表的实现 三、顺序表的实现&#xff08;类型二&#xff09;1 顺序表头文件2 顺序表的实现 四、线性表&#xff08;顺序表&#xff09;的缺点总结 前言 本期就进入到我们数据…

[前端语法]js原型链有关的继承问题

深夜反而思维更活跃一些 (1)js中的原型链 js中存在一个名为原型链的机制,其特点如下 加入一个方法A,A方法一个属性为prototype,这个属性会指向某个对象,也成为A类对象的原型对象. 当我们根据A这个方法生成一个对象a,那么a的原型(proto)属性即为这个对象 a可以调用一些原型…

【cropperjs】优秀、优雅的前端图片裁剪库

下载 npm i cropperjsnpm官网- https://www.npmjs.com/package/cropperjs cropperjs关键参数 aspectRatio 图片裁剪比例 默认值 &#xff1a;NaN作用&#xff1a;图片裁剪比例值&#xff1a;自定义裁剪比例&#xff0c;例如1 / 1 , 4 / 3 , 16 / 9等 viewMode 裁剪模式 默认…

代码随想录算法训练营第二十七天| 39. 组合总和、 40.组合总和II、 131.分割回文串

组合总数 题目链接&#xff1a;力扣 这题和之前题目的区别在于&#xff0c;本题没有数量要求&#xff0c;可以无限重复的取某一元素&#xff0c;但是对元素的总和有限制&#xff0c;这就说明了递归的限制不在于层数&#xff0c;而是选取元素的总和超过target就返回 终止条件为…

【owt】WebrtcNode, subscirbe-sdp offer 流程(2)

流程图 创建MediaStream&#xff0c; MediaStream一方面作为从VideoFramePacketizer接收到媒体数据&#xff1b; 创建VideoFramePacketizer&#xff0c;MediaStream 把sink 注册到VideoFramePacketizer&#xff0c;这样VideoFramePacketizer&#xff08;继承了MediaSource&…

upload靶场通关(12-21关)

Pass-12&#xff08;白名单校验&#xff08;GET 型 0x00 截断&#xff09;&#xff09; 先看提示&#xff1a; 一头雾水&#xff0c;只知道了上传路径是可控的 查看源码&#xff1a; 能看懂就看看&#xff0c;反正我是看了同学的笔记得知这是白名单&#xff0c;按照文件名进行…

Customizable constraint systems for succinct arguments学习笔记(1)

1. 引言 微软研究中心Srinath Setty、a16z crypto research 和 Georgetown University Justin Thaler、Carnegie Mellon University Riad Wahby 20203年论文《Customizable constraint systems for succinct arguments》。 在该论文中&#xff0c;介绍了Customizable constra…

CMake学习(1): CMake基本使用

https://subingwen.cn/cmake/CMake-primer/ 1. CMake 概述 CMake是一个项目构建工具&#xff0c;并且是跨平台的。Cmake跟Makefile其实是差不多的&#xff0c;只不过makefile更底层些。大多是 IDE 软件都集成了 make&#xff0c;比如&#xff1a;VS 的 nmake、linux 下的 GNU…