From: garu <nu...@jb...> - 2005-05-17 10:03:04
|
I have a question regarding FarmMemberService implementation. (version 4.0.2 final) During service start, before enabling the scanner thread you call PullNewDeployments(), where you check that remote deployment is newer than local file before pulling it. The problem is that parentDUMap from which you get the DeployedURL to find local file is only filled by deploy() which was never called yet because the scanner thread is not yet started. So as far as i understand, on startup parentDUMap is always empty and remote deployments are always pulled despite their date, and even if local files are newer they are overwritten with older remote files before getting any chance to be deployed. This is indeed the behaviour i see in the test cluster i set up. My question: is this the intended behaviour and the date check is only a forgotten piece of code which was not supposed to work or is it a bug and the date check should be corrected? Thanks, Gabriele. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877952#3877952 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877952 |