2013/07/01 12:34:22 IST: OS : Windows 7 6.1 x86
2013/07/01 12:34:22 IST: JVM Version : 1.6.0_16
2013/07/01 12:34:22 IST:TESTRUN :: false
2013/07/01 12:34:22 IST:2013-07-01 12:34:22.72 :: Connection Props are :
2013/07/01 12:34:22 IST:DBTYPE :: sqlserver
2013/07/01 12:34:22 IST:HOSTNAME :: nikita-vaio
2013/07/01 12:34:22 IST:USERNAME :: sa
2013/07/01 12:34:22 IST:PORT :: 1433
2013/07/01 12:34:22 IST:DBNAME :: hostel_mgmt
2013/07/01 12:34:22 IST:MDBFILENAME :: null
2013/07/01 12:34:22 IST:SQLITEFILENAME :: null
2013/07/01 12:34:22 IST:FIREBIRDFILENAME :: null
2013/07/01 12:34:22 IST:CONNECTION URL :: jdbc:jtds:sqlserver://nikita-vaio:1433/hostel_mgmt
2013/07/01 12:34:22 IST:TOTAL NUMBER OF QUERIES :: 2
2013/07/01 12:34:22 IST:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2013/07/01 12:34:25 IST:authtoken generated successfully :: d4403e41caf39d2ff92da55e79e2ca94c
2013/07/01 12:34:25 IST:Logging in...
2013/07/01 12:34:25 IST:Logged in successfully...
2013/07/01 12:34:26 IST:Exception occured while establishing connection to the database server
2013/07/01 12:34:26 IST:java.lang.RuntimeException: Exception occured while establishing connection to the database server
at com.adventnet.zoho.client.report.tool.ZohoReportUploadDataFromDB.parseXMLAndImportData(ZohoReportUploadDataFromDB.java:522)
at com.adventnet.zoho.client.report.tool.ZohoReportUploadDataFromDB.main(ZohoReportUploadDataFromDB.java:110)
Caused by: java.sql.SQLException: Network error IOException: Connection refused: connect
at net.sourceforge.jtds.jdbc.ConnectionJDBC2.<init>(ConnectionJDBC2.java:372)
at net.sourceforge.jtds.jdbc.ConnectionJDBC3.<init>(ConnectionJDBC3.java:50)
at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:178)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at com.adventnet.zoho.client.report.tool.ZohoReportUploadDataFromDB.parseXMLAndImportData(ZohoReportUploadDataFromDB.java:499)
... 1 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.sourceforge.jtds.jdbc.SharedSocket.createSocketForJDBC3(SharedSocket.java:289)
at net.sourceforge.jtds.jdbc.SharedSocket.<init>(SharedSocket.java:250)
at net.sourceforge.jtds.jdbc.ConnectionJDBC2.<init>(ConnectionJDBC2.java:297)
... 6 more
2013/07/01 12:34:26 IST:Deleting AuthToken :: d4403e41cf39da2ff92da55e79e2ca94c
PLZ HELP AS SOON AS POSSIBLE