Lucee 5.1.0.34 Error (database)
Message
Detail Connection reset by peer: socket write error
SQL SELECT cc.category_id, cc.category_name
FROM cw_product_categories_primary rr, cw_categories_primary cc
WHERE rr.product2category_product_id = 18204
AND cc.category_id = rr.product2category_category_id
ORDER BY cc.category_id
Stacktrace The Error Occurred in
D:\RootWebsites\www.NormansLiquors.com\cw4\cwapp\inc\cw-inc-productrequest.cfm: line 48
46: AND cc.category_id = rr.product2category_category_id
47: ORDER BY cc.category_id
48: </cfquery>
49: <cfset url.category = rsRelCategories.category_id>
50: </cfif>

called from D:\RootWebsites\www.NormansLiquors.com\cw4\cwapp\appcfc\cw-app-onrequeststart.cfm: line 42
called from D:\RootWebsites\www.NormansLiquors.com\Application.cfc: line 41
Java Stacktrace lucee.runtime.exp.DatabaseException:
  at com.microsoft.sqlserver.jdbc.SQLServerConnection.terminate(SQLServerConnection.java:1667)
  at com.microsoft.sqlserver.jdbc.SQLServerConnection.terminate(SQLServerConnection.java:1654)
  at com.microsoft.sqlserver.jdbc.TDSChannel.write(IOBuffer.java:1805)
  at com.microsoft.sqlserver.jdbc.TDSWriter.flush(IOBuffer.java:3581)
  at com.microsoft.sqlserver.jdbc.TDSWriter.writePacket(IOBuffer.java:3482)
  at com.microsoft.sqlserver.jdbc.TDSWriter.endMessage(IOBuffer.java:3062)
  at com.microsoft.sqlserver.jdbc.TDSCommand.startResponse(IOBuffer.java:6120)
  at com.microsoft.sqlserver.jdbc.TDSCommand.startResponse(IOBuffer.java:6106)
  at com.microsoft.sqlserver.jdbc.SQLServerConnection$1ConnectionCommand.doExecute(SQLServerConnection.java:1756)
  at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:5696)
  at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:1715)
  at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectionCommand(SQLServerConnection.java:1761)
  at com.microsoft.sqlserver.jdbc.SQLServerConnection.setMaxRows(SQLServerConnection.java:203)
  at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(SQLServerPreparedStatement.java:377)
  at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PrepStmtExecCmd.doExecute(SQLServerPreparedStatement.java:350)
  at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:5696)
  at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:1715)
  at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStatement.java:180)
  at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(SQLServerStatement.java:155)
  at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.execute(SQLServerPreparedStatement.java:332)
  at lucee.runtime.type.util.QueryUtil.execute(QueryUtil.java:308)
  at lucee.runtime.type.QueryImpl.execute(QueryImpl.java:272)
  at lucee.runtime.type.QueryImpl.(QueryImpl.java:218)
  at lucee.runtime.tag.Query.executeDatasoure(Query.java:834)
  at lucee.runtime.tag.Query.doEndTag(Query.java:594)
  at cw4.cwapp.inc.cw_inc_productrequest_cfm450$cf.call(/cw4/cwapp/inc/cw-inc-productrequest.cfm:48)
  at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:918)
  at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:833)
  at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:828)
  at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:819)
  at cw4.cwapp.appcfc.cw_app_onrequeststart_cfm450$cf.call(/cw4/cwapp/appcfc/cw-app-onrequeststart.cfm:42)
  at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:918)
  at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:833)
  at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:828)
  at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:819)
  at application_cfc$cf.udfCall(/Application.cfc:41)
  at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:105)
  at lucee.runtime.type.UDFImpl._call(UDFImpl.java:337)
  at lucee.runtime.type.UDFImpl.call(UDFImpl.java:224)
  at lucee.runtime.ComponentImpl._call(ComponentImpl.java:692)
  at lucee.runtime.ComponentImpl._call(ComponentImpl.java:575)
  at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1898)
  at lucee.runtime.listener.ModernAppListener.call(ModernAppListener.java:422)
  at lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:134)
  at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:43)
  at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2293)
  at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2284)
  at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2252)
  at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:891)
  at lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:102)
  at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:62)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
  at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108)
  at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)
  at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:476)
  at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
  at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:802)
  at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1410)
  at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
  at java.lang.Thread.run(Thread.java:745)
 
Timestamp 11/19/17 4:56:13 PM EST