hi,
 I am trying to connect to a database  by a servlet.
To do this the servlet passes the query and connection object to a class
which resides on the server as below and then use a public function of the
class
displayfields Dispf = new  displayfields (query,con,tables[i]);
 String  fields = Dispf.toString();

However, I get the following exceptiom


SQL EXCEPTION Attempt to connect to database server
(com.informix.asf.IfxASFException:
[isu_tcp730]Java socket exception encountered:java.net.ConnectException:
Connection refused:
no further information) failed.

Can anybody suggest what is happening.


regards
neeraj

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to