incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastien Goasguen <run...@gmail.com>
Subject Re: awsapi with new maven build
Date Tue, 04 Dec 2012 09:27:02 GMT
I am running the app from source with mvn -pl :cloud-awsapi jetty:run

The app seems deployed in: incubator-cloudstack/awsapi/target/cloud-awsapi-4.1.0-SNAPSHOT/WEB-INF/
there is a /conf in there but no ec2-service.properties from incubator-cloudstack/awsapi/conf

There is a incubator-cloudstack/awsapi/target/cloud-awsapi-4.1.0-SNAPSHOT/WEB-INF/classes directory
which contains the db.properties files from incubator-cloudstack/utils/conf

How are you deploying the awsapi app ?

-Sebastien

On Dec 4, 2012, at 7:08 AM, Likitha Shetty <likitha.shetty@citrix.com> wrote:

> Inline
> 
> 
> 
> Thank you,
> 
> Likitha
> 
> 
> 
> -----Original Message-----
> From: Sebastien Goasguen [mailto:runseb@gmail.com]
> Sent: Monday, December 03, 2012 6:51 PM
> To: cloudstack-dev@incubator.apache.org
> Subject: Re: awsapi with new maven build
> 
> 
> 
> Likitha,
> 
> 
> 
> Pardon my ignorance, but where do you see in the logs that the mgt server IP and port is not set ?
> 
> 
> 
> Likitha - My bad, should have mentioned that I inferred this from the logs and also the code.
> 
> In the logs,
> 
>                SEVERE: SetUserKeys null
> 
>                java.lang.NullPointerException
> 
>                                at com.cloud.stack.CloudStackClient.<init>(CloudStackClient.java:51)
> 
>                                at com.cloud.stack.CloudStackApi.<init>(CloudStackApi.java:82)
> 
>                                at com.cloud.bridge.service.core.ec2.EC2Engine.validateAccount(EC2Engine.java:194)
> 
> and If we check the code in CloudStackApi.java:82, we can see that we hit this code path only when the port value is null. And the NPE in CloudStackClient.java:51 points to the fact that the management-server-ip being used by AWSAPI to connect to CloudStack is null.
> 
> 
> 
> It is set in the ec2.properties file to localhost and 8080. And I can access the gui at http://localhost:8080/client
> 
> 
> 
> Likitha - Could you please check the values in 'ec2-service.properties' under $CATALINA_HOME/conf ?
> 
> 
> 
> -Sebastien
> 
> 
> 
> On Dec 3, 2012, at 1:45 PM, Likitha Shetty <likitha.shetty@citrix.com<mailto:likitha.shetty@citrix.com>> wrote:
> 
> 
> 
>> Hi,
> 
>> 
> 
>> A restart should be fine.
> 
>> 
> 
>> Thank you,
> 
>> Likitha
> 
>> 
> 
>> -----Original Message-----
> 
>> From: Sebastien Goasguen [mailto:runseb@gmail.com]
> 
>> Sent: Monday, December 03, 2012 6:13 PM
> 
>> To: cloudstack-dev@incubator.apache.org
> 
>> Subject: Re: awsapi with new maven build
> 
>> 
> 
>> 
> 
>> On Dec 3, 2012, at 1:04 PM, Likitha Shetty <likitha.shetty@citrix.com<mailto:likitha.shetty@citrix.com>> wrote:
> 
>> 
> 
>>> Hi Sebastien,
> 
>>> 
> 
>>> From the logs it seems like the management-server ip and port value being used by AWSAPI to connect to CloudStack is null.
> 
>>> Could you check if 'managementServer' and ' cloudAPIPort' configuration values in ec2-service.properties has been correctly set to the CloudStack management server ip and 8080 respectively ?
> 
>> 
> 
>> Hi,
> 
>> 
> 
>> When I do this, do I just need to restart the server, or do I need to re-do a mvn install and redeploy the db ?
> 
>> 
> 
>> thanks,
> 
>> 
> 
>> -sebastien
> 
>> 
> 
>>> 
> 
>>> Thank you,
> 
>>> Likitha
> 
>>> 
> 
>>> -----Original Message-----
> 
>>> From: Sebastien Goasguen [mailto:runseb@gmail.com]
> 
>>> Sent: Monday, December 03, 2012 2:55 AM
> 
>>> To: cloudstack-dev@incubator.apache.org
> 
>>> Subject: Re: awsapi with new maven build
> 
>>> 
> 
>>> Likitha,
> 
>>> 
> 
>>> Can you provide step by step directions on how you are registering the user and managing to do Query ec2 request ?
> 
>>> 
> 
>>> I am still struggling with this.
> 
>>> 
> 
>>> Using master branch, WSDL version in awsapi/conf/ec2-service.properties and in the awsapi-setup/setup/cloudstack-aws-api-register script match.
> 
>>> I added 'db.awsapi.name=cloudbridge' in utils/conf/db.properties.
> 
>>> 
> 
>>> Built with: mvn -P developer clean install Deployeddb with:  mvn -P
> 
>>> developer -pl developer,tools/devcloud -Ddeploydb Ran the mgt server
> 
>>> with: mvn -pl :cloud-client-ui jetty:run And the awsapi server with:
> 
>>> mvn -pl :cloud-awsapi jetty:run
> 
>>> 
> 
>>> I tried the register the user with:
> 
>>> 
> 
>>> air-2:setup sebastiengoasguen$ python ./cloudstack-aws-api-register
> 
>>> -a
> 
>>> bv7-6-GQRyib3QcD0hr13Rk3PVpWXyljO7oMKf38GeXZx2o_M6rlUkL8BxX_yJMPkJzcs
> 
>>> R
> 
>>> iLMxVkLL5JmSaRPg -s
> 
>>> kRDURfoJtJOI_GptX203RvUJjIRwqMuk-1VgYI_qi15X5nFQvwE77K-z4siT0YArwf3P8
> 
>>> u ZYHzjkzvIX0CYxrg -c ~/.ssh/cert.pem -u
> 
>>> http://192.168.56.1:7080/awsapi User registration failed with http
> 
>>> error code: 401
> 
>>> 
> 
>>> The error I got in the awsapi jetty logs were :
> 
>>> INFO: Request queryString:
> 
>>> AWSAccessKeyId=bv7-6-GQRyib3QcD0hr13Rk3PVpWXyljO7oMKf38GeXZx2o_M6rlUk
> 
>>> L
> 
>>> 8BxX_yJMPkJzcsRiLMxVkLL5JmSaRPg&Action=SetUserKeys&SignatureMethod=Hm
> 
>>> a
> 
>>> cSHA1&SignatureVersion=2&Timestamp=2012-12-02T22:17:27Z&Version=2010-
> 
>>> 1
> 
>>> 1-15&accesskey=bv7-6-GQRyib3QcD0hr13Rk3PVpWXyljO7oMKf38GeXZx2o_M6rlUk
> 
>>> L
> 
>>> 8BxX_yJMPkJzcsRiLMxVkLL5JmSaRPg&secretkey=kRDURfoJtJOI_GptX203RvUJjIR
> 
>>> w
> 
>>> qMuk-1VgYI_qi15X5nFQvwE77K-z4siT0YArwf3P8uZYHzjkzvIX0CYxrg&Signature=
> 
>>> s 6eg6WbTXaHEFkVwADLcYZyS5mg%3D Dec 2, 2012 10:17:27 PM
> 
>>> com.cloud.bridge.service.EC2RestServlet logRequest
> 
>>> INFO: Request requestURI: /awsapi/rest/AmazonEC2/ Dec 2, 2012
> 
>>> 10:17:27 PM com.cloud.bridge.service.EC2RestServlet logRequest
> 
>>> INFO: Request requestURL:
> 
>>> http://192.168.56.1:7080/awsapi/rest/AmazonEC2/
> 
>>> Dec 2, 2012 10:17:27 PM com.cloud.bridge.service.EC2RestServlet
> 
>>> logRequest
> 
>>> INFO: Request servletPath: /rest/AmazonEC2 Dec 2, 2012 10:17:27 PM
> 
>>> com.cloud.bridge.service.EC2RestServlet logRequest
> 
>>> INFO: Request header Accept-Encoding:identity Dec 2, 2012 10:17:27 PM
> 
>>> com.cloud.bridge.service.EC2RestServlet logRequest
> 
>>> INFO: Request header Host:192.168.56.1:7080 Dec 2, 2012 10:17:27 PM
> 
>>> com.cloud.bridge.service.EC2RestServlet logRequest
> 
>>> INFO: Request header Connection:close Dec 2, 2012 10:17:27 PM
> 
>>> com.cloud.bridge.service.EC2RestServlet
> 
>>> logRequest
> 
>>> INFO: Request header User-Agent:Python-urllib/2.7 Dec 2, 2012
> 
>>> 10:17:27 PM com.cloud.bridge.service.EC2RestServlet logRequest
> 
>>> INFO: Request parameter Action:SetUserKeys Dec 2, 2012 10:17:27 PM
> 
>>> com.cloud.bridge.service.EC2RestServlet logRequest
> 
>>> INFO: Request parameter SignatureMethod:HmacSHA1 Dec 2, 2012 10:17:27
> 
>>> PM com.cloud.bridge.service.EC2RestServlet logRequest
> 
>>> INFO: Request parameter
> 
>>> AWSAccessKeyId:bv7-6-GQRyib3QcD0hr13Rk3PVpWXyljO7oMKf38GeXZx2o_M6rlUk
> 
>>> L 8BxX_yJMPkJzcsRiLMxVkLL5JmSaRPg Dec 2, 2012 10:17:27 PM
> 
>>> com.cloud.bridge.service.EC2RestServlet logRequest
> 
>>> INFO: Request parameter Version:2010-11-15 Dec 2, 2012 10:17:27 PM
> 
>>> com.cloud.bridge.service.EC2RestServlet logRequest
> 
>>> INFO: Request parameter SignatureVersion:2 Dec 2, 2012 10:17:27 PM
> 
>>> com.cloud.bridge.service.EC2RestServlet logRequest
> 
>>> INFO: Request parameter Signature:s6eg6WbTXaHEFkVwADLcYZyS5mg=
> 
>>> Dec 2, 2012 10:17:27 PM com.cloud.bridge.service.EC2RestServlet
> 
>>> logRequest
> 
>>> INFO: Request parameter
> 
>>> secretkey:kRDURfoJtJOI_GptX203RvUJjIRwqMuk-1VgYI_qi15X5nFQvwE77K-z4si
> 
>>> T 0YArwf3P8uZYHzjkzvIX0CYxrg Dec 2, 2012 10:17:27 PM
> 
>>> com.cloud.bridge.service.EC2RestServlet logRequest
> 
>>> INFO: Request parameter
> 
>>> accesskey:bv7-6-GQRyib3QcD0hr13Rk3PVpWXyljO7oMKf38GeXZx2o_M6rlUkL8BxX
> 
>>> _ yJMPkJzcsRiLMxVkLL5JmSaRPg Dec 2, 2012 10:17:27 PM
> 
>>> com.cloud.bridge.service.EC2RestServlet logRequest
> 
>>> INFO: Request parameter Timestamp:2012-12-02T22:17:27Z Dec 2, 2012
> 
>>> 10:17:27 PM com.cloud.bridge.service.EC2RestServlet setUserKeys
> 
>>> SEVERE: SetUserKeys null
> 
>>> java.lang.NullPointerException
> 
>>>      at com.cloud.stack.CloudStackClient.<init>(CloudStackClient.java:51)
> 
>>>      at com.cloud.stack.CloudStackApi.<init>(CloudStackApi.java:82)
> 
>>>      at com.cloud.bridge.service.core.ec2.EC2Engine.validateAccount(EC2Engine.java:194)
> 
>>>      at com.cloud.bridge.service.EC2RestServlet.setUserKeys(EC2RestServlet.java:373)
> 
>>>      at com.cloud.bridge.service.EC2RestServlet.doGetOrPost(EC2RestServlet.java:225)
> 
>>>      at com.cloud.bridge.service.EC2RestServlet.doGet(EC2RestServlet.java:200)
> 
>>>      at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
> 
>>>      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> 
>>>      at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
> 
>>>      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
> 
>>>      at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> 
>>>      at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
> 
>>>      at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
> 
>>>      at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
> 
>>>      at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327)
> 
>>>      at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
> 
>>>      at com.cloud.bridge.service.EC2MainServlet.doGetOrPost(EC2MainServlet.java:93)
> 
>>>      at com.cloud.bridge.service.EC2MainServlet.doGet(EC2MainServlet.java:73)
> 
>>>      at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
> 
>>>      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> 
>>>      at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
> 
>>>      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
> 
>>>      at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> 
>>>      at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
> 
>>>      at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
> 
>>>      at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
> 
>>>      at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
> 
>>>      at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
> 
>>>      at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> 
>>>      at org.mortbay.jetty.Server.handle(Server.java:326)
> 
>>>      at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
> 
>>>      at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
> 
>>>      at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
> 
>>>      at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
> 
>>>      at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
> 
>>>      at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
> 
>>>      at
> 
>>> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.j
> 
>>> a
> 
>>> va:582)
> 
>>> 
> 
>>> 
> 
>>> Any clues much appreciated ?
> 
>>> 
> 
>>> thanks,
> 
>>> 
> 
>>> -Sebastien
> 
>>> 
> 
>>> On Nov 29, 2012, at 7:23 AM, Likitha Shetty <likitha.shetty@citrix.com<mailto:likitha.shetty@citrix.com>> wrote:
> 
>>> 
> 
>>>> 
> 
>>>> 
> 
>>>> -----Original Message-----
> 
>>>> From: sebgoa [mailto:runseb@gmail.com]
> 
>>>> Sent: Wednesday, November 28, 2012 1:36 PM
> 
>>>> To: cloudstack-dev@incubator.apache.org
> 
>>>> Subject: Re: awsapi with new maven build
> 
>>>> 
> 
>>>> inline
> 
>>>> 
> 
>>>> On Nov 28, 2012, at 7:49 AM, Likitha Shetty wrote:
> 
>>>> 
> 
>>>>> Hi Sebastien,
> 
>>>>> 
> 
>>>>> 
> 
>>>>> 
> 
>>>>> 
> 
>>>>> 
> 
>>>>> -----Original Message-----
> 
>>>>> From: sebgoa [mailto:runseb@gmail.com]
> 
>>>>> Sent: Tuesday, November 27, 2012 10:39 PM
> 
>>>>> To: cloudstack-dev@incubator.apache.org
> 
>>>>> Subject: Re: awsapi with new maven build
> 
>>>>> 
> 
>>>>> 
> 
>>>>> 
> 
>>>>> 
> 
>>>>> 
> 
>>>>> On Nov 27, 2012, at 5:57 PM, Likitha Shetty wrote:
> 
>>>>> 
> 
>>>>> 
> 
>>>>> 
> 
>>>>>> Prachi, as you pointed out, the error was because there was a mismatch between the version in the registration script and the WSDL version of the deployment.
> 
>>>>> 
> 
>>>>> 
> 
>>>>> 
> 
>>>>> 
> 
>>>>> 
> 
>>>>> Hi Likitha, can you give more details on the files you modified ? when I checked the version number they were equal. I was using the master branch.
> 
>>>>> 
> 
>>>>> Likitha - Even I am on the master branch.
> 
>>>>> 
> 
>>>>>             I made two changes,
> 
>>>>> 
> 
>>>>> 1.       Added 'db.awsapi.name=cloudbridge' to utils/conf/db.properties file
> 
>>>>> 
> 
>>>>> 2.       Modified file $CATALINA_HOME/conf/ec2-service.properties to have 'WSDLVersion=2010-11-15'. Because this is supported ec2 version is present that is present in awsapi-setup/setup/cloudstack-aws-api-register file.
> 
>>>>> 
> 
>>>>>            Could you please tell what is the error you get while trying to register ?
> 
>>>>> 
> 
>>>>> 
> 
>>>> 
> 
>>>> thx, I will check everything again
> 
>>>> 
> 
>>>>> 
> 
>>>>> Also below you mention that you tried the Query APIs (EC2 ?) and that it worked. Did you register the user without a certificate ?
> 
>>>>> 
> 
>>>>> Likitha - Yes, I registered the user without a certificate. From what I understand, the cloudstack-aws-api-register script performs two actions, SetUserKeys and SetCertificate.
> 
>>>>> 
> 
>>>>> *         SetUserKeys gives the user's API access and secret keys to AWSAPI so that AWSAPI can call the CloudStack API with these keys. This is required for both Query and SOAP.
> 
>>>>> 
> 
>>>>> *         SetCertificate registers the user's X.509 certificate with AWSAPI. EC2 requires the client to have a public/private key pair with the public key defined by a X.509 certificate. This is required only for SOAP access only (http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/using-soap-api.html).
> 
>>>>> 
> 
>>>>> And since SetUserKeys was successfully executed and only SetCertificate failed with 'SEVERE: SetCertificate exception /home/likitha/incubator-cloudstack/awsapi/target/cloud-awsapi-4.1.0-SNAPSHOTWEB-INF/classes/xes.keystore (No such file or directory)' exception, I could execute EC2 Query API's.
> 
>>>>> 
> 
>>>>> 
> 
>>>>> 
> 
>>>>> Overall the distinction between Query and REST is very confusing because it seems that the Query interface is implemented by the EC2RestServlet. if that's the case it would be nice to clear up the confusion and be consistent.
> 
>>>>> 
> 
>>>>> Likitha - You mean we need to clean up the code ?
> 
>>>> 
> 
>>>> Yes. If it's implementing the EC2 Query API, maybe it should be called EC2QueryServlet ? Also there are lots of mention to cloud.com in the code itself, that probably needs to be cleaned up a bit.
> 
>>>> 
> 
>>>> +1
> 
>>>> 
> 
>>>>> 
> 
>>>>> 
> 
>>>>> 
> 
>>>>> Cheers,
> 
>>>>> 
> 
>>>>> 
> 
>>>>> 
> 
>>>>> -Sebastien
> 
>>>>> 
> 
>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>> After fixing that, now user registration fails with the below
> 
>>>>>> error,
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>> 27 Nov, 2012 11:17:00 AM com.cloud.bridge.service.EC2RestServlet
> 
>>>>>> setCertificate
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>> SEVERE: SetCertificate exception
> 
>>>>>> /home/likitha/incubator-cloudstack/awsapi/target/cloud-awsapi-4.1.
> 
>>>>>> 0
> 
>>>>>> - SNAPSHOTWEB-INF/classes/xes.keystore (No such file or directory)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>> java.io.FileNotFoundException:
> 
>>>>>> /home/likitha/incubator-cloudstack/awsapi/target/cloud-awsapi-4.1.
> 
>>>>>> 0
> 
>>>>>> - SNAPSHOTWEB-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(EC2RestServ
> 
>>>>>> l
> 
>>>>>> e
> 
>>>>>> t.java:426)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> com.cloud.bridge.service.EC2RestServlet.doGetOrPost(EC2RestServlet.
> 
>>>>>> j
> 
>>>>>> ava:271)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> com.cloud.bridge.service.EC2RestServlet.doGet(EC2RestServlet.java:
> 
>>>>>> 2
> 
>>>>>> 0
> 
>>>>>> 0)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
> 
>>>>>> 5
> 
>>>>>> 1
> 
>>>>>> 1)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
> 
>>>>>> 401)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.
> 
>>>>>> j
> 
>>>>>> a
> 
>>>>>> va:216)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
> 
>>>>>> 182)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
> 
>>>>>> 766)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:4
> 
>>>>>> 5
> 
>>>>>> 0
> 
>>>>>> )
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> com.cloud.bridge.service.EC2MainServlet.doGetOrPost(EC2MainServlet.
> 
>>>>>> j
> 
>>>>>> ava:93)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> com.cloud.bridge.service.EC2MainServlet.doGet(EC2MainServlet.java:
> 
>>>>>> 7
> 
>>>>>> 3
> 
>>>>>> )
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
> 
>>>>>> 5
> 
>>>>>> 1
> 
>>>>>> 1)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
> 
>>>>>> 401)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.
> 
>>>>>> j
> 
>>>>>> a
> 
>>>>>> va:216)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
> 
>>>>>> 182)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
> 
>>>>>> 766)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:4
> 
>>>>>> 5
> 
>>>>>> 0
> 
>>>>>> )
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.servlet.Dispatcher.error(Dispatcher.java:135)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.servlet.ErrorPageErrorHandler.handle(ErrorPageEr
> 
>>>>>> r
> 
>>>>>> o
> 
>>>>>> rHandler.java:129)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.Response.sendError(Response.java:274)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> com.cloud.bridge.service.EC2RestServlet.setCertificate(EC2RestServ
> 
>>>>>> l
> 
>>>>>> e
> 
>>>>>> t.java:462)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> com.cloud.bridge.service.EC2RestServlet.doGetOrPost(EC2RestServlet.
> 
>>>>>> j
> 
>>>>>> ava:271)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> com.cloud.bridge.service.EC2RestServlet.doGet(EC2RestServlet.java:
> 
>>>>>> 2
> 
>>>>>> 0
> 
>>>>>> 0)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
> 
>>>>>> 5
> 
>>>>>> 1
> 
>>>>>> 1)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
> 
>>>>>> 401)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.
> 
>>>>>> j
> 
>>>>>> a
> 
>>>>>> va:216)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
> 
>>>>>> 182)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
> 
>>>>>> 766)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:4
> 
>>>>>> 5
> 
>>>>>> 0
> 
>>>>>> )
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> com.cloud.bridge.service.EC2MainServlet.doGetOrPost(EC2MainServlet.
> 
>>>>>> j
> 
>>>>>> ava:93)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> com.cloud.bridge.service.EC2MainServlet.doGet(EC2MainServlet.java:
> 
>>>>>> 7
> 
>>>>>> 3
> 
>>>>>> )
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
> 
>>>>>> 5
> 
>>>>>> 1
> 
>>>>>> 1)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
> 
>>>>>> 401)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.
> 
>>>>>> j
> 
>>>>>> a
> 
>>>>>> va:216)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
> 
>>>>>> 182)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
> 
>>>>>> 766)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:4
> 
>>>>>> 5
> 
>>>>>> 0
> 
>>>>>> )
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextH
> 
>>>>>> a
> 
>>>>>> n
> 
>>>>>> dlerCollection.java:230)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollecti
> 
>>>>>> o
> 
>>>>>> n
> 
>>>>>> .java:114)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
> 
>>>>>> 152)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at org.mortbay.jetty.Server.handle(Server.java:326)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
> 
>>>>>> 5
> 
>>>>>> 42)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(Htt
> 
>>>>>> p
> 
>>>>>> C
> 
>>>>>> onnection.java:928)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.
> 
>>>>>> j
> 
>>>>>> ava:410)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.
> 
>>>>>> java:582)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>> 27 Nov, 2012 11:17:00 AM com.cloud.bridge.service.EC2RestServlet
> 
>>>>>> doGetOrPost
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>> SEVERE: Unexpected exception: null
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>> java.lang.NullPointerException
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> com.cloud.bridge.service.EC2RestServlet.setCertificate(EC2RestServ
> 
>>>>>> l
> 
>>>>>> e
> 
>>>>>> t.java:464)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> com.cloud.bridge.service.EC2RestServlet.doGetOrPost(EC2RestServlet.
> 
>>>>>> j
> 
>>>>>> ava:271)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> com.cloud.bridge.service.EC2RestServlet.doGet(EC2RestServlet.java:
> 
>>>>>> 2
> 
>>>>>> 0
> 
>>>>>> 0)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
> 
>>>>>> 5
> 
>>>>>> 1
> 
>>>>>> 1)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
> 
>>>>>> 401)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.
> 
>>>>>> j
> 
>>>>>> a
> 
>>>>>> va:216)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
> 
>>>>>> 182)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
> 
>>>>>> 766)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:4
> 
>>>>>> 5
> 
>>>>>> 0
> 
>>>>>> )
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> com.cloud.bridge.service.EC2MainServlet.doGetOrPost(EC2MainServlet.
> 
>>>>>> j
> 
>>>>>> ava:93)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> com.cloud.bridge.service.EC2MainServlet.doGet(EC2MainServlet.java:
> 
>>>>>> 7
> 
>>>>>> 3
> 
>>>>>> )
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
> 
>>>>>> 5
> 
>>>>>> 1
> 
>>>>>> 1)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
> 
>>>>>> 401)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.
> 
>>>>>> j
> 
>>>>>> a
> 
>>>>>> va:216)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
> 
>>>>>> 182)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
> 
>>>>>> 766)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:4
> 
>>>>>> 5
> 
>>>>>> 0
> 
>>>>>> )
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.servlet.Dispatcher.error(Dispatcher.java:135)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.servlet.ErrorPageErrorHandler.handle(ErrorPageEr
> 
>>>>>> r
> 
>>>>>> o
> 
>>>>>> rHandler.java:129)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.Response.sendError(Response.java:274)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> com.cloud.bridge.service.EC2RestServlet.setCertificate(EC2RestServ
> 
>>>>>> l
> 
>>>>>> e
> 
>>>>>> t.java:462)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> com.cloud.bridge.service.EC2RestServlet.doGetOrPost(EC2RestServlet.
> 
>>>>>> j
> 
>>>>>> ava:271)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> com.cloud.bridge.service.EC2RestServlet.doGet(EC2RestServlet.java:
> 
>>>>>> 2
> 
>>>>>> 0
> 
>>>>>> 0)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
> 
>>>>>> 5
> 
>>>>>> 1
> 
>>>>>> 1)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
> 
>>>>>> 401)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.
> 
>>>>>> j
> 
>>>>>> a
> 
>>>>>> va:216)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
> 
>>>>>> 182)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
> 
>>>>>> 766)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:4
> 
>>>>>> 5
> 
>>>>>> 0
> 
>>>>>> )
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> com.cloud.bridge.service.EC2MainServlet.doGetOrPost(EC2MainServlet.
> 
>>>>>> j
> 
>>>>>> ava:93)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> com.cloud.bridge.service.EC2MainServlet.doGet(EC2MainServlet.java:
> 
>>>>>> 7
> 
>>>>>> 3
> 
>>>>>> )
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
> 
>>>>>> 5
> 
>>>>>> 1
> 
>>>>>> 1)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
> 
>>>>>> 401)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.
> 
>>>>>> j
> 
>>>>>> a
> 
>>>>>> va:216)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
> 
>>>>>> 182)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
> 
>>>>>> 766)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:4
> 
>>>>>> 5
> 
>>>>>> 0
> 
>>>>>> )
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextH
> 
>>>>>> a
> 
>>>>>> n
> 
>>>>>> dlerCollection.java:230)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollecti
> 
>>>>>> o
> 
>>>>>> n
> 
>>>>>> .java:114)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
> 
>>>>>> 152)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at org.mortbay.jetty.Server.handle(Server.java:326)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
> 
>>>>>> 5
> 
>>>>>> 42)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(Htt
> 
>>>>>> p
> 
>>>>>> C
> 
>>>>>> onnection.java:928)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.
> 
>>>>>> j
> 
>>>>>> ava:410)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>           at
> 
>>>>>> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.
> 
>>>>>> java:582)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>> I tried Query APIs (as it doesn't require registration to map the certificate against the user keys). And the calls are successfully executed.
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>> Thank you,
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>> Likitha
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>> -----Original Message-----
> 
>>>>> 
> 
>>>>>> From: Sebastien Goasguen [mailto:runseb@gmail.com]
> 
>>>>> 
> 
>>>>>> Sent: Tuesday, November 27, 2012 3:27 AM
> 
>>>>> 
> 
>>>>>> To: cloudstack-dev@incubator.apache.org<mailto:cloudstack-dev@incubator.apache.org>
> 
>>>>> 
> 
>>>>>> Subject: Re: awsapi with new maven build
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>> Prachi, do you have this working when running the EC2 app with maven ?
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>> mvn -pl :cloud-awsapi jetty:run
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>> -Sebastien
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>> On Nov 26, 2012, at 8:02 PM, Prachi Damle <Prachi.Damle@citrix.com<mailto:Prachi.Damle@citrix.com<mailto:Prachi.Damle@citrix.com%3cmailto:Prachi.Damle@citrix.com<mailto:Prachi.Damle@citrix.com%3cmailto:Prachi.Damle@citrix.com%3cmailto:Prachi.Damle@citrix.com%3cmailto:Prachi.Damle@citrix.com>>>> wrote:
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> Hi Likitha,
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> Check if the version set in the registration script matches the
> 
>>>>>>> WSDL version of the deployment (in ec2-service.properties)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> -Prachi
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> -----Original Message-----
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> From: Likitha Shetty [mailto:likitha.shetty@citrix.com]
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> Sent: Monday, November 26, 2012 12:18 AM
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> To:
> 
>>>>>>> cloudstack-dev@incubator.apache.org<mailto:cloudstack-dev@incubat<mailto:cloudstack-dev@incubator.apache.org%3cmailto:cloudstack-dev@incubat>
> 
>>>>>>> o
> 
>>>>>>> r
> 
>>>>>>> .apache.org>;
> 
>>>>>>> srivatsav.prasanna@gmail.com<mailto:srivatsav.prasanna@gmail.com<mailto:srivatsav.prasanna@gmail.com%3cmailto:srivatsav.prasanna@gmail.com>>
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> Subject: RE: awsapi with new maven build
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> I got the same 401 error while trying to register a user against AWSAPI. Once I added 'db.awsapi.name=cloudbridge' to utils/conf/db.properties this issue was resolved.
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> But now I am facing a new issue. When I try to register a user I get the following error, 'User registration failed with http error code: 531'.
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> In 'cloudbridge' DB the table 'usercredentials' contains the right values for 'AccessKey' and 'SecretKey' (user keys are set correctly) but the CertUniqueId value is NULL.
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> awapi.log is empty and Jetty logs doesn't show any error either.
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> Any suggestions on how to resolve this ?
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> Thank you,
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> Likitha
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> -----Original Message-----
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> From: Sebastien Goasguen [mailto:runseb@gmail.com]
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> Sent: Wednesday, November 14, 2012 9:54 PM
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> To:
> 
>>>>>>> cloudstack-dev@incubator.apache.org<mailto:cloudstack-dev@incubat<mailto:cloudstack-dev@incubator.apache.org%3cmailto:cloudstack-dev@incubat>
> 
>>>>>>> o
> 
>>>>>>> r
> 
>>>>>>> .apache.org>;
> 
>>>>>>> srivatsav.prasanna@gmail.com<mailto:srivatsav.prasanna@gmail.com<mailto:srivatsav.prasanna@gmail.com%3cmailto:srivatsav.prasanna@gmail.com>>
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> Subject: Re: awsapi with new maven build
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> On Nov 14, 2012, at 4:44 PM, Prasanna Santhanam <srivatsav.prasanna@gmail.com<mailto:srivatsav.prasanna@gmail.com<mailto:srivatsav.prasanna@gmail.com%3cmailto:srivatsav.prasanna@gmail.com<mailto:srivatsav.prasanna@gmail.com%3cmailto:srivatsav.prasanna@gmail.com%3cmailto:srivatsav.prasanna@gmail.com%3cmailto:srivatsav.prasanna@gmail.com<mailto:srivatsav.prasanna@gmail.com%3cmailto:srivatsav.prasanna@gmail.com%3cmailto:srivatsav.prasanna@gmail.com%3cmailto:srivatsav.prasanna@gmail.com%3cmailto:srivatsav.prasanna@gmail.com%3cmailto:srivatsav.prasanna@gmail.com%3cmailto:srivatsav.prasanna@gmail.com%3cmailto:srivatsav.prasanna@gmail.com>>>>> wrote:
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>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>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>> -----Original Message-----
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>> From: Sebastien Goasguen <runseb@gmail.com>
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>> Date: Wed, 14 Nov 2012 16:31:36
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>> To:
> 
>>>>>>>> <cloudstack-dev@incubator.apache.org<mailto:cloudstack-dev@incub
> 
>>>>>>>> a
> 
>>>>>>>> t
> 
>>>>>>>> or.apache.org<mailto:cloudstack-dev@incubator.apache.org%3cmailto:
> 
>>>>>>>> cloudstack-dev@incubator.apache.org<mailto:cloudstack-dev@incubator.apache.org>>>>
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>> Reply-To:
> 
>>>>>>>> cloudstack-dev@incubator.apache.org<mailto:cloudstack-dev@incuba<mailto:cloudstack-dev@incubator.apache.org%3cmailto:cloudstack-dev@incuba>
> 
>>>>>>>> t
> 
>>>>>>>> o
> 
>>>>>>>> r.apache.org<mailto:cloudstack-dev@incubator.apache.org%3cmailto:
> 
>>>>>>>> c loudstack-dev@incubator.apache.org<mailto:loudstack-dev@incubator.apache.org>>>
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>> Subject: Re: awsapi with new maven build
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>> On Nov 14, 2012, at 4:09 PM, Charles Moulliard <ch007m@gmail.com<mailto:ch007m@gmail.com<mailto:ch007m@gmail.com%3cmailto:ch007m@gmail.com<mailto:ch007m@gmail.com%3cmailto:ch007m@gmail.com%3cmailto:ch007m@gmail.com%3cmailto:ch007m@gmail.com<mailto:ch007m@gmail.com%3cmailto:ch007m@gmail.com%3cmailto:ch007m@gmail.com%3cmailto:ch007m@gmail.com%3cmailto:ch007m@gmail.com%3cmailto:ch007m@gmail.com%3cmailto:ch007m@gmail.com%3cmailto:ch007m@gmail.com>>>>> wrote:
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>> Hi Sebastien,
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>> You should create a cloud schema + cloud user on your Mac's
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
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
> 
>>>>> 
> 
>>>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>> On Wed, Nov 14, 2012 at 4:04 PM, Sebastien Goasguen <runseb@gmail.com<mailto:runseb@gmail.com<mailto:runseb@gmail.com%3cmailto:runseb@gmail.com<mailto:runseb@gmail.com%3cmailto:runseb@gmail.com%3cmailto:runseb@gmail.com%3cmailto:runseb@gmail.com<mailto:runseb@gmail.com%3cmailto:runseb@gmail.com%3cmailto:runseb@gmail.com%3cmailto:runseb@gmail.com%3cmailto:runseb@gmail.com%3cmailto:runseb@gmail.com%3cmailto:runseb@gmail.com%3cmailto:runseb@gmail.com>>>>>wrote:
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> Hi,
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> I am testing the awsapi with the new maven build.
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> Following:
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> https://cwiki.apache.org/CLOUDSTACK/cloudstack-devcloud-enviro
> 
>>>>>>>>>> n
> 
>>>>>>>>>> m
> 
>>>>>>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
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> Caused by:
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionExc
> 
>>>>>>>>>> e
> 
>>>>>>>>>> p
> 
>>>>>>>>>> tion
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> : Could not create connection to database server. Attempted reconnect 3 times.
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> Giving up.
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> at
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> Method)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> at
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeCo
> 
>>>>>>>>>> n
> 
>>>>>>>>>> s
> 
>>>>>>>>>> tructorAccessorImpl.java:39)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> at
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Dele
> 
>>>>>>>>>> g
> 
>>>>>>>>>> a
> 
>>>>>>>>>> tingConstructorAccessorImpl.java:27)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> at
> 
>>>>>>>>>> java.lang.reflect.Constructor.newInstance(Constructor.java:513
> 
>>>>>>>>>> )
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> at com.mysql.jdbc.Util.getInstance(Util.java:386)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> at
> 
>>>>>>>>>> com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1014)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> at
> 
>>>>>>>>>> com.mysql.jdbc.SQLError.createSQLException(SQLError.java:988)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> at
> 
>>>>>>>>>> com.mysql.jdbc.SQLError.createSQLException(SQLError.java:974)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> at
> 
>>>>>>>>>> com.mysql.jdbc.SQLError.createSQLException(SQLError.java:919)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> at
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.
> 
>>>>>>>>>> java:2299)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> at
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:
> 
>>>>>>>>>> 2
> 
>>>>>>>>>> 2
> 
>>>>>>>>>> 20)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> at
> 
>>>>>>>>>> com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:813)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> at
> 
>>>>>>>>>> com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> at
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> Method)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> at
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeCo
> 
>>>>>>>>>> n
> 
>>>>>>>>>> s
> 
>>>>>>>>>> tructorAccessorImpl.java:39)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> at
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Dele
> 
>>>>>>>>>> g
> 
>>>>>>>>>> a
> 
>>>>>>>>>> tingConstructorAccessorImpl.java:27)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> at
> 
>>>>>>>>>> java.lang.reflect.Constructor.newInstance(Constructor.java:513
> 
>>>>>>>>>> )
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> at
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:
> 
>>>>>>>>>> 3
> 
>>>>>>>>>> 9
> 
>>>>>>>>>> 9)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> at
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriv
> 
>>>>>>>>>> e
> 
>>>>>>>>>> r
> 
>>>>>>>>>> .java:334)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> at
> 
>>>>>>>>>> java.sql.DriverManager.getConnection(DriverManager.java:582)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> at
> 
>>>>>>>>>> java.sql.DriverManager.getConnection(DriverManager.java:185)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> at
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> org.apache.commons.dbcp.DriverManagerConnectionFactory.createC
> 
>>>>>>>>>> o
> 
>>>>>>>>>> n
> 
>>>>>>>>>> nection(DriverManagerConnectionFactory.java:75)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> at
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(P
> 
>>>>>>>>>> o
> 
>>>>>>>>>> o
> 
>>>>>>>>>> lableConnectionFactory.java:582)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> at
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> org.apache.commons.pool.impl.GenericObjectPool.borrowObject(Ge
> 
>>>>>>>>>> n
> 
>>>>>>>>>> e
> 
>>>>>>>>>> ricObjectPool.java:1188)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> at
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> org.apache.commons.dbcp.PoolingDataSource.getConnection(Poolin
> 
>>>>>>>>>> g
> 
>>>>>>>>>> D
> 
>>>>>>>>>> ataSource.java:106)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> at
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> com.cloud.utils.db.Transaction.getConnection(Transaction.java:
> 
>>>>>>>>>> 5
> 
>>>>>>>>>> 5
> 
>>>>>>>>>> 8)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> at
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> com.cloud.utils.db.Transaction.prepareStatement(Transaction.ja
> 
>>>>>>>>>> v
> 
>>>>>>>>>> a
> 
>>>>>>>>>> :453)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> at
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> com.cloud.utils.db.Transaction.prepareAutoCloseStatement(Trans
> 
>>>>>>>>>> a
> 
>>>>>>>>>> c
> 
>>>>>>>>>> tion.java:446)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> at
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(Gener
> 
>>>>>>>>>> i
> 
>>>>>>>>>> c
> 
>>>>>>>>>> DaoBase.java:382)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> ... 56 more
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException:
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> Access denied for user 'cloud'@'localhost' to database 'null'
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> at
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> Method)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> at
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeCo
> 
>>>>>>>>>> n
> 
>>>>>>>>>> s
> 
>>>>>>>>>> tructorAccessorImpl.java:39)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> at
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Dele
> 
>>>>>>>>>> g
> 
>>>>>>>>>> a
> 
>>>>>>>>>> tingConstructorAccessorImpl.java:27)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> at
> 
>>>>>>>>>> java.lang.reflect.Constructor.newInstance(Constructor.java:513
> 
>>>>>>>>>> )
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> at com.mysql.jdbc.Util.getInstance(Util.java:386)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> at
> 
>>>>>>>>>> com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1053)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4074)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4006)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:919)
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> at
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>> 
> 
>>>>> 
> 
>>>>>> 
> 
>>>>> 
> 
>>>>>>>>>> com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentica
> 
>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