06-03-2015 10:32 PM
<activiti-version>5.17.0</activiti-version>
<spring-version>4.0.6.RELEASE</spring-version>
<build>
<pluginManagement>
<plugins>
@Override
public List<Group> findGroupByQueryCriteria(GroupQueryImpl query, Page page)/* {
// TODO Auto-generated method stub
return super.findGroupByQueryCriteria(query, page);
}
@Override
public List<Group> findGroupByQueryCriteria(Object query, Page page)*/ {
/*@Override
public GroupEntity findGroupById(String groupId) {
throw new ActivitiException("LDAP group manager doesn't support finding a group by id");
}*/
jdbc:h2:~/test
. The book example expects jdbc:h2:tcp://localhost/~/activiti
. I suppose the ANT script took care of that. So there is an activiti.cfg.xml in which you can change the URL but that is for Spring to use, and the BookOrderTest class doesn't seem to use Spring for this. Instead, the URL is hardcoded (I found where but don't remember now). So the get the test to use the correct URL I added a line to change the URL after the fact: ProcessEngineConfiguration config = ProcessEngineConfiguration
.createStandaloneProcessEngineConfiguration();
config.setJdbcUrl("jdbc:h2:~/test");
ProcessEngine processEngine = /*ProcessEngineConfiguration
.createStandaloneProcessEngineConfiguration()*/
config
.buildProcessEngine();
06-11-2015 07:00 PM
jdbc.url=jdbc:h2:mem:activiti;DB_CLOSE_DELAY=1000
.06-12-2015 06:25 AM
06-13-2015 10:14 AM
06-16-2015 05:09 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.