com.microsoft.sqlserver.jdbc.SQLServerException

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.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Java y Sql Server
    via by Unknown author,
  • Java SqlServer 2k5 Coonnection Error
    via Stack Overflow by oneProgrammer
    ,
  • SQL Server jdbc connection
    via Stack Overflow by yatinbc
    ,
  • Does JDBI accept UUID parameters?
    via Stack Overflow by Fernando Correia
    ,
    • com.microsoft.sqlserver.jdbc.SQLServerException: The connection is closed. at com.triactive.jdo.store.DatabaseAdapter.newDataStoreException(DatabaseAdapter.java:482) at com.triactive.jdo.store.OIDMapping.getObject(OIDMapping.java:92) at com.triactive.jdo.store.PersistentIDROF.getObject(PersistentIDROF.java:46) at com.triactive.jdo.store.QueryResult.nextResultSetElement(QueryResult.java:68) at com.triactive.jdo.store.QueryResult.advanceToEndOfResultSet(QueryResult.java:52) at com.triactive.jdo.store.QueryResult.size(QueryResult.java:167) at com.abc.box.ejb.BoxManagerBean.getAllBoxes(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:148) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:111) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: The connection is closed. at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerConnection.checkClosed(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerStatement.checkClosed(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerResultSet.checkClosed(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerResultSet.getterGetColumn(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerResultSet.getLong(Unknown Source) at com.triactive.jdo.store.OIDMapping.getObject(OIDMapping.java:87) ... 19 more

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    oddodd
    4 times, last one,
    SteVio1989SteVio1989
    2 times, last one,
    Andreas HäberAndreas Häber
    7325 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    94 more bugmates