org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.postgresql.util.PSQLException: The connection attempt failed.)

robertivey.org | 4 months ago
  1. 0

    Rivey's Blog

    robertivey.org | 4 months ago
    org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.postgresql.util.PSQLException: The connection attempt failed.)
  2. 0

    Hibernate Community • View topic - java.net.SocketException: Connection reset exception

    hibernate.org | 1 year ago
    org.hibernate.exception.JDBCConnectionException: Cannot open connection
  3. 0

    org.postgresql.util.PSQLException: The connection attempt failed

    Stack Overflow | 4 years ago | Sasi Vara Prasad
    org.postgresql.util.PSQLException: The connection attempt failed.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 38#94935368

    GitHub | 2 years ago | dischord01
    org.postgresql.util.PSQLException: The connection attempt failed.
  6. 0

    Error while connecting to remote postgressql database using jsch in Java

    Stack Overflow | 7 months ago | user1297653
    org.postgresql.util.PSQLException: The connection attempt failed.
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. java.net.SocketException

    Connection timed out

    at java.net.SocketInputStream.socketRead0()
  2. Java RT
    SocketInputStream.read
    1. java.net.SocketInputStream.socketRead0(Native Method)
    2. java.net.SocketInputStream.read(Unknown Source)
    2 frames
  3. PostgreSQL JDBC Driver
    Driver.connect
    1. org.postgresql.core.VisibleBufferedInputStream.readMore(VisibleBufferedInputStream.java:135)
    2. org.postgresql.core.VisibleBufferedInputStream.ensureBytes(VisibleBufferedInputStream.java:104)
    3. org.postgresql.core.VisibleBufferedInputStream.read(VisibleBufferedInputStream.java:73)
    4. org.postgresql.core.PGStream.ReceiveChar(PGStream.java:259)
    5. org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:254)
    6. org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:95)
    7. org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66)
    8. org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:124)
    9. org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:30)
    10. org.postgresql.jdbc3.Jdbc3Connection.<init>(Jdbc3Connection.java:24)
    11. org.postgresql.Driver.makeConnection(Driver.java:386)
    12. org.postgresql.Driver.connect(Driver.java:260)
    12 frames
  4. JBoss Application Server Connector
    WrapperDataSource.getConnection
    1. org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:207)
    2. org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:195)
    3. org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:633)
    4. org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:267)
    5. org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:679)
    6. org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:404)
    7. org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:381)
    8. org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:496)
    9. org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:941)
    10. org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89)
    10 frames
  5. org.jboss.messaging
    JDBCSupport.start
    1. org.jboss.messaging.core.impl.JDBCSupport.createSchema(JDBCSupport.java:287)
    2. org.jboss.messaging.core.impl.JDBCSupport.start(JDBCSupport.java:167)
    2 frames
  6. org.jboss.jms
    JDBCJMSUserManagerService.startService
    1. org.jboss.jms.server.plugin.JDBCJMSUserManager.start(JDBCJMSUserManager.java:98)
    2. org.jboss.jms.server.plugin.JDBCJMSUserManagerService.startService(JDBCJMSUserManagerService.java:78)
    2 frames
  7. JBoss Application Server System
    ServiceMBeanSupport.start
    1. org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:376)
    2. org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:269)
    2 frames
  8. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  9. org.jboss.mx
    ReflectedDispatcher.invoke
    1. org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
    1 frame
  10. JBoss Application Server J2SE
    Invocation.dispatch
    1. org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
    1 frame
  11. org.jboss.mx
    AbstractInterceptor.invoke
    1. org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)
    1 frame
  12. JBoss Application Server J2SE
    Invocation.invoke
    1. org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
    1 frame
  13. org.jboss.mx
    ModelMBeanOperationInterceptor.invoke
    1. org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)
    1 frame
  14. JBoss Application Server J2SE
    MBeanServerImpl.invoke
    1. org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
    2. org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
    3. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
    3 frames
  15. org.jboss.system
    ServiceProxy.invoke
    1. org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
    1 frame
  16. Unknown
    $Proxy38.start
    1. $Proxy38.start(Unknown Source)
    1 frame
  17. org.jboss.system
    StartStopLifecycleAction.installAction
    1. org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
    2. org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
    2 frames
  18. JBoss Microcontainer Dependency
    AbstractControllerContext.install
    1. org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
    2. org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
    3. org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
    4. org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
    4 frames
  19. org.jboss.system
    ServiceControllerContext.install
    1. org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
    1 frame
  20. JBoss Microcontainer Dependency
    AbstractController.change
    1. org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
    2. org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
    3. org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
    4. org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
    5. org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
    6. org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
    6 frames
  21. JBoss Application Server System
    ServiceDeployer.deploy
    1. org.jboss.system.ServiceController.doChange(ServiceController.java:688)
    2. org.jboss.system.ServiceController.start(ServiceController.java:460)
    3. org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
    4. org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
    5. org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
    5 frames
  22. JBoss Deployers SPI
    AbstractRealDeployer.deploy
    1. org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
    2. org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
    2 frames
  23. JBoss Deployers Impl
    DeployersImpl.install
    1. org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
    2. org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
    3. org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
    4. org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
    5. org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
    5 frames
  24. JBoss Microcontainer Dependency
    AbstractController.change
    1. org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
    2. org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
    3. org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
    4. org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
    5. org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
    6. org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
    7. org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
    7 frames
  25. JBoss Deployers Impl
    MainDeployerImpl.process
    1. org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
    2. org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
    2 frames
  26. JBoss Application Server System
    AbstractProfileService.install
    1. org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
    2. org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
    3. org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
    4. org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)
    4 frames
  27. JBoss Microcontainer Dependency
    AbstractController.change
    1. org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
    2. org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
    3. org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
    4. org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
    5. org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
    6. org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
    7. org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
    7 frames
  28. JBoss Application Server System
    AbstractProfileService.activateProfile
    1. org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)
    1 frame
  29. org.jboss.system
    ProfileServiceBootstrap.start
    1. org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
    1 frame
  30. org.jboss.bootstrap
    AbstractServerImpl.start
    1. org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
    1 frame
  31. JBoss Application Server Server
    Main$1.run
    1. org.jboss.Main.boot(Main.java:221)
    2. org.jboss.Main$1.run(Main.java:556)
    2 frames
  32. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)
    1 frame