检查数据库发现数据库连接过一会就会自动断开。需要在
/u01/app/oracle/product/11R2/db_1/network/admin/samples下
listener.ora sqlnet.ora 下添加信息
1. listener.ora
#修改12170错误
INBOUND_CONNECT_TIMEOUT_LISTENER = 30
2. sqlnet.ora
#修改12170错误
SQLNET.INBOUND_CONNECT_TIMEOUT = 30
SQLNET.RECV_TIMEOUT = 30
SQLNET.SEND_TIMEOUT = 30