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
Hello,
I'm encounter the same Exception using jboss 3.2.1, but i'm new to jboss and found no solution.
If you have found one, it would be nice to give me a hint.
Thanks
Martin