有关于DB2数据库连接的问题!
2015-11-20 10:17
225 查看
在单点登录的时候报这个错误,请各位大神们,提供解决思路!
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.jdbc.UncategorizedSQLException:
### Error querying database. Cause: com.ibm.db2.jcc.b.DisconnectException: A communication error has been detected. Communication protocol being used: T4Agent.sendRequest(). Communication API being used: OutputStream.flush(). Location where the error was detected: Connection timed out. Communication function detecting the error: *. Protocol specific error codes(s) TCP/IP SOCKETS
### The error may exist in mapper/UserMapper.xml
### The error may involve com.springmvc.beans.User.getByWhere-Inline
### The error occurred while setting parameters
### SQL: select * from USER_UNIT_MAP where USERID='lingyuwang'
### Cause: com.ibm.db2.jcc.b.DisconnectException: A communication error has been detected. Communication protocol being used: T4Agent.sendRequest(). Communication API being used: OutputStream.flush(). Location where the error was detected: Connection timed out. Communication function detecting the error: *. Protocol specific error codes(s) TCP/IP SOCKETS
; uncategorized SQLException for SQL []; SQL state [null]; error code [-4499]; A communication error has been detected. Communication protocol being used: T4Agent.sendRequest(). Communication API being used: OutputStream.flush(). Location where the error was detected: Connection timed out. Communication function detecting the error: *. Protocol specific error codes(s) TCP/IP SOCKETS ; nested exception is com.ibm.db2.jcc.b.DisconnectException: A communication error has been detected. Communication protocol being used: T4Agent.sendRequest(). Communication API being used: OutputStream.flush(). Location where the error was detected: Connection timed out. Communication function detecting the error: *. Protocol specific error codes(s) TCP/IP SOCKETS
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:948)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:827)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)
javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129)
com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77)
com.springmvc.security.LoginFilter.doFilter(LoginFilter.java:36)
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.jdbc.UncategorizedSQLException:
### Error querying database. Cause: com.ibm.db2.jcc.b.DisconnectException: A communication error has been detected. Communication protocol being used: T4Agent.sendRequest(). Communication API being used: OutputStream.flush(). Location where the error was detected: Connection timed out. Communication function detecting the error: *. Protocol specific error codes(s) TCP/IP SOCKETS
### The error may exist in mapper/UserMapper.xml
### The error may involve com.springmvc.beans.User.getByWhere-Inline
### The error occurred while setting parameters
### SQL: select * from USER_UNIT_MAP where USERID='lingyuwang'
### Cause: com.ibm.db2.jcc.b.DisconnectException: A communication error has been detected. Communication protocol being used: T4Agent.sendRequest(). Communication API being used: OutputStream.flush(). Location where the error was detected: Connection timed out. Communication function detecting the error: *. Protocol specific error codes(s) TCP/IP SOCKETS
; uncategorized SQLException for SQL []; SQL state [null]; error code [-4499]; A communication error has been detected. Communication protocol being used: T4Agent.sendRequest(). Communication API being used: OutputStream.flush(). Location where the error was detected: Connection timed out. Communication function detecting the error: *. Protocol specific error codes(s) TCP/IP SOCKETS ; nested exception is com.ibm.db2.jcc.b.DisconnectException: A communication error has been detected. Communication protocol being used: T4Agent.sendRequest(). Communication API being used: OutputStream.flush(). Location where the error was detected: Connection timed out. Communication function detecting the error: *. Protocol specific error codes(s) TCP/IP SOCKETS
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:948)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:827)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)
javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129)
com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77)
com.springmvc.security.LoginFilter.doFilter(LoginFilter.java:36)
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
相关文章推荐
- 关于mysql的远程连接问题
- 关于oracle 内、外连接的若干问题
- 关于win本地远程连接不到redis问题
- 我是小白,关于oracle xe连接sql developer的失败问题
- 关于java连接redis数据库报: Connection refused: connect 的问题
- 关于SQL Server CE连接问题
- 关于XMPP协议android客户端和openfire的连接问题
- 关于sql2005 与 myeclipse进行连接出现的小问题
- 关于本地连接远程github仓库的若干问题
- 关于flume和kafka连接的问题
- 关于连接SQLSERVER2005数据出现Net Authenticated权限问题
- 关于c#连接Oracle数据库出现的无法解析连接字符串问题
- 关于indy连接ftp的问题
- 关于PHP中Socket连接及读写数据超时的问题
- JZ2440关于tftp的连接问题?
- 关于C++模版的连接错误问题
- 关于JAVA连接SQL2005的一则小问题的解决过程
- 关于连接查询 如何删除问题总结
- 关于MEP中风管末端连接到风管的连接方式的问题
- 关于Putty连接Linux出现Network error:Connection reset by peer LINUX问题解决