What are the new features from activiti 5.9 to 6.0 version

cancel
Showing results for 
Search instead for 
Did you mean: 
sufalasubash
Active Member

What are the new features from activiti 5.9 to 6.0 version

Jump to solution

Hi,

I am new in activiti and currently we are using activiti5.9 version .We would like to migrate version to 6.0. Can you help me to analyse the new features from 5.9 to 6.0 and what are the changes I need to made in our existing codes.

1 Solution

Accepted Solutions
fcorti
Alfresco Employee

Re: What are the new features from activiti 5.9 to 6.0 version

Jump to solution

Hi,

In the link below, you can find a paragraph (the last) called "migration guide".

https://community.alfresco.com/community/bpm/blog/2017/06/01/activiti-6-is-here 

The post points to the following link:

Activiti Migraton Guide : Activiti v5 to Activiti v6 

I hope this helps you.

PS. Are you sure you are using Activiti 5.9? Below the link to the Activiti releases. Releases · Activiti/Activiti · GitHub 

View solution in original post

10 Replies
fcorti
Alfresco Employee

Re: What are the new features from activiti 5.9 to 6.0 version

Jump to solution

Hi,

In the link below, you can find a paragraph (the last) called "migration guide".

https://community.alfresco.com/community/bpm/blog/2017/06/01/activiti-6-is-here 

The post points to the following link:

Activiti Migraton Guide : Activiti v5 to Activiti v6 

I hope this helps you.

PS. Are you sure you are using Activiti 5.9? Below the link to the Activiti releases. Releases · Activiti/Activiti · GitHub 

sufalasubash
Active Member

Re: What are the new features from activiti 5.9 to 6.0 version

Jump to solution

Yes..We are using 5.9 version and using below libraries

  • activiti-engine-5.9-sources.jar
  • activiti-engine-5.9.jar
  • activiti-spring-5.9-sources.jar
  • activiti-spring-5.9.jar
fcorti
Alfresco Employee

Re: What are the new features from activiti 5.9 to 6.0 version

Jump to solution

Ok, so you can take a look at the nexus server.

Nexus Repository Manager 

Under Activiti.org releases repository you will find org | activiti | activiti-engine.

Inside you have all the versions, including 5.9.

For the full package you can check at the kink below.

Releases · Activiti/Activiti · GitHub 

sufalasubash
Active Member

Re: What are the new features from activiti 5.9 to 6.0 version

Jump to solution

We are only using engine and spring jars in 5.9 version.Do we need to add all jar files in activiti 6 dowloaded lib folder to classpath

fcorti
Alfresco Employee

Re: What are the new features from activiti 5.9 to 6.0 version

Jump to solution

Yes, you should try replacing the *.5.9 jars with the 6.0 ones.

sufalasubash
Active Member

Re: What are the new features from activiti 5.9 to 6.0 version

Jump to solution

Replaced and added jackson dependecy, Juel-impl jar files to class path for successful build.My question is the lib folder contains spring boot,content storage,dmn related jar files..Do we need to add these files?

fcorti
Alfresco Employee

Re: What are the new features from activiti 5.9 to 6.0 version

Jump to solution

Does the link below help?

(it's a link to paragraph 2.4 describing the inclusions)

Activiti User Guide 

sufalasubash
Active Member

Re: What are the new features from activiti 5.9 to 6.0 version

Jump to solution

I have tried to remove some jars from lib and getting exception.Now  included all jars and working as expected..Thank You.

sufalasubash
Active Member

Re: What are the new features from activiti 5.9 to 6.0 version

Jump to solution

Hi 

I am getting below exception in my application.I am using oracle database and mybatis 3.3.0 .jar.Could you please help me to resolve this issue.

 

[activiti-acquire-async-jobs] ERROR org.springframework.transaction.support.TransactionTemplate - Application exception overridden by rollback exception
org.apache.ibatis.exceptions.PersistenceException:
### Error querying database. Cause: java.sql.SQLRecoverableException: Closed Connection
### The error may exist in org/activiti/db/mapping/entity/Job.xml
### The error may involve org.activiti.engine.impl.persistence.entity.JobEntityImpl.selectJobsToExecute-Inline
### The error occurred while setting parameters
### SQL: select * from ( select a.*, ROWNUM rnum from ( select RES.* from ACT_RU_JOB RES where LOCK_EXP_TIME_ is null ) a where ROWNUM < ?) where rnum >= ?
### Cause: java.sql.SQLRecoverableException: Closed Connection
at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30)
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:122)