javax.naming.CommunicationException: Connection timed out [Root exception is java.net.ConnectException: Connection timed out]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Oracle Community by 807573, 1 year ago
Connection timed out [Root exception is java.net.ConnectException: Connection timed out]
javax.naming.CommunicationException: Connection timed out [Root exception is java.net.ConnectException: Connection timed out]
at com.sun.directory.common.ssl.LdapContextUtils.getInitialLdapContext(LdapContextUtils.java:300)
at com.sun.directory.common.ssl.LdapContextUtils.createLdapContext(LdapContextUtils.java:94)
at com.sun.directory.dcc.ads.ADSInstall.createDirContext(ADSInstall.java:550)
at com.sun.directory.dcc.ads.ADSInstall.configADSInstance(ADSInstall.java:656)
at com.sun.directory.dcc.ads.ADSInstall.create(ADSInstall.java:251)
at com.sun.directory.dcc.cli.setup.CmdAdsCreate.performCreate(CmdAdsCreate.java:129)
at com.sun.directory.dcc.cli.setup.CmdAdsCreate.perform(CmdAdsCreate.java:59)
at com.sun.directory.clip.ClipSubcommand.execute(ClipSubcommand.java:89)
at com.sun.directory.clip.FriendlySubcommand.execute(FriendlySubcommand.java:55)
at com.sun.directory.clip.ClipParser.execute(ClipParser.java:196)
at com.sun.directory.dcc.cli.setup.SetupMain.main(SetupMain.java:30)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.