Boncode error "Error during log write : Thread was being aborted"

107 views
Skip to first unread message

ecellini

unread,
Nov 17, 2016, 6:11:26 AM11/17/16
to Lucee
Hello,
i have Lucee 4.5.4.017 installed on Windows 2012 with IIS 8 using connector Boncode 1.0.31.

Sometimes the site does not response the request times out.

On Event Viewer > Windows Logs > Application i see many of this errors:
"Error during log write : Thread was being aborted"

On Boncode log i don't see error.

This is the BonCodeAJP13.settings:

<Settings>
<Server>localhost</Server>
<Port>8010</Port>
<MaxConnections>1000</MaxConnections>
<EnableRemoteAdmin>False</EnableRemoteAdmin>
<EnableHeaderDataSupport>True</EnableHeaderDataSupport>
<ForceSecureSession>False</ForceSecureSession>
<AllowEmptyHeaders>True</AllowEmptyHeaders>
<FlushThresholdTicks>50000</FlushThresholdTicks>
<LogLevel>3</LogLevel>
<LogDir>D:\vhosts\siteName\logConnector</LogDir>
<PacketSize>65536</PacketSize>
</Settings>

On C:\lucee\tomcat\conf\server.xml there is:
 <Connector port="8010" protocol="AJP/1.3" redirectPort="8443" maxThreads="1000" packetSize="65536" />

<Host name="siteName" appBase="webapps">
    <Context path="" docBase="D:\vhosts\
siteName\httpdocs" />
</Host>

Can you help me to resolve this issue?

Best Regards,
Emanuele

Julian Halliwell

unread,
Nov 17, 2016, 6:24:20 AM11/17/16
to lu...@googlegroups.com
Hi Emanuele

Unless you need to log requests for some reason, I would turn it off by setting

<LogLevel>0</LogLevel>

Or just removing that setting, as 0 is the default.

Julian.

ecellini

unread,
Nov 17, 2016, 6:51:08 AM11/17/16
to Lucee
Hi Julian,
I enable log request for debug the timeout request.

Now i disabled the log but I think this don't resolve request timeout response.

Thank you

ecellini

unread,
Nov 17, 2016, 9:07:28 AM11/17/16
to Lucee
Hello,
at this time on Window Logs there are this errors:

------------- error 1 -----------
Source: BonCodeConnector
Event Id: 417
Error: Connection error 2: Connection between Tomcat and IIS experienced error. If you restarted Tomcat this is expected.     at BonCodeAJP13.BonCodeAJP13ServerConnection.ConnectionError()
   at BonCodeAJP13.BonCodeAJP13ServerConnection.p_CreateConnection(BonCodeAJP13PacketCollection packetsToSend)
   at BonCodeIIS.BonCodeCallHandler.ProcessRequest(HttpContext context)

------------- error 2 -----------
Event code: 3001
Event message: The request has been aborted.
Event time: 17/11/2016 13:01:55
Event time (UTC): 17/11/2016 12:01:55
Event ID: 167461c0a5c6415085e5ef476a514af0
Event sequence: 139
Event occurrence: 1
Event detail code: 0
 
Application information:
    Application domain: /LM/W3SVC/26/ROOT-1-131238572306591563
    Trust level: Full
    Application Virtual Path: /
    Application Path: d:\vhosts\siteName\httpdocs\
 
Process information:
    Process ID: 11136
    Process name: w3wp.exe
    Account name: IIS APPPOOL\lucee
 
Exception information:
    Exception type: HttpException
    Exception message: Request timed out.

 
 
Request information:
    Request URL: URIsite
    Request path: URIsite
    User host address:
    User: 
    Is authenticated: False
    Authentication Type: 
    Thread account name: IIS APPPOOL\lucee
 
Thread information:
    Thread ID: 12
    Thread account name: IIS APPPOOL\lucee
    Is impersonating: False
    Stack trace:

Can you help me to resolve this issues?

Thank you.

Emanuele

Bilal

unread,
Nov 18, 2016, 12:41:08 PM11/18/16
to Lucee
Emanuele:
this currently indicates a timeout error. Are you certain that the process has completed on Tomcat?
You can extend the timeout for IIS by changing web.config:
<system.web>
    <httpRuntime executionTimeout="180" />
</system.web>


Best,
Bilal 
Reply all
Reply to author
Forward
0 new messages