Mantis - Resin
Viewing Issue Advanced Details
5990 minor always 03-30-16 12:11 12-06-16 13:42
nam  
alex  
normal  
closed 4.0.40  
fixed  
none    
none 4.0.50  
0005990: IndexOutOfRangeException in Caucho.IIS.LoadBalancer.OpenServer
(rep by S. Szeto)

IIS6
Helicon ISAPI 2.0
Resin 4.0.40 with isap_srun.dll
The issue is Intermittent.
 

1. We’ve 5 servers in a cluster as specified in the attached resin.properties:
app_servers : xxx xxx xxx xxx xxx


2. c:\inetpub\wwwroot\web.conf:
<add key="resin.servers" value="xxx:6802 xxx:6802 xxx:6802 xxx:6802 xxx:6802 " />


Event code: 3005

Event message: An unhandled exception has occurred.

Event time: 3/29/2016 1:20:47 AM

Event time (UTC): 3/29/2016 5:20:47 AM

Event ID: 64abec4cb73a455daf1f530af1f5199e

Event sequence: 2450

Event occurrence: 1

Event detail code: 0

 

Application information:

    Application domain: /LM/W3SVC/1/ROOT-1-131037006746284203

    Trust level: Full

    Application Virtual Path: /

    Application Path: C:\inetpub\wwwroot\

    Machine name: CA02S39

 

Process information:

    Process ID: 3044

    Process name: w3wp.exe

    Account name: NT AUTHORITY\NETWORK SERVICE

 

Exception information:

    Exception type: IndexOutOfRangeException

    Exception message: Index was outside the bounds of the array.

 

Request information:

    Request URL: http://xxx [^]

    Request path: /xxx

    User host address: xxx

    User:

    Is authenticated: False

    Authentication Type:

    Thread account name: NT AUTHORITY\NETWORK SERVICE

 

Thread information:

    Thread ID: 8

    Thread account name: NT AUTHORITY\NETWORK SERVICE

    Is impersonating: False

    Stack trace: at Caucho.IIS.LoadBalancer.OpenServer(String sessionId, Server xServer)

   at Caucho.IIS.ResinHandler.DoHmux(HttpContext context)

   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
       <defaultDocument>
            <files>
                <remove value="iisstart.htm" />
            </files>
        </defaultDocument>
  <handlers>
            <remove name="Helicon Proxy_x64" />
            <remove name="Helicon Proxy_32" />
            <remove name="ResinHandlerFactory" />
            <add name="Helicon Proxy_32" path="*.rwhlp" verb="*" modules="IsapiModule" scriptProcessor="C:\Program Files\Helicon\ISAPI_Rewrite3\ISAPI_RewriteProxy.dll" resourceType="Unspecified" requireAccess="Script" preCondition="bitness32" />
            <add name="Helicon Proxy_x64" path="*.rwhlp" verb="*" modules="IsapiModule" scriptProcessor="C:\Program Files\Helicon\ISAPI_Rewrite3\ISAPI_RewriteProxy_x64.dll" resourceType="Unspecified" requireAccess="Script" preCondition="bitness64" />
            <add name="ResinHandlerFactory" path="/edealinv" verb="*" type="Caucho.IIS.ResinHandler" resourceType="Unspecified" requireAccess="Script" preCondition="integratedMode" />
        </handlers>
        <httpProtocol>
            <customHeaders>
                <add name="ETag" value=" " />
            </customHeaders>
        </httpProtocol>
        <staticContent>
            <clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="1.00:00:00" />
        </staticContent>
        </system.webServer>

<appSettings>
    <add key="resin.servers" value="xxx:6802 xxx:6802 xxx:6802 xxx:6802 xxx:6802 " /> <!-- Address and port to Resin server(s)-->
    <!-- logging level used by Resin IIS Handler. Use 'None' for silent operation-->
    <add key="resin.log-level" value="Error" />
  </appSettings>
</configuration>

Notes
(0006683)
alex   
03-30-16 16:04   
fix possible partial object construct issue.
(0006684)
nam   
04-01-16 10:10   
Exception is still there.