As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Hi, I experienced the same issue.When Activiti Starts, It reloads running processed and starts remaining async tasks. 1 times on 3, It hangs. No explanations, no messages.Any solutions ?
<br> <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"><br> <property name="driverClassName" value="${jdbc.driver}" /><br> <property name="url" value="${jdbc.url}" /><br> <property name="username" value="${jdbc.username}" /><br> <property name="password" value="${jdbc.password}" /><br> </bean><br><br><bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"><br> <property name="persistenceUnitManager"><br> <bean class="org.springframework.orm.jpa.persistenceunit.DefaultPersistenceUnitManager"<br> p:defaultDataSource-ref="dataSource"/><br> </property><br> <property name="jpaProperties"><br> <props><br> <prop key="hibernate.dialect">${hibernate.dialect}</prop><br> <prop key="hibernate.hbm2ddl.auto">update</prop><br> </props><br> </property><br> <property name="jpaVendorAdapter"><br> <bean class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter"><br> <property name="showSql" value="false"/><br> </bean><br> </property><br> </bean><br> <br> <bean id="transactionManager" class="org.springframework.orm.jpa.JpaTransactionManager"><br> <property name="entityManagerFactory" ref="entityManagerFactory"/><br> </bean><br><br> <bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration"><br> <property name="databaseType" value="oracle" /><br> <property name="dataSource" ref="dataSource" /><br> <property name="transactionManager" ref="transactionManager" /><br> <property name="databaseSchemaUpdate" value="true" /><br> <property name="jobExecutorActivate" value="true" /><br> <property name="history" value="activity" /><br> <property name="idGenerator"><br> <bean class="org.activiti.engine.impl.persistence.StrongUuidGenerator" /><br> </property><br> <property name="idBlockSize" value="2000" /><br> </bean><br>
<bean id="processEngineConfiguration" class="org.activiti.engine.impl.cfg.JtaProcessEngineConfiguration"><br> …<br> <property name="jobExecutorActivate" value="true" /><br> <property name="jobExecutor"><br> <bean class="org.activiti.engine.impl.jobexecutor.DefaultJobExecutor"><br> <property name="corePoolSize" value="1"/><br> <property name="maxPoolSize" value="1"/><br> </bean><br> </property> <br> …<br>
pool-1-thread-1pool-1-thread-2pool-1-thread-3pool-1-thread-4pool-1-thread-5