The version on the DeploymentUnitDir is not set when the engine is restarted.
I'm not sure how / if it works in axis, but is causes big problems for
the JBI component, as the version is set to -1.  The problem seems to be
that this version is not really persisted at this level, but rather on each
process.  How could we solve that ?

I've also seen some code that may be bugged.  My understanding
is that the version is a global parameter so that the previous version for
a DU which is deployed at version n is not necesseraly n-1.
So i think the code written to retire the previuos version is wrong:
Lines 175-180 from org.apache.ode.store.ProcessStoreImpl
               // Retires older version
               try {
                   if (version > 1)
setState(toPid(processDD.getName(), version - 1),
ProcessState.RETIRED);
               } catch (ContextException ce) {
                   __log.debug("No previous version to retire on
deployment of version " + version);
               }



--
Cheers,
Guillaume Nodet
------------------------
Architect, LogicBlaze (http://www.logicblaze.com/)
Blog: http://gnodet.blogspot.com/

Reply via email to