I am using jsp to connect DB2 Universal database for iseries, but my application is hanging while trying to connect to the 400. No exception is returned - it just sits there. I have no real knowledge of the 400 side of things so I don't know how to log user activity to see what is going wrong or anything.
I have checked with debugging on the line connection1 = d.connect(o,p,"xxxxx"); it gets hanged. please help me out of this problem.
Connection connection1 = null;
AS400JDBCDriver d = new AS400JDBCDriver();
Properties p = new Properties();
AS400 o = new AS400("HOSTSEVRENAME");
connection1 = d.connect(o,p,"LIB");
//on this line the application gets hang
response.sendRedirect(response.encodeRedirectURL("login.jsp?action=efailed_" + e.getMessage()));
response.sendRedirect(response.encodeRedirectURL("login.jsp?action=srfailed_" + sr.getMessage()));