You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Likitha Shetty <li...@citrix.com> on 2013/08/22 12:27:58 UTC

Review Request 13732: AWSAPI server fails to start because of error in bean creation

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/13732/
-----------------------------------------------------------

Review request for cloudstack, Kelven Yang and Prachi Damle.


Bugs: CLOUDSTACK-4446


Repository: cloudstack-git


Description
-------

Observation
-----------
Bean creation failures during the start up of AWSAPI server. 
The different failures where -
org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.cloud.user.AccountService com.cloud.user.UserContextInitializer._accountMgr
org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.cloud.user.AccountManager com.cloud.servlet.ConsoleProxyServlet._accountMgr

Fix
---
For AWSAPI restrict the components that are to be scanned to the AWSAPI package.


Diffs
-----

  awsapi/conf/applicationContext.xml.in 8b3a022 

Diff: https://reviews.apache.org/r/13732/diff/


Testing
-------

1. Ran mvn -pl :cloud-client-ui jetty:run
2. Ran mvn -Pawsapi -pl :cloud-awsapi jetty:run
3. Using Boto tool tested basic EC2 calls 
   for e.g. get_all_images() - Success (Returned the images present in CS)


Thanks,

Likitha Shetty


Re: Review Request 13732: AWSAPI server fails to start because of error in bean creation

Posted by Kelven Yang <ke...@citrix.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/13732/#review25417
-----------------------------------------------------------

Ship it!


Ship It!

- Kelven Yang


On Aug. 22, 2013, 10:27 a.m., Likitha Shetty wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/13732/
> -----------------------------------------------------------
> 
> (Updated Aug. 22, 2013, 10:27 a.m.)
> 
> 
> Review request for cloudstack, Kelven Yang and Prachi Damle.
> 
> 
> Bugs: CLOUDSTACK-4446
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> -------
> 
> Observation
> -----------
> Bean creation failures during the start up of AWSAPI server. 
> The different failures where -
> org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.cloud.user.AccountService com.cloud.user.UserContextInitializer._accountMgr
> org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.cloud.user.AccountManager com.cloud.servlet.ConsoleProxyServlet._accountMgr
> 
> Fix
> ---
> For AWSAPI restrict the components that are to be scanned to the AWSAPI package.
> 
> 
> Diffs
> -----
> 
>   awsapi/conf/applicationContext.xml.in 8b3a022 
> 
> Diff: https://reviews.apache.org/r/13732/diff/
> 
> 
> Testing
> -------
> 
> 1. Ran mvn -pl :cloud-client-ui jetty:run
> 2. Ran mvn -Pawsapi -pl :cloud-awsapi jetty:run
> 3. Using Boto tool tested basic EC2 calls 
>    for e.g. get_all_images() - Success (Returned the images present in CS)
> 
> 
> Thanks,
> 
> Likitha Shetty
> 
>