Mantis - Resin
Viewing Issue Advanced Details
92 minor always 04-08-05 00:00 05-11-05 00:00
sam  
 
normal  
closed 3.0.12  
3.0.12 fixed  
none    
none 3.0.13  
0000092: root.war doesn't work, ROOT.war is required
RSN-83
(rep by J Rogers)

I was just testing 3.0.12 on a Windows 2003 Server. I changed the
document-directory attribute of the web-app element in resin.conf to be
'webapps/root' beacause we usually name our WAR file root.war, but this
doesn't work with Resin 3.0.12. The WAR file doesn't get expanded into
the directory called 'root/'. Instead a 'root/' directory is created
with empty 'WEB-INF/classes' and 'WEB-INF/tmp' directories. Changing
the name of the WAR file to ROOT.war and changing the resin.conf file
back to 'webapps/ROOT' works. The WAR file is fully expanded and our
application is started.

Does anyone know why this would happen in a Windows 2003 Server (which
is supposedly case-insensitive)?
Windows 2003 Server

Notes
(0000097)
user62   
04-08-05 00:00   
I know that the filesystem is case-insensitive, but I know at least Tomcat also have the ROOT.war thing as well. It has to be ROOT.war, nothing else. I don't think it's a part of the spec, but just a hack that some web containers have produced.

Although, I don't think it would be a bad thing to Resin to recognize either root.war or ROOT.war, although it would be tricky on a UNIX system (or other case sensitive filesystem) since both could exist at once. The question then would be which one takes precendence?