0 Replies Latest reply on Feb 6, 2006 5:29 AM by sem

    circular object dependency on bean 'resource.varmapping'

      If my JBoss server execute multiple JBPM processes I sometimes get an exception .


      java.lang.RuntimeException: circular object dependency on bean 'resource.varmapping'
      at org.jbpm.configuration.ObjectFactoryImpl.getObject(ObjectFactoryImpl.java:124)
      at org.jbpm.configuration.ObjectFactoryImpl.createObject(ObjectFactoryImpl.java:85)
      at org.jbpm.configuration.ObjectFactoryImpl.createObject(ObjectFactoryImpl.java:60)
      at org.jbpm.JbpmConfiguration$Configs.getObject(JbpmConfiguration.java:359)
      at org.jbpm.JbpmConfiguration$Configs.getString(JbpmConfiguration.java:362)
      at org.jbpm.context.exe.JbpmType.getDefaultJbpmTypes(JbpmType.java:74)
      at org.jbpm.context.exe.JbpmType.getJbpmTypes(JbpmType.java:68)
      at org.jbpm.context.exe.VariableInstance.createVariableInstance(VariableInstance.java:87)
      at org.jbpm.context.exe.VariableInstance.create(VariableInstance.java:55)
      at org.jbpm.db.ContextSession.makePersistable(ContextSession.java:74)
      at org.jbpm.db.ContextSession.updateProcessContextVariables(ContextSession.java:98)
      at org.jbpm.svc.save.PrepareVariablesOperation.save(PrepareVariablesOperation.java:43)
      at org.jbpm.svc.Services.save(Services.java:140)
      at org.jbpm.JbpmContext.save(JbpmContext.java:277)
      at org.jbpm.JbpmContext.save(JbpmContext.java:284)


      I take a look in the code and it's looks like there is no way to deal with concurency ? Or am I wrong? Can someone help me with this issue.

      JBoss version 4.0.4 RC1
      JBPM 3.1 Beta 2
      Thanks