[jbosstools-issues] [JBoss JIRA] (JBIDE-10773) Can create an application even if there's no domain

Xavier Coulon (JIRA) jira-events at lists.jboss.org
Tue Feb 14 04:32:03 EST 2012


     [ https://issues.jboss.org/browse/JBIDE-10773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xavier Coulon resolved JBIDE-10773.
-----------------------------------

    Resolution: Duplicate Issue


Duplicate - keeping the blocker one
                
> Can create an application even if there's no domain
> ---------------------------------------------------
>
>                 Key: JBIDE-10773
>                 URL: https://issues.jboss.org/browse/JBIDE-10773
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>            Reporter: Attila Nagy
>            Assignee: Andre Dietisheim
>             Fix For: 3.3.0.Beta1
>
>
> Unable to create an OpenShift Express application. When I add application details and click on 'Finnish', an error-message pop-up is shown and the following entry is created in error log.
> eclipse.buildId=M20110909-1335
> java.version=1.6.0_22
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
> Framework arguments:  -product org.eclipse.epp.package.jee.product
> Command-line arguments:  -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product
> Error
> Wed Feb 01 11:37:02 CET 2012
> Could not create application
> com.openshift.express.client.OpenShiftEndpointException: Could not configure application "myphp" at "https://ec2-184-72-129-138.compute-1.amazonaws.com/broker/cartridge"
> 	at com.openshift.express.client.OpenShiftService.sendRequest(OpenShiftService.java:366)
> 	at com.openshift.express.client.OpenShiftService.requestApplicationAction(OpenShiftService.java:295)
> 	at com.openshift.express.client.OpenShiftService.createApplication(OpenShiftService.java:173)
> 	at com.openshift.express.internal.client.InternalUser.createApplication(InternalUser.java:183)
> 	at org.jboss.tools.openshift.express.internal.ui.wizard.CreateNewApplicationWizardModel.createApplication(CreateNewApplicationWizardModel.java:40)
> 	at org.jboss.tools.openshift.express.internal.ui.wizard.CreateNewApplicationWizardModel.createApplication(CreateNewApplicationWizardModel.java:46)
> 	at org.jboss.tools.openshift.express.internal.ui.wizard.CreateNewApplicationWizard$1.run(CreateNewApplicationWizard.java:95)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> Caused by: com.openshift.express.internal.client.httpclient.BadRequestException: {"exit_code":1,"broker":"1.1.1","api":"1.1.2","messages":"","broker_c":["namespace","rhlogin","ssh","app_uuid","debug","alter","cartridge","cart_type","action","app_name","api"],"result":"Invalid user","debug":"","data":"","api_c":["placeholder"]}
> 	at com.openshift.express.internal.client.httpclient.UrlConnectionHttpClient.createException(UrlConnectionHttpClient.java:104)
> 	at com.openshift.express.internal.client.httpclient.UrlConnectionHttpClient.post(UrlConnectionHttpClient.java:71)
> 	at com.openshift.express.client.OpenShiftService.sendRequest(OpenShiftService.java:357)
> 	... 7 more
> Caused by: java.io.IOException: Server returned HTTP response code: 400 for URL: https://ec2-184-72-129-138.compute-1.amazonaws.com/broker/cartridge
> 	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1403)
> 	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
> 	at com.openshift.express.internal.client.httpclient.UrlConnectionHttpClient.post(UrlConnectionHttpClient.java:66)
> 	... 8 more
> On the server-side I can see the following entry in access log.
> 209.132.186.34 ip-10-72-58-120.ec2.internal - - [01/Feb/2012:05:37:01 -0500] "POST /broker/cartridge HTTP/1.1" 400 247 "-" "Java OpenShift/2.3.0 (org.jboss.tools.openshift.express.ui 2.3.0.v20120131-0401-H204-Beta1)"
> I'm not using proxy. My user is a completely new user without any registered domain namespace.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list