Error:
Cannot establish connection to database: Address already in use
Cause:
When running large volume of data through maps that have multiple functions, Windows does not close connections fast enough which causes the Network I/O exception.
Solution:
Modify the following two values in the Windows registry –
1. The range of ports that Windows uses to open connections.
2. Second to close the ports faster.
(Details can be found at the link - http://stackoverflow.com/questions/2622875/jpa-toplink-network-error-ioexception-address-already-in-use-connect).
2 Comments