Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
4304 | minor | always | 11-22-10 17:31 | 01-10-11 11:33 | |
|
|||||
Reporter: | reza | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 4.0.14 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 4.0.15 | ||
|
|||||
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. |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|