Java. SQL. sqlexception error code: 17002

Source: Internet
Author: User
When different IP segments are used, the IP address is often changed. Sometimes the restored IP address cannot access the local database orcle, and connection refused occurs.

 

Java. SQL. sqlexception: Io exception: Connection refused

An error occurred while establishing the connection:

Long Message:
Io exception: Connection refused (description = (TMP =) (vsnnum = 169869568) (ERR = 12505) (error_stack = (error = (code = 12505) (emfi = 4 ))))

Details:
Type: Java. SQL. sqlexception
Error code: 17002
SQL state: NULL

 

 

 

 

An error occurred while establishing a connection:
Long Message:
Io exception: Connection rejected (description = (TMP =) (vsnnum = 169869568) (ERR = 12505) (error_stack = (error = (code = 12505) (emfi = 4 ))))
Detailed description:
Type: Java. SQL. sqlexception
Error code: 17002
SQL status: NULL

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

------------------------------ Solution ---------------------------------

Try the following method:
1: Increase the processes parameter size
2: Add direct_handoff_ttc_listener = off to the header of listener. ora.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.