com.microsoft.sqlserver.jdbc.SQLServerException: The connection is closed.

sourceforge.net | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    TriActive Java Data Objects (TJDO) / Discussion / Help:TJDO MSSQL Server 2005

    sourceforge.net | 6 months ago
    com.microsoft.sqlserver.jdbc.SQLServerException: The connection is closed.

    1 unregistered visitors

    Root Cause Analysis

    1. com.microsoft.sqlserver.jdbc.SQLServerException

      The connection is closed.

      at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError()
    2. com.microsoft.sqlserver
      SQLServerResultSet.getLong
      1. com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(Unknown Source)
      2. com.microsoft.sqlserver.jdbc.SQLServerConnection.checkClosed(Unknown Source)
      3. com.microsoft.sqlserver.jdbc.SQLServerStatement.checkClosed(Unknown Source)
      4. com.microsoft.sqlserver.jdbc.SQLServerResultSet.checkClosed(Unknown Source)
      5. com.microsoft.sqlserver.jdbc.SQLServerResultSet.getterGetColumn(Unknown Source)
      6. com.microsoft.sqlserver.jdbc.SQLServerResultSet.getLong(Unknown Source)
      6 frames
    3. com.triactive.jdo
      QueryResult.size
      1. com.triactive.jdo.store.OIDMapping.getObject(OIDMapping.java:87)
      2. com.triactive.jdo.store.DatabaseAdapter.newDataStoreException(DatabaseAdapter.java:482)
      3. com.triactive.jdo.store.OIDMapping.getObject(OIDMapping.java:92)
      4. com.triactive.jdo.store.PersistentIDROF.getObject(PersistentIDROF.java:46)
      5. com.triactive.jdo.store.QueryResult.nextResultSetElement(QueryResult.java:68)
      6. com.triactive.jdo.store.QueryResult.advanceToEndOfResultSet(QueryResult.java:52)
      7. com.triactive.jdo.store.QueryResult.size(QueryResult.java:167)
      7 frames
    4. com.abc.box
      BoxManagerBean.getAllBoxes
      1. com.abc.box.ejb.BoxManagerBean.getAllBoxes(Unknown Source)
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      4 frames
    6. JBoss Application Server Server
      StatelessSessionContainer$ContainerInterceptor.invoke
      1. org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683)
      1 frame
    7. JBoss Application Server Connector
      CachedConnectionInterceptor.invoke
      1. org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
      1 frame
    8. JBoss Application Server Server
      LogInterceptor.invoke
      1. org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)
      2. org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
      3. org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315)
      4. org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:148)
      5. org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:111)
      6. org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
      6 frames