| Lucee 7.0.0.395 Error (java.io.IOException) | |
| Message | com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. |
| AI | For AI-driven exception analysis setup, see AI Setup Guide. |
| Stacktrace | The Error Occurred in /var/www/html/testonly/content/Application.cfm: line 15 13: <cfquery name="getConfig" datasource="pmwsptracker"> |
| Java Stacktrace | lucee.runtime.exp.NativeException: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. at lucee.runtime.db.DatasourceConnectionFactory.create(DatasourceConnectionFactory.java:61) at lucee.runtime.db.DatasourceConnectionFactory.create(DatasourceConnectionFactory.java:21) at org.apache.commons.pool2.BasePooledObjectFactory.makeObject(BasePooledObjectFactory.java:68) at org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:557) at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:299) at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:231) at lucee.runtime.config.DatasourceConnPool.borrowObject(DatasourceConnPool.java:34) at lucee.runtime.db.DatasourceManagerImpl.getConnection(DatasourceManagerImpl.java:85) at lucee.runtime.tag.Query.executeDatasoure(Query.java:1109) at lucee.runtime.tag.Query._doEndTag(Query.java:685) at lucee.runtime.tag.Query.doEndTag(Query.java:551) at testonly.content.application_cfm$cf$1.call(/testonly/content/Application.cfm:15) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1112) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1006) at lucee.runtime.listener.ClassicAppListener._onRequest(ClassicAppListener.java:57) at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:44) at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2795) at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2782) at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2753) at lucee.runtime.engine.Request.exe(Request.java:45) at lucee.runtime.engine.CFMLEngineImpl._service(CFMLEngineImpl.java:1171) at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:1128) at lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:99) at lucee.loader.servlet.jakarta.CFMLServlet.service(CFMLServlet.java:41) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:710) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:128) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:107) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:165) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:77) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:113) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:83) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:72) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:341) at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:424) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:903) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1778) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:946) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:480) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:57) at java.base/java.lang.Thread.run(Unknown Source) Caused by: java.io.IOException: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. ... 44 more Caused by: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:165) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:55) at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:839) at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:415) at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:237) at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:180) at lucee.runtime.db.DataSourceSupport._getConnection(DataSourceSupport.java:150) at lucee.runtime.db.DataSourceSupport.getConnection(DataSourceSupport.java:111) at lucee.runtime.db.DatasourceConnectionFactory.create(DatasourceConnectionFactory.java:58) ... 43 more Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(Unknown Source) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Unknown Source) at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source) at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:52) at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:95) at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:140) at com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:156) at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:79) at com.mysql.cj.NativeSession.connect(NativeSession.java:142) at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:963) at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:827) ... 49 more Caused by: java.net.ConnectException: Connection refused at java.base/sun.nio.ch.Net.connect0(Native Method) at java.base/sun.nio.ch.Net.connect(Unknown Source) at java.base/sun.nio.ch.Net.connect(Unknown Source) at java.base/sun.nio.ch.NioSocketImpl.connect(Unknown Source) at java.base/java.net.SocksSocketImpl.connect(Unknown Source) at java.base/java.net.Socket.connect(Unknown Source) at com.mysql.cj.protocol.StandardSocketFactory.connect(StandardSocketFactory.java:144) at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:53) ... 52 more |
| Timestamp | 3/22/26 11:00:37 PM UTC |