Thanks for the suggestion. In the examples project (from the book) there is a activiti.cfg.xml file and I have modified the same as:
<code>
<property name="databaseType" value="h2" />
<property name="jdbcUrl" value="jdbc:h2:tcp://localhost/~/activiti"/>
<property name="jdbcDriver" value="org.h2.Driver" />
<property name="jdbcUsername" value="sa" />
<property name="jdbcPassword" value="" />
<property name="databaseSchemaUpdate" value="true" />
</code>
With this and the JUnit code change, I get a new exception:
<code>
Feb 23, 2016 11:10:23 AM org.activiti.engine.ProcessEngines initProcessEnginFromResource
INFO: initializing process engine for resource file:/C:/Users/jc347300/workspace/BPMN_Examples/target/classes/activiti.cfg.xml
23 Feb 2016 11:10:24,020 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader:315 - Loading XML bean definitions from resource loaded through InputStream
Feb 23, 2016 11:10:24 AM org.activiti.engine.impl.db.DbSqlSession dbSchemaUpgrade
INFO: upgrading activiti engine schema from 5.20.0.1 to 5.9
Feb 23, 2016 11:10:24 AM org.activiti.engine.impl.interceptor.CommandContext close
SEVERE: Error while closing command context
<strong>
java.lang.NumberFormatException: For input string: "20.0.1"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
</strong>
</code>
and the "pom.xml" file section for Activiti version is:
<code>
<properties>
<activiti-version>5.9</activiti-version>
<spring-version>3.0.5.RELEASE</spring-version>
<cxf-version>2.4.4</cxf-version>
<drools-version>5.3.0.Final</drools-version>
</properties>
</code>