IP port acquirement of TOracleSession

I've noticed a behaviour of OracleSession:
it connects to the server on a port somewhere between ~1000 and 1100. Sometimes it uses 1098 which is used by an Java application server on my system.

When starting my delphi app before starting the Java server, then the two systems collide and the Java server stops.

Doing a little research I found that port 1098 is normally a RMI port.

So my question is: Is there any way to influence the port on which the session connects?

Best Regards

Thomas
 
It is actual Oracle Net that connects to TCP/IP ports. This is transparent at the session level. You will have to check your Oracle Net configuration (tnsnames.ora) for port numbers.
 
Back
Top