javax.naming.CommunicationException: rhvx64002.poc.net:389 [Root exception is java.net.ConnectException: Connection refused]

Oracle Community | 921313 | 5 years ago
  1. 0

    restartup weblogic service , but it prompt error

    Oracle Community | 5 years ago | 921313
    javax.naming.CommunicationException: rhvx64002.poc.net:389 [Root exception is java.net.ConnectException: Connection refused]
  2. 0

    ClassNotFoundException when using custom SSLSocketFactory

    Stack Overflow | 5 years ago | Jagadish G
    javax.naming.CommunicationException: 192.168.100.22:636 [Root exception is java.lang.ClassNotFoundException: com/testing/diraccess/service/ActiveDirectory$TestSSLFactory]
  3. 0

    LDAP Synchronization Connector - Bug #27: Connection on ldaps:// URI - LSC

    lsc-project.org | 6 months ago
    javax.naming.CommunicationException: simple bind failed: localhost:389 [Root exception is javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    how to accept self-signed certificates for JNDI/LDAP connections?

    Stack Overflow | 6 years ago | wishihadabettername
    javax.naming.CommunicationException: simple bind failed: ldapserver:636 [Root exception is javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target]
  6. 0

    [SEC-2664] ActiveDirectoryLdapAuthenticationProvider should wrap communication exceptions in InternalAuthenticationServiceException - Spring JIRA

    spring.io | 1 year ago
    org.springframework.ldap.CommunicationException: myazuread.cloudapp.net:389; nested exception is javax.naming.CommunicationException: myazuread.cloudapp.net:389

    3 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.naming.CommunicationException

      rhvx64002.poc.net:389 [Root exception is java.net.ConnectException: Connection refused]

      at com.sun.jndi.ldap.Connection.<init>()
    2. Java RT
      InitialLdapContext.<init>
      1. com.sun.jndi.ldap.Connection.<init>(Connection.java:208)
      2. com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:116)
      3. com.sun.jndi.ldap.LdapClientFactory.createPooledConnection(LdapClientFactory.java:46)
      4. com.sun.jndi.ldap.pool.Connections.<init>(Connections.java:97)
      5. com.sun.jndi.ldap.pool.Pool.getPooledConnection(Pool.java:114)
      6. com.sun.jndi.ldap.LdapPoolManager.getLdapClient(LdapPoolManager.java:310)
      7. com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1572)
      8. com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2678)
      9. com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:296)
      10. com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
      11. com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)
      12. com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136)
      13. com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66)
      14. javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
      15. javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
      16. javax.naming.InitialContext.init(InitialContext.java:223)
      17. javax.naming.ldap.InitialLdapContext.<init>(InitialLdapContext.java:134)
      17 frames
    3. oracle.security.jps
      JavaPolicyProvider.<init>
      1. oracle.security.jps.internal.common.ldap.connection.pool.AbstractConnectionPool.isPassingSanityConnectionTest(AbstractConnectionPool.java:137)
      2. oracle.security.jps.internal.common.ldap.connection.pool.JpsJNDIConnectionPool.getInstance(JpsJNDIConnectionPool.java:68)
      3. oracle.security.jps.internal.common.ldap.connection.JpsConnectionPoolManager.getPool(JpsConnectionPoolManager.java:42)
      4. oracle.security.jps.internal.core.datamanager.DataManagerFactoryImpl.getLDAPDataManager(DataManagerFactoryImpl.java:182)
      5. oracle.security.jps.internal.core.datamanager.DataManagerFactoryImpl.getDataManager(DataManagerFactoryImpl.java:92)
      6. oracle.security.jps.internal.core.datamanager.DataManagerFactoryImpl.getDataManager(DataManagerFactoryImpl.java:81)
      7. oracle.security.jps.internal.credstore.ldap.CsfLdapManager.getDataManager(CsfLdapManager.java:113)
      8. oracle.security.jps.internal.credstore.ldap.CsfStoreManager.existsStore(CsfStoreManager.java:186)
      9. oracle.security.jps.internal.credstore.ldap.CsfStoreManager.completeInit(CsfStoreManager.java:149)
      10. oracle.security.jps.internal.credstore.ldap.CsfLdapManager.<init>(CsfLdapManager.java:107)
      11. oracle.security.jps.internal.credstore.ldap.CsfLdapManager.getInstance(CsfLdapManager.java:86)
      12. oracle.security.jps.internal.credstore.ldap.CsfStoreManager.getInstance(CsfStoreManager.java:95)
      13. oracle.security.jps.internal.credstore.ldap.LdapCredentialStore.<init>(LdapCredentialStore.java:104)
      14. oracle.security.jps.internal.credstore.ldap.LdapCredentialStoreProvider.getInstance(LdapCredentialStoreProvider.java:135)
      15. oracle.security.jps.internal.credstore.ldap.LdapCredentialStoreProvider.getInstance(LdapCredentialStoreProvider.java:55)
      16. oracle.security.jps.internal.core.runtime.ContextFactoryImpl.findServiceInstance(ContextFactoryImpl.java:139)
      17. oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getContext(ContextFactoryImpl.java:170)
      18. oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getContext(ContextFactoryImpl.java:191)
      19. oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:132)
      20. oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:127)
      21. oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:850)
      22. oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:844)
      23. oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyStore(PolicyUtil.java:844)
      24. oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:291)
      25. oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:284)
      26. oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:270)
      26 frames
    4. Java RT
      Class.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      5. java.lang.Class.newInstance0(Class.java:355)
      6. java.lang.Class.newInstance(Class.java:308)
      6 frames
    5. weblogic.security.service
      SecurityServiceManager.initialize
      1. weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1339)
      2. weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1018)
      3. weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)
      3 frames
    6. weblogic.security
      SecurityService.start
      1. weblogic.security.SecurityService.start(SecurityService.java:141)
      1 frame
    7. weblogic.t3.srvr
      SubsystemRequest.run
      1. weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
      1 frame
    8. weblogic.work
      ExecuteThread.run
      1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
      2. weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
      2 frames