bug 9741: somehow some of the removed code got back into the code path. Must have hit one undo too many.

This commit is contained in:
Alex Huang 2011-05-05 14:12:16 -07:00
parent 7c27864ba9
commit 36807a815d
2 changed files with 6 additions and 3 deletions

View File

@ -212,6 +212,12 @@
<arg value="${DBROOTPW}" />
<env key="CATALINA_HOME" value="${tomcat.home}"/>
</exec>
<chmod perm="666">
<fileset dir="${db.scripts.dir}">
<include name="**/*"/>
</fileset>
</chmod>
</target>
<path id="test.classpath">

View File

@ -1691,9 +1691,6 @@ public class AgentManagerImpl implements AgentManager, HandlerFactory, ResourceS
s_logger.warn("Unable to start the resource");
return;
}
host.setLastPinged(System.currentTimeMillis() >> 10);
host.setManagementServerId(_nodeId);
_hostDao.update(host.getId(), host);
_executor.execute(new SimulateStartTask(host.getId(), resource, host.getDetails(), null));
}