• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

url recorder

Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i am working on url recorder program, when i am running that program it shows some exception in the end. i have tried but not getting any idea how to remove it.
exceptions it is showing ,
com.cdac.qaf.service.QAFEnvironmentException: Communications link failure due to underlying exception:


MESSAGE: Connection refused: connect


java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at java.net.Socket.<init>(Socket.java:366)
at java.net.Socket.<init>(Socket.java:208)
at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:256)
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:271)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:2771)
at com.mysql.jdbc.Connection.<init>(Connection.java:1555)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:285)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:185)
at com.cdac.qaf.db.QAFDatabase.getConnection(QAFDatabase.java:119)
at com.cdac.qaf.db.DBOperations.<clinit>(DBOperations.java:35)
at com.cdac.qaf.util.snif.TCPAgent.urlExist(TCPAgent.java:409)
at com.cdac.qaf.util.snif.TCPAgent.setRequest(TCPAgent.java:375)
at com.cdac.qaf.util.snif.TCPAgent.log(TCPAgent.java:353)
at com.cdac.qaf.util.snif.TCPAgent.run(TCPAgent.java:129)
at java.lang.Thread.run(Thread.java:619)

i am connecting using localhost & port 7171 and pass proxy address as arguments for remote address & port 8080.
    Bookmark Topic Watch Topic
  • New Topic