protected void doExecute(DeploymentSessionImpl session) throws Exception {
for (ListIterator i = m_processors.listIterator(m_processors.size()); i.hasPrevious();) {
ResourceProcessor processor = (ResourceProcessor) i.previous();
try {
processor.prepare();
}
catch (ResourceProcessorException e) {
session.getLog().log(LogService.LOG_ERROR, "Preparing commit for resource processor failed", e);
// Check what error code we got...
if (e.getCode() == ResourceProcessorException.CODE_PREPARE) {