Hi,
When I try to connect to XPS use JDBC, I got the following message:
java.sql.SQLException: com.informix.asf.IfxASFException: Attempt to connect to database server (xx) failed.
at com.informix.jdbc.IfxSqliConnect.<init>(IfxSqliCon nect.java:950)
at java.lang.reflect.Constructor.newInstance(Native Method)
at com.informix.jdbc.IfxDriver.connect(IfxDriver.java :243)
at java.sql.DriverManager.getConnection(DriverManager .java:543)
at java.sql.DriverManager.getConnection(DriverManager .java:216)
at infxjdbc.main(infxjdbc.java:32)
the URL is:
"jdbc:informix-sqli://host

ort:INFORMIXSERVER=myserver;user=user;passwo rd=password"
I got the port number from /etc/services file, and all the other variables are no problem.
I use the same java class to connect to IDS, no problem at all.
I can connect to the XPS server through DBAccess(Local), but can't do it remotely.
Any idea?
Thanks!