playframework/play-glassfish — Issue #2: Provide correct configuration for glassfish managed Connection Pools
Author: Nikku
Created: 2012-01-21 14:52:21+00:00
State: open

I was trying the play-glassfish extension on Glassfish 3.1.1 but was not able to configure a glassfish managed datasource.

The default `application.conf` file provided says all container managed datasources have to be prefixed with a `java:`. However Glassfish does not recognize datasources like `java:jdbc/...` instead it recognizes `jdbc/...` only.

Let's say a datasource is configured at `jdbc/MySamplePool` in my glassfish configuration file, how would be the corresponding mapping in the play configuration?

It is worth documenting that in the play-glassfish readme as others may come across this issue, too.