javax.resource.ResourceException: Error in use of ManagedConnectionPool: matchManagedConnection failed with subject: null and ConnectionRequestInfo: org.jboss.resource.adapter.jdbc.local.LocalConnectionRequestInfo@3be7ac) And when I execute it a second time around, it seems to retrieve the PersistenceManager ok, but when I try to invoke methods on it, I get an SQLException: Connection is broken: Software caused connection abort: socket write error

Oracle Community | 3004 | 1 decade ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Obtaining PersistenceManager from Session Bean in JBoss 3.0.4

    Oracle Community | 1 decade ago | 3004
    javax.resource.ResourceException: Error in use of ManagedConnectionPool: matchManagedConnection failed with subject: null and ConnectionRequestInfo: org.jboss.resource.adapter.jdbc.local.LocalConnectionRequestInfo@3be7ac) And when I execute it a second time around, it seems to retrieve the PersistenceManager ok, but when I try to invoke methods on it, I get an SQLException: Connection is broken: Software caused connection abort: socket write error

    Root Cause Analysis

    1. javax.resource.ResourceException

      Error in use of ManagedConnectionPool: matchManagedConnection failed with subject: null and ConnectionRequestInfo: org.jboss.resource.adapter.jdbc.local.LocalConnectionRequestInfo@3be7ac) And when I execute it a second time around, it seems to retrieve the PersistenceManager ok, but when I try to invoke methods on it, I get an SQLException: Connection is broken: Software caused connection abort: socket write error

      at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.newDataStoreId()
    2. com.solarmetric.kodo
      PersistenceManagerImpl.makePersistent
      1. com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.newDataStoreId(JDBCStoreManager.java:464)
      2. com.solarmetric.kodo.runtime.PersistenceManagerImpl.makePersistentFilter(PersistenceManagerImpl.java:1107)
      3. com.solarmetric.kodo.runtime.PersistenceManagerImpl.makePersistent(PersistenceManagerImpl.java:1059)
      3 frames
    3. org.aims.his
      PatientBean.createPatient
      1. org.aims.his.ejb.PatientBean.createPatient(PatientBean.java:117)
      1 frame
    4. 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
    5. JBoss Application Server Server
      StatelessSessionContainer$ContainerInterceptor.invoke
      1. org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:660)
      1 frame
    6. JBoss Application Server Connector
      CachedConnectionInterceptor.invoke
      1. org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
      1 frame
    7. JBoss Application Server Server
      LogInterceptor.invoke
      1. org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:77)
      2. org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:107)
      3. org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:178)
      4. org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:60)
      5. org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:130)
      6. org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:204)
      6 frames