jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTO
=TCP)(PORT=1521)
HOST=hostname1))(ADDRESS=(PROTO
=TCP)(PORT=1521)(HOST=hostname2)))(CONNECT_DATA
(SERVICE_NAME=DBNAME.DOMAIN)))
When we bring the primary database instance down, the app does not
connect to the backup instance on the next attempt. Instead it
generates an exception that includes ORA-12514 error:
Io exception: Connection
refused(DESCRIPTION=(TMP=)(VSNNUM=153093632)(ERR=12514)(ERROR_STACK=(ERROR=(CODE=12514)(EMFI=4))))
We cannot re-create this issue outside of Websphere 5.1. The database
failover works fine outside of Websphere so this appears to be a WAS
connection pooling problem. IBM support is looking into this but has
offered no assistance to date.
Has anyone else seen this?
TIA
JDBC is a highly stateful protocol and in which transactional state are tied
directly to the socket between the server and the client, so it is hard to
achieve clustering. If a JDBC connection dies, a ll JDBC objects associated
with the dead connection will also be defunct. The re-connection action is
needed in the client code. JDBC multipool can ease the reconnection
process, but not all the time.
--
Rodrick R. Brown
Unix Systems Architect
http://www.rodrickbrown.com
Yes you are correct WAS 6 does address this problem.
--
RB
Regards