Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004304 [Resin] minor always 11-22-10 17:31 01-10-11 11:33
Reporter reza View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 4.0.14
Summary 0004304: <resin:LoadBalance> in <web-app> does not Forward Web Application Context
Description <resin:LoadBalance> at the <web-app> level does not forward the web application context to the cluster. As a result, all forwarded requests get resolved to the root web application.

The following configuration demonstrates the problem. Both /test1 and /test2 resolve to the web application in /.

================================================================================
<resin xmlns="http://caucho.com/ns/resin" [^]
       xmlns:resin="urn:java:com.caucho.resin">
  <log-handler name="" level="all" path="stdout:"
               timestamp="[%y-%m-%d %H:%M:%S.%s] {%{thread}} "/>

  <logger name="com.caucho" level="info"/>
  <logger name="com.caucho.java" level="config"/>
  <logger name="com.caucho.loader" level="config"/>

  <class-loader>
    <tree-loader path="${resin.root}/ext-lib"/>
  </class-loader>
  
  <dependency-check-interval>2s</dependency-check-interval>

  <system-property mail.smtp.host="127.0.0.1"/>
  <system-property mail.smtp.port="25"/>

  <cluster-default>
    <resin:import path="${__DIR__}/app-default.xml"/>

    <host-default>
      <access-log path="log/access.log"
                format='%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"'
                rollover-period="1W"/>
      <web-app-deploy path="webapps" versioning="true"/>
    </host-default>
  </cluster-default>

  <cluster id="app-tier">
    <root-directory>.</root-directory>

    <server id="app-server" address="localhost" port="6800"/>
        
    <host id="" root-directory="c:/temp/qa">
      <web-app id="/" document-directory="ROOT"/>
      <web-app id="/test1" document-directory="test1"/>
      <web-app id="/test2" document-directory="test2"/>
    </host>
  </cluster>
  
  <cluster id="web-tier">
    <server id="web-server" address="localhost" port="6802">
      <http port="80"/>
    </server>
    
    <host id="">
      <web-app id="/">
        <resin:LoadBalance cluster="app-tier"/>
      </web-app>
      <web-app id="/test1">
        <resin:LoadBalance cluster="app-tier"/>
      </web-app>
      <web-app id="/test2">
        <resin:LoadBalance cluster="app-tier"/>
      </web-app>
    </host>
  </cluster>
</resin>
================================================================================

This issue was reported by KennethYeung@infoimageinc.com.
Additional Information
Attached Files

- Relationships

- Notes
(0004895)
ferg
01-10-11 11:33

server/1kw2
 

- Issue History
Date Modified Username Field Change
11-22-10 17:31 reza New Issue
01-10-11 11:33 ferg Note Added: 0004895
01-10-11 11:33 ferg Assigned To  => ferg
01-10-11 11:33 ferg Status new => closed
01-10-11 11:33 ferg Resolution open => fixed
01-10-11 11:33 ferg Fixed in Version  => 4.0.15


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker