Quantcast

CloudFoundry plugin problem

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

CloudFoundry plugin problem

Glenn Saqui-3
Hi,

I was wondering if anyone else has the following problem when attempting to deploy to cloud foundry:

Application Deployed URL: 'casework.cloudfoundry.com'?

Error: No signature of method: java.lang.Boolean.split() is applicable for argument types: (java.lang.String) values: [,]
Possible solutions: split(groovy.lang.Closure), wait(), wait(long), sprintf(java.lang.String, java.lang.Object), print(java.io.PrintWriter), getAt(java.lang.String)

If so how do I go about fixing the problem?

Cheers,
Glenn
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: CloudFoundry plugin problem

pledbrook
> I was wondering if anyone else has the following problem when attempting to
> deploy to cloud foundry:
> Application Deployed URL: 'casework.cloudfoundry.com'?
> casework.cloudfoundry.com
> Error: No signature of method: java.lang.Boolean.split() is applicable for
> argument types: (java.lang.String) values: [,]
> Possible solutions: split(groovy.lang.Closure), wait(), wait(long),
> sprintf(java.lang.String, java.lang.Object), print(java.io.PrintWriter),
> getAt(java.lang.String)
> If so how do I go about fixing the problem?

From inspection of the code, it looks like you're not providing an
argument to the --services option. You could raise an issue at
http://jira.grails.org/browse/GPCLOUDFOUNDRY to have the relevant
commands verify the options.

In this case, you need to provide a list of the services you want to
bind to (if I remember correctly - verify with the reference guide):

    grails cf-push --services=mysql3121,mongodb9381

Hope that helps,

Peter

--
Peter Ledbrook
Grails Advocate
SpringSource - A Division of VMware

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: CloudFoundry plugin problem

tomas lin
In reply to this post by Glenn Saqui-3
I think it is because the url you're providing is the same.

Application Deployment URL?
< hit enter key >
Would you like to bind services?
y


On Thu, Aug 4, 2011 at 1:11 PM, Glenn Saqui <[hidden email]> wrote:

> Hi,
> I was wondering if anyone else has the following problem when attempting to
> deploy to cloud foundry:
> Application Deployed URL: 'casework.cloudfoundry.com'?
> casework.cloudfoundry.com
> Error: No signature of method: java.lang.Boolean.split() is applicable for
> argument types: (java.lang.String) values: [,]
> Possible solutions: split(groovy.lang.Closure), wait(), wait(long),
> sprintf(java.lang.String, java.lang.Object), print(java.io.PrintWriter),
> getAt(java.lang.String)
> If so how do I go about fixing the problem?
> Cheers,
> Glenn

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: CloudFoundry plugin problem

Glenn Saqui-3
Not sure what is wrong with the script but if I omit the services bit it works fine.

Cloudfoundy is awesome!  It is so easy to deploy it's not even funny.  It's missing a few features that will keep me from putting one of my clients on it but it's great to show off what you are working on to your clients.

Thanks for the help,
Glenn

On Thu, Aug 4, 2011 at 2:41 PM, Tomas Lin <[hidden email]> wrote:
I think it is because the url you're providing is the same.

Application Deployment URL?
< hit enter key >
Would you like to bind services?
y


On Thu, Aug 4, 2011 at 1:11 PM, Glenn Saqui <[hidden email]> wrote:
> Hi,
> I was wondering if anyone else has the following problem when attempting to
> deploy to cloud foundry:
> Application Deployed URL: 'casework.cloudfoundry.com'?
> casework.cloudfoundry.com
> Error: No signature of method: java.lang.Boolean.split() is applicable for
> argument types: (java.lang.String) values: [,]
> Possible solutions: split(groovy.lang.Closure), wait(), wait(long),
> sprintf(java.lang.String, java.lang.Object), print(java.io.PrintWriter),
> getAt(java.lang.String)
> If so how do I go about fixing the problem?
> Cheers,
> Glenn

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: CloudFoundry plugin problem

Kevin
This post has NOT been accepted by the mailing list yet.
Just to confirm this, I've also been having this problem. I can confirm that if you remove the service from the command it works. At a guess, could it be the "-" in the service name.

I guess this might be a problem when I have more than one of each type of service?

Kevin
Loading...