AnsweredAssumed Answered

Can't find scripting engine for 'groovy'

Question asked by jcosano on Jan 18, 2011
Latest reply on May 6, 2013 by jbarrez
Running under tomcat I have this error:

18-ene-2011 11:45:46 org.activiti.engine.impl.interceptor.CommandContext close
GRAVE: Error while closing command context
org.activiti.engine.ActivitiException: Can't find scripting engine for 'groovy'
        at org.activiti.engine.impl.scripting.ScriptingEngines.evaluate(Scriptin
gEngines.java:63)
        at org.activiti.engine.impl.bpmn.ScriptTaskActivity.execute(ScriptTaskAc
tivity.java:45)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationActivityExecute.e
xecute(AtomicOperationActivityExecute.java:40)
        at org.activiti.engine.impl.runtime.ExecutionEntity.performOperation(Exe
cutionEntity.java:489)
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionDestroy
Scope.execute(AtomicOperationTransitionDestroyScope.java:111)
        at org.activiti.engine.impl.runtime.ExecutionEntity.performOperation(Exe
cutionEntity.java:489)
        at org.activiti.engine.impl.runtime.ExecutionEntity.take(ExecutionEntity
.java:355)
        at org.activiti.engine.impl.runtime.ExecutionEntity.takeAll(ExecutionEnt
ity.java:437)
        at org.activiti.engine.impl.bpmn.BoundaryTimerEventActivity.execute(Boun
daryTimerEventActivity.java:50)
        at org.activiti.engine.impl.jobexecutor.TimerExecuteNestedActivityJobHan
dler.execute(TimerExecuteNestedActivityJobHandler.java:48)
        at org.activiti.engine.impl.runtime.JobEntity.execute(JobEntity.java:79)

        at org.activiti.engine.impl.runtime.TimerEntity.execute(TimerEntity.java
:47)
        at org.activiti.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.ja
va:54)
        at org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(Comm
andExecutorImpl.java:22)
        at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execut
e(CommandContextInterceptor.java:37)
        at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterc
eptor.java:33)
        at org.activiti.engine.impl.jobexecutor.ExecuteJobsRunnable.run(ExecuteJ
obsRunnable.java:36)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
        at java.lang.Thread.run(Thread.java:619)


In my activiti\apps\apache-tomcat-6.0.29\webapps\activiti-rest\WEB-INF\lib I have:antlr-2.7.7.jar
asm-3.2.jar
asm-analysis-3.2.jar
asm-commons-3.2.jar
asm-tree-3.2.jar
asm-util-3.2.jar
groovy-1.7.5.jar

Outcomes