Subject:connection problem with AS 400 database Author:robin thomas Date:15 May 2009 12:19 AM
Recently We changed the IP Address of our server where our application was present. We could not open the website thereafter hence reinstalled IIS and JRUN thereafter., Now I am getting following error for my application when it tries to connrct to AS400 database
java.sql.SQLException: The application requester cannot establish the connection.
at com.ibm.as400.access.JDError.throwSQLException(JDError.java:324)
at com.ibm.as400.access.AS400JDBCConnection.open(AS400JDBCConnection.java:1074)
at com.ibm.as400.access.AS400JDBCConnection.<init>(AS400JDBCConnection.java:248)
at com.ibm.as400.access.AS400JDBCDriver.connect(AS400JDBCDriver.java:221)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at com.cognizant.wms.timesheet.DbConnectBean.<init>(DbConnectBean.java:55)
at com.cognizant.wms.timesheet.LoginBean.<init>(LoginBean.java:49)
at com.cognizant.wms.timesheet.LoginServlet.doGet(LoginServlet.java:41)
at com.cognizant.wms.timesheet.LoginServlet.doPost(LoginServlet.java:199)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
at com.livesoftware.jrun.JRun.runServlet(JRun.java:321)
at com.livesoftware.jrun.JRunGeneric.handleConnection(JRunGeneric.java:116)
at com.livesoftware.jrun.JRunGeneric.handleProxyConnection(JRunGeneric.java:78)
at com.livesoftware.jrun.service.proxy.JRunProxyServiceHandler.handleRequest(JRunProxyServiceHandler.java:102)
at com.livesoftware.jrun.service.ThreadConfigHandler.run(ThreadConfigHandler.java:96)
Subject:connection problem with AS 400 database Author:robin thomas Date:16 May 2009 11:38 AM
no this is not related with stylus in any case.., just a generic query that we have .., Currently our J2EE web application is on Win 2000 server with JRUN as intermediary interface . The backend is DB2 on an AS400 server.., Now when we connect to the web site then it has a problem with connection to the Databse or perhaps there is some problem wit JRUn., that's how we are getting the above error..