playframework/play — pull request #441 by Nikku (2012-01-22 17:06:37+00:00)
Title: Fix for issue Lighthouse issue #1172

By checking if we are running on a Glassfish instance when looking up the datasource and truncating the `java:` part of the datasource name.

See https://play.lighthouseapp.com/projects/57987/tickets/1172-problem-with-creating-jndi-datasource-running-under-glassfish-301 for ticket.