• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DB2 connection error

 
Amitosh Mishra
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all ,
I'm getting following error while connecting to DB2 Data Base .please provide necessary help,



Exception

com.ibm.db2.jcc.b.SqlException: Unexpected throwable caught java.lang.StringIndexOutOfBoundsException
at com.ibm.db2.jcc.uw.UWConnection.a(UWConnection.java:416)
at com.ibm.db2.jcc.uw.UWConnection.<init>(UWConnection.java:236)
at com.ibm.db2.jcc.DB2Driver.connect(DB2Driver.java:233)
at java.sql.DriverManager.getConnection(DriverManager.java:562)
at java.sql.DriverManager.getConnection(DriverManager.java:186)
at com.metlife.us.ins.product.pup.communication.PUPComSvc.main(PUPComSvc.java:457)
 
Amitosh Mishra
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
issue is resolved..
i modified the code with
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic