File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes java.sql.SQLException: The application server rejected the connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "java.sql.SQLException: The application server rejected the connection" Watch "java.sql.SQLException: The application server rejected the connection" New topic
Author

java.sql.SQLException: The application server rejected the connection

info babu
Ranch Hand

Joined: Nov 08, 2001
Posts: 30
HI
I am getting this error , any help would be appriciated . i am using websphere 3.02.3 and as400
THis is the error iam getting
java.sql.SQLException: The application server rejected the connection.
java/lang/Throwable.<init>(Ljava/lang/String;)V+4 (Throwable.java:81)
java/sql/SQLException.<init>(Ljava/lang/String;Ljava/lang/String;I)V+1 (SQLException.java:43)
com/ibm/as400/access/JDError.throwSQLException(Ljava/lang/String;Ljava/lang/Exception;)V+0 (JDError.java:318)
com/ibm/as400/access/AS400JDBCConnection.setProperties(Lcom/ibm/as400/access/JDDataSourceURL;Lcom/ibm/as400/access/JDProperties;Lcom/ibm/as400/access/AS400;)V+0 (AS400JDBCConnection.java:1491)
com/ibm/as400/access/AS400JDBCDriver.initializeConnection(Lcom/ibm/as400/access/JDDataSourceURL;Lcom/ibm/as400/access/JDProperties;Ljava/util/Properties;)Ljava/sql/Connection;+0 (AS400JDBCDriver.java:364)
com/ibm/as400/access/AS400JDBCDriver.connect(Ljava/lang/String;Ljava/util/Properties;)Ljava/sql/Connection;+0 (AS400JDBCDriver.java:227)
com/countrywide/lasd/dms/common/DatabaseQuery.ConnectDatabase(Ljava/util/Properties;Z)V+0 (DatabaseQuery.java:0)
com/countrywide/lasd/dms/vault/VaultControlBean.specifyUser(Ljava/lang/String;Ljava/lang/String;)Z+0 (VaultControlBean.java:0)
violin/d_00025c_0005fvault_00033/production/lib/htdocs/_production_2F_lib_2F_htdocs_2F_VaultMain_jsp_1._jspService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpSe rvletResponse;)V+0 (_production_2F_lib_2F_htdocs_2F_VaultMain_jsp_1.java:52)
com/sun/jsp/runtime/HttpJspBase.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+92 (HttpJspBase.java:144)
javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+25 (HttpServlet.java:639)
com/sun/jsp/runtime/JspServlet$JspServletWrapper.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+22 (JspServlet.java:115)
com/sun/jsp/runtime/JspServlet.serviceJspFile(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljava/lang/String;Ljava/lang/Throwable;)V+152 (JspServlet.java:461)
com/sun/jsp/runtime/JspServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+111 (JspServlet.java:571)
javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+25 (HttpServlet.java:639)
com/ibm/servlet/engine/webapp/StrictServletInstance.doService(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+21 (ServletManager.java:599)
com/ibm/servlet/engine/webapp/StrictLifecycleServlet._service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+46 (StrictLifecycleServlet.java:160)
com/ibm/servlet/engine/webapp/ServletInstance.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lcom/ibm/servlet/engine/webapp/WebAppServletInvocationEvent;)V+18 6 (ServletManager.java:351)
com/ibm/servlet/engine/webapp/WebAppRequestDispatcher.handleWebAppDispatch(Lcom/ibm/servlet/engine/webapp/WebAppRequest;Lcom/ibm/servlet/engine/webapp/WebAppResponse;Z)V+648 (WebApp.java:1249)
com/ibm/servlet/engine/webapp/WebAppRequestDispatcher.dispatch(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Z)V+111 (WebApp.java:1099)
com/ibm/servlet/engine/webapp/WebAppRequestDispatcher.forward(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+116 (WebApp.java:1049)
com/ibm/servlet/engine/srt/WebAppInvoker.handleInvocationHook(Ljava/lang/Object;)V+127 (WebGroup.java:707)
com/ibm/servlet/engine/invocation/CachedInvocation.handleInvocation(Ljava/lang/Object;)V+25 (CachedInvocation.java:67)
com/ibm/servlet/engine/invocation/CacheableInvocationContext.invoke(Ljava/lang/Object;)V+87 (CacheableInvocationContext.java:106)
com/ibm/servlet/engine/srp/ServletRequestProcessor.dispatchByURI(Ljava/lang/String;Lcom/ibm/servlet/engine/srp/ISRPConnection;)V+867 (ServletRequestProcessor.java:160)
com/ibm/servlet/engine/oselistener/OSEListenerDispatcher.service(Lcom/ibm/servlet/engine/oselistener/api/IOSEConnection;)V+95 (OSEListener.java:300)
com/ibm/servlet/engine/oselistener/SQEventListenerImp$ServiceRunnable.run()V+155 (SQEventListenerImp.java:230)
com/ibm/servlet/engine/oselistener/SQEventListenerImp.notifySQEvent(Lcom/ibm/servlet/engine/oselistener/api/ISQEvent;)V+184 (SQEventListenerImp.java:104)
com/ibm/servlet/engine/oselistener/serverqueue/SQEventSource.notifyEvent(Lcom/ibm/servlet/engine/oselistener/api/SQEventImp;)V+40 (SQEventSource.java:212)
com/ibm/servlet/engine/oselistener/serverqueue/SQWrapperEventSource$SelectRunnable.notifyService()V+116 (SQWrapperEventSource.java:353)
com/ibm/servlet/engine/oselistener/serverqueue/SQWrapperEventSource$SelectRunnable.run()V+124 (SQWrapperEventSource.java:220)
com/ibm/servlet/engine/oselistener/outofproc/OutOfProcThread$CtlRunnable.run()V+104 (OutOfProcThread.java:248)
java/lang/Thread.run()V+11 (Thread.java:466)
Med Shabe
Ranch Hand

Joined: May 08, 2001
Posts: 84
Not sure if you still have teh database connection problem but here's a tool where you can check your connection:
http://www-4.ibm.com/software/webservers/appserv/doc/v35/ae/infocenter/was/jsread2.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.sql.SQLException: The application server rejected the connection