java.lang.IllegalStateException: Operation could not be completed: com.vmware.appcloud.client.AppCloudException: 403 Forbidden (Operation not permitted)

Spring JIRA | lajos papp | 5 years ago
  1. 0

    im trying to use the cloud foundry addon, against a micro CF and agains a custom cloud foundry (installed from source on amazon ec2, with real DNS) when i try to log in i get the following error in both case: roo> cloud foundry login --email foo@bar.com --password XXXXXX --cloudControllerUrl http://api.lalyos.info Operation could not be completed: com.vmware.appcloud.client.AppCloudException: 403 Forbidden (Operation not permitted) java.lang.IllegalStateException: Operation could not be completed: com.vmware.appcloud.client.AppCloudException: 403 Forbidden (Operation not permitted) at org.springframework.roo.addon.cloud.foundry.UaaAwareAppCloudClient.login(UaaAwareAppCloudClient.java:469) at com.vmware.appcloud.client.AppCloudClient.loginIfNeeded(AppCloudClient.java:194) at org.springframework.roo.addon.cloud.foundry.UaaAwareAppCloudClient.loginIfNeeded(UaaAwareAppCloudClient.java:479) it seems that in the login method, it was using the UaaAwareAppCloudClient always connectiong to constants CLOUD_FOUNDRY_URL (http://api.cloudfoundry.com) instead using the 'cloudControllerUrl' parameter applying the attached patch does make it able to connect to custom CF instances: roo> cloud foundry login --email foo@bar.com --password XXXXXX --cloudControllerUrl http://api.lalyos.info Credentials saved. Logged in successfully with email address 'foo@bar.com' cheers, lalyos

    Spring JIRA | 5 years ago | lajos papp
    java.lang.IllegalStateException: Operation could not be completed: com.vmware.appcloud.client.AppCloudException: 403 Forbidden (Operation not permitted)
  2. 0

    im trying to use the cloud foundry addon, against a micro CF and agains a custom cloud foundry (installed from source on amazon ec2, with real DNS) when i try to log in i get the following error in both case: roo> cloud foundry login --email foo@bar.com --password XXXXXX --cloudControllerUrl http://api.lalyos.info Operation could not be completed: com.vmware.appcloud.client.AppCloudException: 403 Forbidden (Operation not permitted) java.lang.IllegalStateException: Operation could not be completed: com.vmware.appcloud.client.AppCloudException: 403 Forbidden (Operation not permitted) at org.springframework.roo.addon.cloud.foundry.UaaAwareAppCloudClient.login(UaaAwareAppCloudClient.java:469) at com.vmware.appcloud.client.AppCloudClient.loginIfNeeded(AppCloudClient.java:194) at org.springframework.roo.addon.cloud.foundry.UaaAwareAppCloudClient.loginIfNeeded(UaaAwareAppCloudClient.java:479) it seems that in the login method, it was using the UaaAwareAppCloudClient always connectiong to constants CLOUD_FOUNDRY_URL (http://api.cloudfoundry.com) instead using the 'cloudControllerUrl' parameter applying the attached patch does make it able to connect to custom CF instances: roo> cloud foundry login --email foo@bar.com --password XXXXXX --cloudControllerUrl http://api.lalyos.info Credentials saved. Logged in successfully with email address 'foo@bar.com' cheers, lalyos

    Spring JIRA | 5 years ago | lajos papp
    java.lang.IllegalStateException: Operation could not be completed: com.vmware.appcloud.client.AppCloudException: 403 Forbidden (Operation not permitted)
  3. 0

    GF with JBPL - Operation not allowed.

    Oracle Community | 1 decade ago | demiant
    java.lang.IllegalStateException: Operation not allowed.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JTA UserTransaction in a Schedule

    Stack Overflow | 3 years ago | gdawgrancid
    java.lang.IllegalStateException: Operation not allowed.
  6. 0

    Decorator Operation not allowed

    Stack Overflow | 2 years ago
    java.lang.IllegalStateException: Operation not allowed

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Operation could not be completed: com.vmware.appcloud.client.AppCloudException: 403 Forbidden (Operation not permitted)

      at org.springframework.roo.addon.cloud.foundry.UaaAwareAppCloudClient.login()
    2. org.springframework.roo
      UaaAwareAppCloudClient.login
      1. org.springframework.roo.addon.cloud.foundry.UaaAwareAppCloudClient.login(UaaAwareAppCloudClient.java:469)
      1 frame
    3. com.vmware.appcloud
      AppCloudClient.loginIfNeeded
      1. com.vmware.appcloud.client.AppCloudClient.loginIfNeeded(AppCloudClient.java:194)
      1 frame
    4. org.springframework.roo
      UaaAwareAppCloudClient.loginIfNeeded
      1. org.springframework.roo.addon.cloud.foundry.UaaAwareAppCloudClient.loginIfNeeded(UaaAwareAppCloudClient.java:479)
      1 frame