From 57086d0323090753a8160fadf7fc3c0a54201d0c Mon Sep 17 00:00:00 2001 From: prachi Date: Tue, 26 Apr 2011 19:12:07 -0700 Subject: [PATCH] Bug 9586 - NPE during host allocation - This NPE happened when starting the DomR and its Volume's podId was null. - This case should never happen that podId of a Volume is null. - It looks like this is a side-effect of some other bug- most likely another DomR and basic networking issue (9578) - While reviewing this bug, found out that we need not use the RecreateHostAllocator anymore. Using it actually is not good, since this allocator ignores what is passed to it in the plan by the DeploymentPlanner and lists pods once again. - Changed components.xml to use FirstFitRoutingAllocator instead. --- client/tomcatconf/components.xml.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/tomcatconf/components.xml.in b/client/tomcatconf/components.xml.in index daa179f5942..759cefc1d90 100755 --- a/client/tomcatconf/components.xml.in +++ b/client/tomcatconf/components.xml.in @@ -26,7 +26,8 @@ - + +