Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via mirthcorp.com by Unknown author, 1 year ago
and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem. ### The error may exist in
via mirthcorp.com by Unknown author, 2 years ago
javax.servlet.ServletException: com.mirth.connect.server.controllers.ControllerExc eption: com.mirth.commons.encryption.EncryptionException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: SHA-256, provider: BC
com.mirth.connect.server.servlets.UserServlet: javax.servlet.ServletException: com.mirth.connect.server.controllers.ControllerExc  eption: com.mirth.connect.server.controllers.ControllerExc  eption: org.apache.ibatis.exceptions.PersistenceException:

### Error querying database.  Cause: org.apache.ibatis.transaction.TransactionException  : Error configuring AutoCommit.  Your driver may not support getAutoCommit() or setAutoCommit(). Requested setting: false.  Cause: com.mysql.jdbc.exceptions.jdbc4.CommunicationsExce  ption: The last packet successfully received from the server was 68,183,445 milliseconds ago.  The last packet sent successfully to the server was 68,183,445 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem.

### The error may exist in mysql/mysql-user.xml

### The error may involve User.getUser

### The error occurred while executing a query

### Cause: org.apache.ibatis.transaction.TransactionException  : Error configuring AutoCommit.  Your driver may not support getAutoCommit() or setAutoCommit(). Requested setting: false.  Cause: com.mysql.jdbc.exceptions.jdbc4.CommunicationsExce  ption: The last packet successfully received from the server was 68,183,445 milliseconds ago.  The last packet sent successfully to the server was 68,183,445 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem.

        at com.mirth.connect.server.servlets.UserServlet.logi  n(UserServlet.java:229)

        at com.mirth.connect.server.servlets.UserServlet.doPo  st(UserServlet.java:64)

        at javax.servlet.http.HttpServlet.service(HttpServlet  .java:727)

        at javax.servlet.http.HttpServlet.service(HttpServlet  .java:820)

        at org.eclipse.jetty.servlet.ServletHolder.handle(Ser  vletHolder.java:652)

        at org.eclipse.jetty.servlet.ServletHandler.doHandle(  ServletHandler.java:447)

        at org.eclipse.jetty.server.session.SessionHandler.do  Handle(SessionHandler.java:225)

        at org.eclipse.jetty.server.handler.ContextHandler.do  Handle(ContextHandler.java:1038)

        at org.eclipse.jetty.servlet.ServletHandler.doScope(S  ervletHandler.java:374)

        at org.eclipse.jetty.server.session.SessionHandler.do  Scope(SessionHandler.java:189)

        at org.eclipse.jetty.server.handler.ContextHandler.do  Scope(ContextHandler.java:972)

        at org.eclipse.jetty.server.handler.ScopedHandler.han  dle(ScopedHandler.java:135)

        at org.eclipse.jetty.server.handler.HandlerList.handl  e(HandlerList.java:52)

        at org.eclipse.jetty.server.handler.HandlerWrapper.ha  ndle(HandlerWrapper.java:116)

        at org.eclipse.jetty.server.Server.handle(Server.java  :363)

        at org.eclipse.jetty.server.AbstractHttpConnection.ha  ndleRequest(AbstractHttpConnection.java:483)

        at org.eclipse.jetty.server.AbstractHttpConnection.co  ntent(AbstractHttpConnection.java:931)

        at org.eclipse.jetty.server.AbstractHttpConnection$Re  questHandler.content(AbstractHttpConnection.java:9  92)

        at org.eclipse.jetty.http.HttpParser.parseNext(HttpPa  rser.java:856)

        at org.eclipse.jetty.http.HttpParser.parseAvailable(H  ttpParser.java:240)

        at org.eclipse.jetty.server.AsyncHttpConnection.handl  e(AsyncHttpConnection.java:82)

        at org.eclipse.jetty.io.nio.SslConnection.handle(SslC  onnection.java:196)

        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.han  dle(SelectChannelEndPoint.java:627)

        at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.r  un(SelectChannelEndPoint.java:51)

        at org.eclipse.jetty.util.thread.QueuedThreadPool.run  Job(QueuedThreadPool.java:608)

        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.r  un(QueuedThreadPool.java:543)
	at java.lang.Thread.run(Thread.java:744)