org.postgresql.util.PSQLException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • server connection problem
    via openbravo by hemendra_soft
    ,
  • Installation error: Execute failed?
    via openbravo by inventq
    ,
  • Postgre on Win installation stalled
    via openbravo by alostale
    ,
  • Connection to Db
    via by Vedran,
  • JDBC Connect Error Postgresql
    via by Chase Preuninger,
  • SQuirreL SQL Client / Mailing Lists
    via by Unknown author,
    • org.postgresql.util.PSQLException: The connection attempt failed. at org.apache.tools.ant.taskdefs.JDBCTask.getConnection(JDBCTask.java:314) at org.apache.tools.ant.taskdefs.SQLExec.execute(SQLExec.java:346) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:341) at org.apache.tools.ant.Target.performTasks(Target.java:369) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) at org.apache.tools.ant.Project.executeTarget(Project.java:1185) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40) at org.apache.tools.ant.Project.executeTargets(Project.java:1068) at org.tp23.antinstaller.runtime.exe.AntProjectFilter.exec(Unknown Source) at org.tp23.antinstaller.runtime.ExecInstall.exec(Unknown Source) at org.tp23.antinstaller.selfextract.NonExtractor.main(Unknown Source) Caused by: org.postgresql.util.PSQLException: The connection attempt failed. at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:136) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:65) at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:116) at org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:30) at org.postgresql.jdbc3.Jdbc3Connection.<init>(Jdbc3Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:369) at org.postgresql.Driver.connect(Driver.java:245) at org.apache.tools.ant.taskdefs.JDBCTask.getConnection(JDBCTask.java:304) ... 12 more Caused by: java.net.UnknownHostException: PostgreSQL Database Server 8.2 at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.<init>(Unknown Source) at java.net.Socket.<init>(Unknown Source) at org.postgresql.core.PGStream.<init>(PGStream.java:58) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:77) ... 19 more

    Users with the same issue

    Unknown visitor
    Unknown visitor2 times, last one,
    jstrayerjstrayer
    1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    GatgeagentGatgeagent
    3 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    12 more bugmates