AnsweredAssumed Answered

activiti missing groovy as wildfly module

Question asked by zsv on Jul 16, 2015
Latest reply on Jul 23, 2015 by jbarrez
Hello.
I try to use activity 5.17(spring) in my web app.
Here spring config part:

   <bean id="activitiProcessEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration">
       <property name="dataSource" ref="dataSource" />
       <property name="transactionManager" ref="transactionManager" />
       <property name="databaseSchemaUpdate" value="false" />
       <property name="history" value="none" />
       
       <property name="jobExecutorActivate" value="true" />
       <property name="asyncExecutorEnabled" value="true" />
       <property name="asyncExecutorActivate" value="true" />
   </bean>
   <bean id="activitiProcessEngine" class="org.activiti.spring.ProcessEngineFactoryBean">
        <property name="processEngineConfiguration" ref="activitiProcessEngineConfiguration" />
   </bean>
   <bean id="activitiRepositoryService" factory-bean="activitiProcessEngine" factory-method="getRepositoryService" />
     <bean id="activitiRuntimeService" factory-bean="activitiProcessEngine" factory-method="getRuntimeService" />
     <bean id="activitiTaskService" factory-bean="activitiProcessEngine" factory-method="getTaskService" />


Groovy-indy libs are placed as wildfly module. In application war manifest.mf reference to this module exist.

When i try to execute groovy script task exception occured:
Job 85004 failed: org.activiti.engine.ActivitiException: Can't find scripting engine for 'groovy'.

If include groovy-all.jar in war file all ok.

Outcomes