Mantis - Resin
Viewing Issue Advanced Details
4444 minor always 03-22-11 11:11 04-05-11 15:21
ferg  
ferg  
normal  
closed 4.0.16  
fixed  
none    
none 4.0.17  
0004444: web-app in resin.xml combining with ROOT.war
(rep by Keith Fetterman)

I am experiencing a problem in resin 4.0.16 where resin is not expanding
the ROOT.war file if I explicitly define the root webapp in resin.xml
file. In resin.xml, I have the tag "<web-app id="/"
root-directory="webapps/ROOT"/>" defined under my"<host>" tag. I also
have the tag "<web-app-deploy path="webapps" versioning="true"/>"
defined under my "<host-default>" tag.

When I update the ROOT.war file in my "webapps" directory, the war file
is not being expanded into the webapps/ROOT directory. I have tried
both shutting down resin, updating the ROOT.war file and then starting
resin, and I've tried updating ROOT.war while resin is running.

If I remove the tag "<web-app id="/" root-directory="webapps/ROOT"/>"
from the resin.xml file, then ROOT.war expansion occurs.

Do I need to add an attribute to the<web-app id="/"
root-directory="webapps/ROOT"/> tag to get the war file to expand?

Notes
(0005150)
ferg   
04-04-11 19:07   
server/1h34

versioning="true" is needed to duplicate the problem.