javax.naming.CommunicationException: oeb0stl1.mastercard.com:389 Root exception is java.net.ConnectException: Connection refused

Oracle Community | 661363 | 8 years ago
  1. 0

    Application server : Enterprise Manager ias Console - No response

    Oracle Community | 8 years ago | 661363
    javax.naming.CommunicationException: oeb0stl1.mastercard.com:389 Root exception is java.net.ConnectException: Connection refused
  2. 0

    Portal login fails with "Internal error (WWC-00006)"

    Oracle Community | 1 decade ago | Aj-Oracle
    javax.naming.CommunicationException: myserver.us.oracle.com:8655 [Root exception is java.net.ConnectException: Connection refused]
  3. 0

    Active Directory Referral Timeouts |Jive Community

    jivesoftware.com | 4 months ago
    javax.naming.CommunicationException: sample.host.com:389 [Root exception is java.net.ConnectException: Connection refused]]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    When attempting to access the application in Crowd that contains the problem directory, the following error is thrown: {noformat} javax.servlet.ServletException: Transaction rolled back because it has been marked as rollback-only at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:284) at com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:202) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.crowd.integration.http.VerifyTokenFilter.doFilter(VerifyTokenFilter.java:172) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:183) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:138) at com.atlassian.crowd.console.filter.CrowdDelegatingFilterProxy.doFilter(CrowdDelegatingFilterProxy.java:38) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198) at com.atlassian.crowd.console.filter.CrowdOpenSessionInViewFilter.doFilterInternal(CrowdOpenSessionInViewFilter.java:26) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.gzipfilter.GzipFilter.doFilter(GzipFilter.java:81) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:183) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:138) {noformat} However, the actualy exception in Crowd is: {noformat} 2008-04-09 17:36:00,073 http-8095-Processor7 ERROR [codehaus.xfire.handler.DefaultFaultHandler] Fault occurred! org.springframework.dao.DataRetrievalFailureException: Unable to communicate with LDAP server; nested exception is javax.naming.CommunicationException: maltshovel:389 [Root exception is java.net.ConnectException: Connection refused] Caused by: javax.naming.CommunicationException: maltshovel:389 [Root exception is java.net.ConnectException: Connection refused] at com.sun.jndi.ldap.Connection.<init>(Connection.java:204) at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:118) at com.sun.jndi.ldap.LdapClientFactory.createPooledConnection(LdapClientFactory.java:44) at com.sun.jndi.ldap.pool.Connections.<init>(Connections.java:97) at com.sun.jndi.ldap.pool.Pool.getPooledConnection(Pool.java:114) at com.sun.jndi.ldap.LdapPoolManager.getLdapClient(LdapPoolManager.java:310) at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1572) at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2596) at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:283) at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175) at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193) at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136) {noformat} Wrapping a try/catch around {{ldapTemplate.search(baseDN, filter.encode(), searchControls, handler, requestControl);}} in SpringLDAPConnector.java's pageSearchResults method seems to fix the issue. May not be the best approach for a patch though. :)

    Atlassian JIRA | 9 years ago | Donna McGahan [Atlassian]
    javax.naming.CommunicationException: maltshovel:389 [Root exception is java.net.ConnectException: Connection refused]
  6. 0

    Applet Certificate CRL Distribution Point LDAP URL with no host

    Oracle Community | 3 years ago | Telmo Simões
    javax.naming.CommunicationException: localhost:389 [Root exception is java.net.ConnectException: Connection refused: connect]

    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

      oeb0stl1.mastercard.com:389 Root exception is java.net.ConnectException: Connection refused

      at oracle.ias.repository.directory.DirectoryReader.connect()
    2. oracle.ias.repository
      SchemaManager.getDBConnect
      1. oracle.ias.repository.directory.DirectoryReader.connect(DirectoryReader.java:124)
      2. oracle.ias.repository.IASSchema.getDBConnect(IASSchema.java:554)
      3. oracle.ias.repository.IASSchema.getDBConnect(IASSchema.java:772)
      4. oracle.ias.repository.SchemaManager.getDBConnect(SchemaManager.java:406)
      4 frames
    3. oracle.ias.sysmgmt
      EntryPoint.init
      1. oracle.ias.sysmgmt.persistence.SeedDbAccess.getDBConnect(Unknown Source)
      2. oracle.ias.sysmgmt.persistence.PersistenceManager.getSeedInfo(Unknown Source)
      3. oracle.ias.sysmgmt.persistence.PersistenceManager.<init>(Unknown Source)
      4. oracle.ias.sysmgmt.persistence.PersistenceManager.<init>(Unknown Source)
      5. oracle.ias.sysmgmt.task.TaskMaster.initRepository(Unknown Source)
      6. oracle.ias.sysmgmt.task.TaskMaster.<init>(Unknown Source)
      7. oracle.ias.sysmgmt.task.InstanceManager.sysInit(Unknown Source)
      8. oracle.ias.sysmgmt.task.InstanceManager.init(Unknown Source)
      9. oracle.ias.sysmgmt.EntryPoint.init(Unknown Source)
      9 frames
    4. oracle.sysman.emSDK
      IASEntryPoint.getEntryPoint
      1. oracle.sysman.emSDK.eml.util.iAS.IASEntryPoint.initEntrypoint(IASEntryPoint.java:145)
      2. oracle.sysman.emSDK.eml.util.iAS.IASEntryPoint.getEntryPoint(IASEntryPoint.java:266)
      3. oracle.sysman.emSDK.eml.util.iAS.IASEntryPoint.getEntryPoint(IASEntryPoint.java:306)
      3 frames
    5. oracle.webdb.monitoring
      PortalIntegration$InitThread.run
      1. oracle.webdb.monitoring.hawkeye.PortalIntegration$InitThread.run(Unknown Source)
      1 frame