I have a process variable of a complex java type, which has 2 enum type properties. When starting the process it hangs up after processing (I guess, when persisting the variable). After killing the tomcat there are some messages about failing to stop a thread.
Finally the following message is written:
The error may involve org.camunda.bpm.engine.impl.persistence.entity.VariableInstanceEntity.insertByteArray-Inline
The error occurred while setting parameters
SQL: insert into ACT_GE_BYTEARRAY(ID_, NAME_, BYTES_, DEPLOYMENT_ID_, REV_) values ( ?, ?, ?, ?, 1 )]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
When I substitute the enum properties by string properties everything is fine.
Is there anything to do when persisting java objects with enum properties?