DIRECT Connection Mode: Ora-03113: end-of-file on communication channel

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
tracer609
Posts: 5
Joined: Fri 13 Dec 2013 14:39

DIRECT Connection Mode: Ora-03113: end-of-file on communication channel

Post by tracer609 » Wed 26 Aug 2015 20:41

Hello,

we try to connect to a remote database using DIRECT mode and get always "Ora-03113: end-of-file on communication channel" error. If we connect through Oracle client, the connection succeeds. How can we fix this issue for DIRECT mode?

thanks.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: DIRECT Connection Mode: Ora-03113: end-of-file on communication channel

Post by AlexP » Thu 27 Aug 2015 07:19

Hello,

Please specify the exact versions of ODAC, IDE and Oracle server.

tracer609
Posts: 5
Joined: Fri 13 Dec 2013 14:39

Re: DIRECT Connection Mode: Ora-03113: end-of-file on communication channel

Post by tracer609 » Thu 27 Aug 2015 07:37

Hi,

ODAC 9.3.8, XE4, Oracle 12.1.0

please note that this server is behind firewall and port 1521 is open. All tools like sqlplus or jdbc programs can connect without any problem . Also, we can connect to this database using oracle client but direct mode fails. Could you please give us any idea what additional ports are used in direct mode? I suppose that the issue is bound to firewall and that some ports required by ODAC are closed. But why connection through Oracle client succeeds?

tracer609
Posts: 5
Joined: Fri 13 Dec 2013 14:39

Re: DIRECT Connection Mode: Ora-03113: end-of-file on communication channel

Post by tracer609 » Fri 28 Aug 2015 06:52

any update on this issue?

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: DIRECT Connection Mode: Ora-03113: end-of-file on communication channel

Post by AlexP » Fri 28 Aug 2015 08:17

By default, Oracle opens the connection on any free port (and not on the listener port), try to set TRUE for the USE_SHARED_SOCKET parameter on the server, so that the server works on the same port as the listener.

tracer609
Posts: 5
Joined: Fri 13 Dec 2013 14:39

Re: DIRECT Connection Mode: Ora-03113: end-of-file on communication channel

Post by tracer609 » Fri 28 Aug 2015 11:22

thank you for your reply. But why connection through oracle client is established but in direct mode not when use_shared_socket parameter is not used?

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: DIRECT Connection Mode: Ora-03113: end-of-file on communication channel

Post by AlexP » Mon 31 Aug 2015 08:03

This behavior of the client is implemented in SQL Net V2, the port that the server returns is used in our direct mode.

Post Reply