public service announcement I need a good database to run locally. When I Google for ‘postgreSQL OSX’ I see a lot of old posts that start with ‘download and build readline’. No wonder people still use MySQL. If you’re on a Mac use EnterpriseDBs installer. It’s up to date and you get a reasonably sane [...]
Archives for database
passing JVM options to Glassfish
One downside to embedding your database server is that Glassfish needs more memory. I’d been messing around with a few webapps and yesterday got Roller4 running. After a few clicks around the app, I started to see ‘PermGen space: java.lang.OutOfMemoryError’ errors. More power, Doctor The fix is pretty obvious : have the JVM allocate more PermGen space. [...]
JavaDB and Glassfish v3 : to embed or not to embed
Since writing this, I’ve realised JavaDB is pretty crap. Do yourself a favour and try the decent PostgreSQL installer I found. Glassfish v3 ships with JavaDB (aka Apache Derby aka Cloudscape). I’ll be using this for trying out Rails and JRuby, but it’s also handy for things like authentication via JDBC Realms. A JavaDB [...]
