Jan 302013
 Posted by on January 30, 2013 at 10:49 am Application Servers, Oracle/BEA WebLogic Tagged with: ,  Add comments
Oracle Weblogic Server

We need to follow below steps to set this option : -Dsun.net.client.defaultConnectTimeout=5000) through Weblogic Admin Console.

To set this JVM options using the weblogic administration console:

1.In the Domain Structure pane, expand the Servers node.

2.Click the name of the server that you want to configure.

3.In the right pane, click Server Start.

4.Select Lock & Edit.

5.In the Arguments text box, provide the JVM option: enter the following option :


After inserting your options, click Save. Then click Activate Changes.

NOTE: Here 5000 is in miliseconds.

socket connection timeout weblogic

6.Restart the server so that the new settings are used.

By doing this you can also manage the failover time also like 3 attempts x 5 seconds = 15 sec will bringon the failover mechanism

© Incase of any copyright infringements please check copyrights page for faster resolutions.

  2 Responses to “Socket connection timeout weblogic”

  1. hi,

    we wanted to increase the socket timeout. i made these changes where the apllication resides (server 2).
    i have restarted the server but didn’t work. any idea? thanks

    • You don’t need to increase explicitly as default value is unlimited.

      sun.net.client.defaultConnectTimeout (default: -1)
      sun.net.client.defaultReadTimeout (default: -1)
      These properties specify the default connect and read timeout (resp.) for the protocol handler used by java.net.URLConnection.
      sun.net.client.defaultConnectTimeout specifies the timeout (in milliseconds) to establish the connection to the host. For example for http connections it is the timeout when establishing the connection to the http server. For ftp connection it is the timeout when establishing the connection to ftp servers.

Leave a Reply

Show Buttons
Hide Buttons