Setting up a JNDI resource for Postgres in Glassfish v3 on a Mac along with a Grails DataSource.groovy
I found the following couple of blog posts useful here:
- Shawn Hartsock: Postgres & Grails
- Glen Smith: Grails, Jetty, Glassfish and JNDI Data Sources
- Steve Dalton: Idiot’s guide to Tomcat 6 & Grails with JNDI DataSource (With Grails 1.2 a lot of this stuff is out of date: Tomcat has now ousted Jetty as the default embedded server. Theres’ a Tomcat 6 Developer’s Guide by PACKT that’s delves into using the embedded server API’s others may find useful).
You may like this blog post of mine too if you want to set up Postgres on a Mac.
A few months ago, I had all sorts of pain trying to decipher the correct download for Glassfish. What with Prelude, Preview etc, muddying the waters. I posted a thread in the Java.net forums. Be sure to go here for the downloads and select glassfish-v3-unix.sh. The EE edition will give you a world of headaches if you want to develop with Grails….
About this entry
You’re currently reading “Setting up a JNDI resource for Postgres in Glassfish v3 on a Mac along with a Grails DataSource.groovy,” an entry on All things Grails and RIA
- Tuesday, March 30, 2010 / 5:50 pm