Hi ,
Thanks for the reply Grofaty,
My error scenario is as follows,
My application connects to DB2 using JDBC, and the connection parameters are obtained from the user. My Client has DB2 Server running on port number 70000,
On trying to connect to DB2 with the parameters following errors are thrown,
Code:
JDBC URL: jdbc:db2://test-server :70000/test_db
Source driver data: DriverName: DB2 - Universal JDBC Driver - Type 4 DriverClasses: [com.ibm.db2.jcc.DB2Driver] URLs: [jdbc:db2://test_server :70000/test_db] CLASSPATH: [C:\jdbc\db2jcc.jar, C:\jdbc\db2-license-cu.jar, C:\Program Files\IBM\SQLLIB\java\db2jcc.jar] Users: [testdemo]
Exception while connecting to source database: java.lang.IllegalArgumentException: port out of range:70000
Could you help me to identify the mistake i am doing here..
Sn