-
Apr 10th, 2011, 07:46 PM
#1
Grails command-line upload fails
I've been using the Grails command-line tools to upload my app, and since the switch to classic.cloudfoundry.com I am unable to do so. "grails cloud-foundry-upload" fails with the message "Error uploading application to Cloud Foundry: Cannot get property 'id' on null object".
I've been searching for a config param to change the URL used by the plugin, but I'm not seeing anything in the documentation that suggests this can be done. Anyone have any ideas about how to get around this (aside from manually uploading)?
-
Apr 18th, 2011, 01:41 PM
#2
We've tracked down a necessary change to the Grails plugin. We will have to release an updated plugin to resolve this issue. I will let you know when that becomes available. Sorry for the inconvenience.
Charles
-
Apr 18th, 2011, 01:51 PM
#3
Thanks. As a quick workaround I just mapped www.cloudfoundry.com to the old IP address in /etc/hosts. Seems to be working fine that way.
-
Apr 22nd, 2011, 03:56 PM
#4
Do you mind sharing the line you added to your host file or the old ip address? I will need a work around until the plugin is updated.
Thanks in advance.
-
Apr 26th, 2011, 11:27 AM
#5
Host file entry
Sure. I'm on a Mac so I added the following to /etc/hosts.
75.101.146.250 www.cloudfoundry.com
I got the IP from an nslookup of "classic.cloudfoundry.com". On windows the hosts file is buried deep in WINDOWS\system32\drivers\etc. Also, be sure to remove this line after using the plug-in otherwise you won't be able to get to the new cloud foundry environment (if you're using it).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules