4 Replies Latest reply: Feb 8, 2012 9:13 AM by Scott Marlow RSS

JdbcSQLException: "Database is already closed" on server shutdown

Juraj Húska Expert

Hi,

I am having the same problem as described at AS7-2045. The workaround is described there as well, however it is need to change default DS on AS and therefore this can not be shipped with our application, which is using this DS, but every user has to change it accordingly.

 

I have also found some other ways to workaround it, but with a little bit different functionality, and it is to use create hibernate.hbm2ddl.auto instead of create-drop, which seems OK for me as it is only showcase application. Am I correct ?

 

There was also proposed one solution, and I am asking whether this will be fixed in some next releases or we should use another approach ?