hi ,
thanks for the reply,following configuration code i have put in my spring dispatcher-serverlet.xml ,but activiti explorer still using the h2 database . I think i have to make activiti explorer use activiti db on mysql server, right ? if so, how to do it ?
<!– activiti integeration –>
<bean id="activitiDataSource"
class="org.springframework.jdbc.datasource.SimpleDriverDataSource">
<property name="driverClass" value="com.mysql.jdbc.Driver" />
<property name="url" value="jdbc:mysql://localhost:3306/activiti" />
<property name="username" value="root" />
<property name="password" value="" />
</bean>
<bean id="transactionManager"
class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
<property name="dataSource" ref="activitiDataSource" />
</bean>
<bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration">
<property name="dataSource" ref="activitiDataSource" />
<property name="transactionManager" ref="transactionManager" />
<property name="databaseSchemaUpdate" value="true" />
<property name="jobExecutorActivate" value="false" />
</bean>
<bean id="processEngine" class="org.activiti.spring.ProcessEngineFactoryBean">
<property name="processEngineConfiguration" ref="processEngineConfiguration" />
</bean>
<bean id="sentenceGenerator" class="com.equalize.dms.service.SentenceGenerator" />
<bean id="delegateExpressionBean"
class="com.equalize.dms.service.DelegateExpressionBean">
<property name="sentenceGenerator" ref="sentenceGenerator" />
</bean>
<bean id="sentenceToUpperCaseBean"
class="com.equalize.dms.service.SentenceToUpperCaseBean">
<property name="sentenceGenerator" ref="sentenceGenerator" />
</bean>
<bean id="myExecutionListenerBean"
class="com.equalize.dms.service.MyExecutionListenerBean" />
<bean id="myTaskListenerBean" class="com.equalize.dms.service.MyTaskListenerBean" />
<bean id="fakeLdapService" class="com.equalize.dms.service.FakeLdapService" />
<bean id="repositoryService" factory-bean="processEngine"
factory-method="getRepositoryService" />
<bean id="runtimeService" factory-bean="processEngine"
factory-method="getRuntimeService" />
<bean id="taskService" factory-bean="processEngine"
factory-method="getTaskService" />
<bean id="historyService" factory-bean="processEngine"
factory-method="getHistoryService" />
<bean id="managementService" factory-bean="processEngine"
factory-method="getManagementService" />