AnsweredAssumed Answered

DeploymentCache problem

Question asked by hmandic on Jan 26, 2012

I have a strange problem with process definitions deployer in Activiti 5.8.
My application runs on JBoss 5.1 and every time i reach a task in my process (or execution of any kind), the deployer deploys everything! It appears as if the process engine cache is per thread.

Documentation says this:

The ProcessEngine is a thread-safe class and can easily be shared among multiple threads. In a webapplication, this means it is possible to create the process engine when the container boots and shut down the engine when the container goes down.

I would assume that you load your process definitions and rules once and they would be cached until the server shuts down.

What am I doing wrong?