[GLASSFISH-20094] Undeploy on Glassfish causes connection pool to be no more usable (Grails) Created: 28/Mar/13 Updated: 25/Jun/13
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
|Tags:||admin-gui, classloader, datasource, driver, grails, jdbc, jndi, postgresql|
I'm working on a grails 2.2.1 project running on glassfish 22.214.171.124, using a jndi pooled datasource connected to a postgres 9.2 database.
But, everytime I undeploy (or redeploy) my application, my connection pool stops working.
Avertissement: RAR8054: Exception while creating an unpooled [test] connection for pool [ sample ], Connection could not be allocated because: No suitable driver found for jdbc:postgresql://localhost:5432/sample?loginTimeout=0&socketTimeout=0&prepareThreshold=5&unknownLength=2147483647&loglevel=0&tcpkeepalive=false
I repeat : my connection pool works fine when I deploy (I have the postgresql driver in "/glassfish/lib", my connection pool is correctly configured, etc.), it's only when I undeploy that I have troubles.
Here is the github link :
On grails side, my connection to the pool is configured this way:
I think this bug is severe, since it kills a connection pool that can be shared amongst other webapps or ears.
|Comment by pierre.fabier.camineo [ 28/Mar/13 ]|
Link to same issue on grails ML:
|Comment by pierre.fabier.camineo [ 08/Apr/13 ]|
I did some investigations:
Please help me, I'm stuck with this problem, and no one seems to be able to answer me.
|Comment by pierre.fabier.camineo [ 25/Jun/13 ]|
I posted this message 3 months ago, can someone help me with this, please ?