You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bf...@apache.org on 2013/02/27 17:37:48 UTC

[31/39] git commit: refs/heads/ui-regions - temporary fix: autowriring failing for missing storage allocator

temporary fix: autowriring failing for missing storage allocator

The storage allocator beans were given with the wrong package namespace
of com.cloud and not org.apache.cloudstack. Removed and correctedt the
namespace. Server coems up successfully.

Edison to revisit and complete the fix.

Signed-off-by: Prasanna Santhanam <ts...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/d68b6c3e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/d68b6c3e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/d68b6c3e

Branch: refs/heads/ui-regions
Commit: d68b6c3e548153e3357f538581c1ceb6b662195d
Parents: 3e0bdaa
Author: Prasanna Santhanam <ts...@apache.org>
Authored: Wed Feb 27 20:01:16 2013 +0530
Committer: Prasanna Santhanam <ts...@apache.org>
Committed: Wed Feb 27 20:01:16 2013 +0530

----------------------------------------------------------------------
 client/tomcatconf/componentContext.xml.in |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/d68b6c3e/client/tomcatconf/componentContext.xml.in
----------------------------------------------------------------------
diff --git a/client/tomcatconf/componentContext.xml.in b/client/tomcatconf/componentContext.xml.in
index 49b7e34..0907760 100644
--- a/client/tomcatconf/componentContext.xml.in
+++ b/client/tomcatconf/componentContext.xml.in
@@ -101,11 +101,19 @@
   <bean id="FirstFitRouting" class="com.cloud.agent.manager.allocator.impl.FirstFitRoutingAllocator">
     <property name="name" value="FirstFitRouting"/>
   </bean>
+
   
   <!--
     Storage pool allocators
   -->
 
+  <bean id="LocalStoragePoolAllocator" class="org.apache.cloudstack.storage.allocator.LocalStoragePoolAllocator">
+    <property name="name" value="LocalStorage"/>
+  </bean>
+  <bean id="FirstFitStoragePoolAllocator" class="org.apache.cloudstack.storage.allocator.FirstFitStoragePoolAllocator">
+    <property name="name" value="Storage"/>
+  </bean>
+
   <bean id="UserConcentratedAllocator" class="com.cloud.agent.manager.allocator.impl.UserConcentratedAllocator">
     <property name="name" value="User First"/>
   </bean>