I've got a Grails application that loads its data from xml files and provides nourishes via rome. I haven't any domain classes and my application doesn't have datasource. I'm not going Grails to load an in memory hsql db once the application doesn't have need for this. Removing the DataSource.groovy file prevents me from starting the net application, it appears as if the datasource is needed, but can there be anything I'm able to do if my application does not require a datasource?

The next steps work with a brand new application (Grails 1.1.1) to operate without needing a datasource:

grails create-app nodb
cd nodb
grails uninstall-plugin hibernate
rm grails-app/conf/DataSource.groovy
grails create-controller Foo
<add "render "hi bar" to the index closure of ./grails-app/controllers/FooController.groovy>
grails run-app
http://localhost:8080/nodb/foo - prints hi bar

To have an existing application on a minimum of version 1.1 (think this is when hibernate is made a wordpress plugin) you need to have the ability to just un-install-wordpress plugin and remove the DataSource.groovy file.

The in-memory database is extremely lightweight which means you should stay with that if you do not require a real database.

I could comment the databases and obtain a default grails application to operate. Comment your production section in the same manner I said the following code in datasource.groovy

/*  development {
    	dataSource {
    		dbCreate = "create-drop" // one of 'create', 'create-drop','update'
    		url = "jdbc:hsqldb:mem:devDB"

I had been also in a position to take away the hibernate wordpress plugin using "grails un-install-wordpress plugin hibernate" and have the default application run. I've not done extensive testing with this particular but hopefully this matches your needs.

Then why on the planet are you currently running it in Grails? The stack IS wonderful, but it is massive. Also it sounds in my experience it's totally unnecessary for the application. I am talking about, that's the purpose of utilizing an ORM-enabled framework to begin with. Just develop a groovy script if you want it that badly. Or write an excellent simple php parser with CoreyLib (http://coreylib.com). Takes two minutes. Problem solved.