Perhaps this question on StackOverflow will help. You can use List.execute() instead of String.execute() to provide the individual arguments, e.g. ["ls", "-la", "."].execute()
Type: Posts; User: pledbrook; Keyword(s):
Perhaps this question on StackOverflow will help. You can use List.execute() instead of String.execute() to provide the individual arguments, e.g. ["ls", "-la", "."].execute()
The Groovy & Grails User Group of London has monthly meetups at Skills Matter. London is also home to several of the most active Groovy/Grails/Gradle contributors, so we have access to strong...
Does the error with PostgreSQL always occur? Or did it only happen once? Is it for a long running update? Or just a single record?
It seems the best option may be to declare your own modules for Prototype and Scriptaculous. For example, in grails-app/conf/ApplicationResources.groovy:
. modules = {
. home {
. ...
It's working. You'll find Scriptaculous at the end of the bundled JS file. Just be aware that you can't use Prototype or Scriptaculous before it's declared, e.g. in <head> or inline.
I'm looking...
The Spring Security UI plugin needs updating. Those warning messages explain how to get your application working, i.e. by explicitly declaring the dependencies in your application.
Thanks for the...
Actually, we're struggling to reproduce this, even though one committer has encountered it. What exactly do you do after installing the Spring Security UI plugin and receive those warnings/errors? Do...
In your BuildConfig.groovy, use:
plugins {
runtime ":resources:1.1.3", {
excludes "webxml"
}
}
Cloud Foundry is a platform for running applications. As part of that platform, there are several services, one of which is a MySQL service. You would typically deploy your application to a Cloud...
This isn't possible right now unless you have a web application deployed that can execute SQL scripts. This situation is likely to change in the future though, so I recommend keeping an eye on Cloud...
Have you still not received your credentials?
Please try logging in with the VMC client or if you don't have that, just try http://www.cloudfoundry.com/. If either of those approaches work, then please raise an issue. You might also want to ask...
You need to have Apache running in front of Tomcat/tcServer in order to do this, which is not realistic with Cloud Foundry. For now, static resources will have to be served by the servlet container...
Is the RabbitMQ service provisioned? Is it definitely bound to your application?
As to your secondary question, you should no longer need the cloud namespace if you're happy to have your...
It seems that the application is not up and running. Have you checked the startup logs for the application?
For the benefit of others on this forum, I'm dealing with this on the plugins forum.
I don't have any experience with workflow in Grails, but you could try out the GrailsFlow plugin. I gather that it is still being actively developed.
GrailsExceptionResolver is not catching the exception, but the underlying framework, Spring MVC, is. You can read it bit more about Spring MVC and exceptions here.
What does this mean for you? I...
The relevant line is here: https://github.com/grails-samples/grailstwitter/blob/master/grails-app/conf/BootStrap.groovy#L21 - I don't know why this isn't in your file.
The database configuration...
Looks like Grails can't find a table called 'reports' in the database. That exception is coming from the MSSQL JDBC driver.
Have you tried removing your 'target' directory and possibly recreating the ProgramType domain class? All the above errors mean the same thing: Grails is not seeing ProgramType as a domain class. Is...
Something like this:
<pre>
2011-08-09 16:12:16,442 [Thread-10] DEBUG cfg.GrailsAnnotationConfiguration - [GrailsAnnotationConfiguration] [1] Grails domain classes to bind to persistence...
grails-app/conf/Config.groovy - you'll find a line starting 'log4j = {' which is where the logging configuration is.
So you have other domain classes that you can scaffold fine? If so, that would indicate issues with the domain class definition. Perhaps its name. Try a different class name, such as ProgType. If...
What version of Grails? Are you doing any of these steps from an IDE? How are you starting the application?