Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    If you're not using yet, consider using the SQLServerDataSource to set your server configurations. Also, check if the server is accepting TCP/IP connections and if there's no firewall blocking the connections.

Solutions on the web

via microsoft.com by Unknown author, 2 years ago
The connection is closed.
via sap.com by Unknown author, 2 years ago
via rssing.com by Unknown author, 2 years ago
The connection is closed.
via Stack Overflow by karlgrz
, 7 months ago
com.microsoft.sqlserver.jdbc.SQLServerException: The connection is closed.	at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(SQLServerException.java:190)	at com.microsoft.sqlserver.jdbc.SQLServerConnection.checkClosed(SQLServerConnection.java:388)	at com.microsoft.sqlserver.jdbc.SQLServerStatement.checkClosed(SQLServerStatement.java:978)	at com.microsoft.sqlserver.jdbc.SQLServerStatement.getMaxRows(SQLServerStatement.java:1011)	at org.apache.tomcat.dbcp.dbcp.DelegatingStatement.getMaxRows(DelegatingStatement.java:237)	at org.apache.tomcat.dbcp.dbcp.DelegatingStatement.getMaxRows(DelegatingStatement.java:237)	at org.hibernate.jdbc.AbstractBatcher.closeQueryStatement(AbstractBatcher.java:298)	at org.hibernate.jdbc.AbstractBatcher.closeQueryStatement(AbstractBatcher.java:234)	at org.hibernate.loader.Loader.getResultSet(Loader.java:1863)	at org.hibernate.loader.Loader.doQuery(Loader.java:718)	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:270)	at org.hibernate.loader.Loader.doList(Loader.java:2294)	at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2172)	at org.hibernate.loader.Loader.list(Loader.java:2167)	at org.hibernate.loader.custom.CustomLoader.list(CustomLoader.java:316)	at org.hibernate.impl.SessionImpl.listCustomQuery(SessionImpl.java:1832)	at org.hibernate.impl.AbstractSessionImpl.list(AbstractSessionImpl.java:165)	at org.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:179)	at com.lexisnexis.citemod.metadata.service.ExportFilesService.verifyTokenizeResolutionFileName(ExportFilesService.java:594)	at com.lexisnexis.citemod.metadata.service.ExportFilesService.verifyTokenizeResolutionFile(ExportFilesService.java:551)	at com.lexisnexis.citemod.metadata.web.action.export.ExportFilesAction.listVerifyTokenizeResolution(ExportFilesAction.java:496)	at sun.reflect.GeneratedMethodAccessor402.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:269)	at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:170)	at org.apache.struts.actions.LookupDispatchAction.execute(LookupDispatchAction.java:146)	at org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58)	at org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67)	at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)	at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)	at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305)	at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)	at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)	at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)