[cx-oracle-users] Setting listening port for DatabaseChangeNotification feature...
Brought to you by:
atuining
From: Weber, G. <Geo...@PA...> - 2010-06-14 13:45:44
|
I've discovered with Anthony's help that a bug in Oracle causes Python3.1 to not understand DCN callbacks in 10g or 11gR1. So now I'm using 11gR2 and things test out locally just fine. However, my environment is strictly controlled and firewall connections are managed on a one-off basis. ...so basically now I need to be able to specify the listening port of the DCN client (Python side of the connection). Unless this is specified as an option, Oracle chooses a port at random. Obviously in my environment, this will not work for me. I am unable to find such a parameter in either the Connection object or register function call (or anything else in the docs), and I didn't find anything in the driver source code using 'grep' either. As an example, JDBC has a parameter found in this table: http://www.comp.dit.ie/btierney/oracle11gdoc/java.111/b31224/dbmgmnt.htm#CHDBDJHC called "NTF_LOCAL_TCP_PORT". Is it possible to set parameters on connections as in the JDBC driver? Thanks! Geoff Weber geo...@pa... |