cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Likitha Shetty (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CLOUDSTACK-3295) [AWSAPI] User registration fails with http error code 500
Date Thu, 04 Jul 2013 06:57:19 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-3295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Likitha Shetty resolved CLOUDSTACK-3295.
----------------------------------------

    Resolution: Fixed

master: c08b927b86b7fdb39c38c22996c31190b7b13d6e
master-6-17-stable: 5dca5c17b2d83b6fff8fe04bc440570d221af8b3
                
> [AWSAPI] User registration fails with http error code 500
> ---------------------------------------------------------
>
>                 Key: CLOUDSTACK-3295
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3295
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: AWSAPI
>    Affects Versions: 4.2.0
>            Reporter: Likitha Shetty
>            Assignee: Likitha Shetty
>            Priority: Critical
>             Fix For: 4.2.0
>
>
> Turn enable.ec2.api flag.
> Register cloudstack user
> -----------------------------------
> cloudstack-aws-api-register --apikey=<apikey> --secretkey=<secretkey> --cert=<path_to_cert>
--url=http://<mgmt-server-ip>:7080/awsapi
> Output
> --------
> User registration failed with http error code: 500
> awsapi.log
> ---------------
> 2013-07-01 11:15:11,602 DEBUG [bridge.service.UserContext] (catalina-exec-int-3:null)
initializing a new [anonymous] UserContext!
> 2013-07-01 11:15:11,603 ERROR [bridge.service.EC2RestServlet] (catalina-exec-int-3:null)
SetCertificate exception /usr/share/cloudstack-management/webapps7080/awsapi/WEB-INF/classes/xes.keystore
(No such file or directory)
> java.io.FileNotFoundException: /usr/share/cloudstack-management/webapps7080/awsapi/WEB-INF/classes/xes.keystore
(No such file or directory)
>         at java.io.FileInputStream.open(Native Method)
>         at java.io.FileInputStream.<init>(FileInputStream.java:137)
>         at java.io.FileInputStream.<init>(FileInputStream.java:96)
>         at com.cloud.bridge.service.EC2RestServlet.setCertificate(EC2RestServlet.java:456)
>         at com.cloud.bridge.service.EC2RestServlet.doGetOrPost(EC2RestServlet.java:297)
>         at com.cloud.bridge.service.EC2RestServlet.doGet(EC2RestServlet.java:225)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
>         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
>         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
>         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
>         at com.cloud.bridge.service.EC2MainServlet.doGetOrPost(EC2MainServlet.java:105)
>         at com.cloud.bridge.service.EC2MainServlet.doGet(EC2MainServlet.java:84)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
>         at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
>         at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
>         at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2268)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:679)
> 2013-07-01 11:15:11,604 ERROR [bridge.service.EC2RestServlet] (catalina-exec-int-3:null)
Unexpected exception: null
> java.lang.NullPointerException
>         at com.cloud.bridge.service.EC2RestServlet.setCertificate(EC2RestServlet.java:494)
>         at com.cloud.bridge.service.EC2RestServlet.doGetOrPost(EC2RestServlet.java:297)
>         at com.cloud.bridge.service.EC2RestServlet.doGet(EC2RestServlet.java:225)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
>         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
>         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
>         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
>         at com.cloud.bridge.service.EC2MainServlet.doGetOrPost(EC2MainServlet.java:105)
>         at com.cloud.bridge.service.EC2MainServlet.doGet(EC2MainServlet.java:84)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message