Question : websphere test connection fails with

getting this error after datasource connection string was changed. Firewall admin says traffic is passing, DBA says its due to port not being opened.


The ports to the db instance public IP were opened.  There is a virtual IP also.

database is oracle , websphere is 6.0.2


Test connection failed for data source EportalDS on server dmgr at node redCellManager01 with the following exception: java.lang.Exception: java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(ERR=1153)(VSNNUM=169870336)(ERROR_STACK=(ERROR=(CODE=1153)(EMFI=4)(ARGS='(ADDRESS=(PROTOCOL=TCP)(HOST=jasmine_vip)(PORT=1521))'))(ERROR=(CODE=305)(EMFI=1))))DSRA0010E: SQL State = null, Error Code = 17,002.


Is the problem with firewall , or db  ?

Answer : websphere test connection fails with

Hi,

just logon to the Oracle server and observe

netstat -an

ourput if you can see port 1521 is listening then it seems that Oracle Listener is active. So this must not be a db issue. If not start oracle listener.

Try to telnet as ajay-singh suggested over the Oracle system. If you succeed then try to telnet to the same system over the websphere server. If you can not succeed then it must be a firewall or routing problem and most likey that the firewall over oracle server or a firewall in between..

Will you please elaborate about your local setup? Are both systems (websphere, oracle) located on the same subnet? Are there any gateways in between? Any firewalls ? Can you ping to the Oracle system from Websphere system? Vice versa?

Cheers,
K.
Random Solutions  
 
programming4us programming4us