This content has been marked as final.
Show 2 replies
-
1. Re: How to fix ERROR [STDERR] (pool-152-thread-1660) com.microsoft.sqlserver.jdbc.SQLServerException: The connection is closed. in jboss 6.1
wdfink Jun 18, 2013 2:03 AM (in response to ankit.pandey)Have a look to https://community.jboss.org/wiki/configdatasources
How your connection are failing? Are all connections are invalid, fast-fail might help? You might use the JMX console (see Datasource pools) and invoke flush, in this case the connections are closed and the pool is new created.
-
2. Re: How to fix ERROR [STDERR] (pool-152-thread-1660) com.microsoft.sqlserver.jdbc.SQLServerException: The connection is closed. in jboss 6.1
ankit.pandey Jun 18, 2013 9:26 AM (in response to wdfink)Thanks for your reply,
Actually, When I got this exception I have a non-working connection object i.e. I got connection successfully but when I try to use it, throws above exception.
In this case, I need to restart JBoss...
I don't know how to avoid JBoss Restart after I got this exception and got and working connection again..
Please Help...