on 11-07-2007 2:14 PM
Hi All,
I am getting following error while connecting to DB2 database.
=============================================
Error during database connection to the database URL 'jdbc:as400://217.28.190.114/GRPDTA' using the JDBC driver 'com.ibm.as400.access.AS400JDBCDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:as400://217.28.190.114/GRPDTA': SQLException: The application requester cannot establish the connection. (Connection timed out: connect)'
==========================================================
I have deployed the jt400.jar file on server.
My setting are :
JDBC Driver: com.ibm.as400.access.AS400JDBCDriver
Connection: jdbc:as400://217.28.190.114/GRPDTA
Any idea what could the reason?
Ranjeet Singh.
Hi,
>>Cannot establish connection to URL 'jdbc:as400://217.28.190.114/GRPDTA': SQLException:
Check whether the DB2 application is up.
>>The application requester cannot establish the connection. (Connection timed out: connect)'
Check the connection parameters mentioned are right.
Regards
Agasthuri Doss
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
Please help with some answer?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
try to connect to AS via ODBC.
Driver: sun.jdbc.odbc.JdbcOdbcDriver
Connection:jdbc:odbc:<AS400 base>
Usr:
pass:
also see this:
http://www.skillbuilders.com/Tutorials-V2/Java_JDBC_Overview/Java_JDBC_Overview.cfm
Hope it help
Rgds
PS:rewards point if useful
User | Count |
---|---|
86 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.