2 Replies Latest reply on Feb 4, 2004 11:21 AM by sysuser1

    ManagedConnectionFactory is null

    chrjoh

      Hi

      I have a problem with one of my jboss installation. When my EJB's tries to contact my oracle database i get the following exception: (javax.resource.ResourceException: You are trying to use a connection factory that has been shut down: ManagedConnectionFactory is null.)

      The instance is JBoss 3.2.1 and is running on Windows 2003 server, with JDK 1.4.1_02 and the oracle driver is ojdbc14 for jdk1.4 and oracle 9i. The database is Oracle 8.1.7.4

      The same EJB's works without any problems on my computer . (JBoss 3.2.1, Windows 200 pro, jdk 1.4.1_05) The oracle driver is ojdbc14 for jdk1.4 and oracle 9i. The database is Oracle 8.1.7.2.1

      Can anyone help me ?

      I have attached my oracle-ds.xml file

        • 1. Re: ManagedConnectionFactory is null
          chrjoh

          I have taken a closer look in the logg. I also get the following exception :
          2003-10-07 13:23:32,568 INFO [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Exception destroying ManagedConnection
          org.jboss.resource.JBossResourceException: SQLException; - nested throwable: (java.sql.SQLException: Connection is broken: Software caused connection abort: recv failed)
          at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.checkException(BaseWrapperManagedConnection.java:445)
          at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.destroy(BaseWrapperManagedConnection.java:229)
          at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.doDestroy(InternalManagedConnectionPool.java:374)
          at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.removeTimedOut(InternalManagedConnectionPool.java:288)
          at org.jboss.resource.connectionmanager.IdleRemover$1.run(IdleRemover.java:70)
          at java.lang.Thread.run(Unknown Source)
          Caused by: java.sql.SQLException: Connection is broken: Software caused connection abort: recv failed
          at org.hsqldb.Trace.getError(Unknown Source)
          at org.hsqldb.Trace.error(Unknown Source)
          at org.hsqldb.jdbcConnection.executeHSQL(Unknown Source)
          at org.hsqldb.jdbcConnection.execute(Unknown Source)
          at org.hsqldb.jdbcConnection.close(Unknown Source)
          at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.destroy(BaseWrapperManagedConnection.java:225)
          ... 4 more

          • 2. Re: ManagedConnectionFactory is null
            sysuser1

            did you find anything on this issue?
            I got the same error.
            JBoss lost the ManagedConnectionFactory some how.
            Thanks
            Kal