Advertisement
Fhernd

MySQLNonTransientConnectionException: Bad handshake

Aug 6th, 2012
282
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 3.99 KB | None | 0 0
  1. HTTP Status 500 -
  2.  
  3. type Exception report
  4.  
  5. message
  6.  
  7. description The server encountered an internal error () that prevented it from fulfilling this request.
  8.  
  9. exception
  10.  
  11. org.apache.jasper.JasperException: javax.servlet.ServletException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Bad handshake
  12.     org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:534)
  13.     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:442)
  14.     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:391)
  15.     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
  16.     javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
  17. root cause
  18.  
  19. javax.servlet.ServletException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Bad handshake
  20.     org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:911)
  21.     org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:840)
  22.     org.apache.jsp.UploadCuponPago_jsp._jspService(UploadCuponPago_jsp.java:149)
  23.     org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
  24.     javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
  25.     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:419)
  26.     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:391)
  27.     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
  28.     javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
  29. root cause
  30.  
  31. com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Bad handshake
  32.     sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  33.     sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
  34.     sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  35.     java.lang.reflect.Constructor.newInstance(Constructor.java:513)
  36.     com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
  37.     com.mysql.jdbc.Util.getInstance(Util.java:386)
  38.     com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1014)
  39.     com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4074)
  40.     com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4006)
  41.     com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:919)
  42.     com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1694)
  43.     com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1244)
  44.     com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2397)
  45.     com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2430)
  46.     com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2215)
  47.     com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:813)
  48.     com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
  49.     sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
  50.     sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  51.     java.lang.reflect.Constructor.newInstance(Constructor.java:513)
  52.     com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
  53.     com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:399)
  54.     com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:334)
  55.     java.sql.DriverManager.getConnection(DriverManager.java:582)
  56.     java.sql.DriverManager.getConnection(DriverManager.java:185)
  57.     upload.ParseCupones.saveOnDB(ParseCupones.java:85)
  58.     upload.ParseCupones.startParse(ParseCupones.java:77)
  59.     org.apache.jsp.UploadCuponPago_jsp._jspService(UploadCuponPago_jsp.java:130)
  60.     org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
  61.     javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
  62.     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:419)
  63.     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:391)
  64.     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
  65.     javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
  66. note The full stack trace of the root cause is available in the Apache Tomcat/7.0.12 logs.
  67.  
  68. Apache Tomcat/7.0.12
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement