cancel
Showing results for 
Search instead for 
Did you mean: 

Exception while starting standard workflows

alper
Champ in-the-making
Champ in-the-making
I am trying to start using the existing workflows, just for test, and the GUI shows the message: "Task started", but have the whole stack of exceptions in Jboss' server.log, starting from:

18:09:39,577 ERROR [org.infinispan.interceptors.InvocationContextInterceptor] (http-/0.0.0.0:8081-6) ISPN000136: Execution error: org.infinispan.marshall.NotSerializableException: org.activiti.workflow.simple.converter.json.SimpleWorkflowJsonConverter
Caused by: an exception which occurred:
   in field simpleWorkflowJsonConverter
   in field application
   in field repaintRequestListeners
   in object java.util.HashMap@983e8ef0
   in object org.jboss.as.clustering.SimpleMarshalledValue@983e8ef0
   in object org.infinispan.util.FastCopyHashMap@7d18fe02
   in object org.infinispan.atomic.AtomicHashMap@7bf2bc10
   in object org.infinispan.container.entries.ImmortalCacheEntry@d52794d3
   in object org.infinispan.loaders.bucket.Bucket@424e60c6

So, I have no idea, what to do then. As I understand, it should work out of box.
Should I do anything with the H2 database? It seems it's working, because I can see tables in the Activiti Explorer's GUI, and they have data.
3 REPLIES 3

alper
Champ in-the-making
Champ in-the-making
Resolved, the problem was with the JBoss

jbarrez
Star Contributor
Star Contributor
Could you add here what the problem was and how you solved? If oeople find this thrread by googling keywords in your post, they might have the same probelem …

alper
Champ in-the-making
Champ in-the-making
Sure, you are right, though I deem it is a quite temporary decision.
One should go to the file $JBOSS_HOME/standalone/configuration/standalone.xml and comment the subsystem of Infinispan module:
< subsystem xmlns="urn:jboss:domain:infinispan:1.4" >
….
< /subsystem >

(I inserted whitespaces around the angle brackets to make them visible here)
That's it.
It is not obligatory, workflow still should work, but one will get exceptions in JBoss.