File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Java Products and Servers and the fly likes url recorder Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "url recorder " Watch "url recorder " New topic
Author

url recorder

ajay kumar jha
Greenhorn

Joined: Sep 17, 2011
Posts: 7
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:

** BEGIN NESTED EXCEPTION **

java.net.ConnectException
MESSAGE: Connection refused: connect

STACKTRACE:

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: url recorder
 
Similar Threads
connection of JDBC with oracle 9i database
Want to understand SOAP Exception's meaning?
JDBC Connection problem
Network adapter connection error
MySQL 4.1 [java.net.ConnectException: Connection refused]