Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006095 [Resin] minor always 09-20-17 09:00 10-26-17 16:09
Reporter wileysaw View Status public  
Assigned To ferg
Priority normal Resolution not fixable  
Status closed   Product Version 4.0.53
Summary 0006095: webapps/ROOT special use case for web-app id="/"
Description Configuring both a

<web-app id="/ROOT" document-directory="webapps/ROOT”/>

&

<web-app id="/" document-directory="webapps/foo" />

can result in a double start of application at the same directory:


[17-09-07 12:18:44.635] [resin-16] INFO WebApp - WebApp[production/webapp/default/ROOT,STARTING] Initializing Spring FrameworkServlet 'Spring MVC Dispatcher Servlet'
[17-09-07 12:18:46.551] [resin-16] INFO Version - HV000001: Hibernate Validator 4.3.0.Final
[17-09-07 12:18:47.096] [resin-16] INFO WebApp - WebApp[production/webapp/default/ROOT] active

And then second set of same start up routine is triggered and says foo web app is active

[17-09-07 12:18:57.995] [resin-24] INFO WebApp - WebApp[production/webapp/default/foo,STARTING] Initializing Spring FrameworkServlet 'Spring MVC Dispatcher Servlet’
[17-09-07 12:19:00.488] [resin-24] INFO WebApp - WebApp[production/webapp/default/foo] active
[17-09-07 12:19:00.488] [main] INFO Host - Host[production/host/default] active
[17-09-07 12:19:00.498] [resin-38] INFO WebApp - WebApp[production/webapp/admin.resin/ROOT] active
[17-09-07 12:19:00.499] [main] INFO Host - Host[production/host/admin.resin] active
[17-09-07 12:19:00.499] [main] INFO ServletService - ServletService[id=app-0,cluster=app] active
Additional Information
Attached Files  resin_local_war_53_1.xml [^] (8,426 bytes) 09-20-17 09:00

- Relationships

- Notes
(0006802)
ferg
10-26-17 16:09

/ROOT is a reserved web-app, which is used as the name for the root "/" web app. Internally, the "/" web app is named, "/ROOT".

So, it's not possible to create a pair of web-apps as in the bug report, because "/" and "/ROOT" can't be distinguished internally.
 

- Issue History
Date Modified Username Field Change
09-20-17 09:00 wileysaw New Issue
09-20-17 09:00 wileysaw File Added: resin_local_war_53_1.xml
09-20-17 10:21 ssampgaonkar Issue Monitored: ssampgaonkar
10-25-17 12:24 wileysaw Issue Monitored: wileysaw
10-25-17 12:24 wileysaw Issue End Monitor: wileysaw
10-26-17 16:09 ferg Note Added: 0006802
10-26-17 16:09 ferg Assigned To  => ferg
10-26-17 16:09 ferg Status new => closed
10-26-17 16:09 ferg Resolution open => not fixable


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