cancel
Showing results for 
Search instead for 
Did you mean: 

What are the new features from activiti 5.9 to 6.0 version

sufalasubash
Champ on-the-rise
Champ on-the-rise

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 ACCEPTED ANSWER

fcorti
Elite Collaborator
Elite Collaborator

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 answer in original post

10 REPLIES 10

fcorti
Elite Collaborator
Elite Collaborator

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
Champ on-the-rise
Champ on-the-rise

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
Elite Collaborator
Elite Collaborator

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
Champ on-the-rise
Champ on-the-rise

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
Elite Collaborator
Elite Collaborator

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

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
Elite Collaborator
Elite Collaborator

Does the link below help?

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

Activiti User Guide 

sufalasubash
Champ on-the-rise
Champ on-the-rise

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

sufalasubash
Champ on-the-rise
Champ on-the-rise

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)