1 Reply Latest reply on Aug 13, 2003 3:27 AM by martinkolley

    LocalManagedConnectionFactory in 3.2.1

    citrosoft

      We recently upgraded from 3.0.6 to 3.2.1 and started encountering errors during a junit stress test where the Oracle driver was unable to establish a connection to the resource. The exception from the Oracle driver says:

      Io exception: The Network Adapter could not establish the connection

      Under 3.0.6 we were not experiencing this problem.

      After looking at the source code for LocalManagedConnectionFactory we realized that the method for obtaining the connection had changed from

      DriverManager.getConnection(url, copy)
      to
      d.connect(url, copy)

      Where d is the instance of the database driver. Does anyone know why this change was made? Is anyone else experiencing similar problems with connecting to Oracle in 3.2.1?

      Thanks,
      Mike