Thanks Alexey,
You seem to be right.. the way that glassfish arranges for a Default Web Module to result in "/" serving up "/WarTest/" is by returning a 301 to the browser with a Location header of "
http://neekfenwick.homeip.net:8080/WarTest/". So this isn't 'strange', I just didn't know about it.
I've simplified my server down to just the WarTest webapp, and removed all my other application, JDBC stuff, and Java Mail stuff. The problem persists. Simple domain.xml attached.
I've tried setting various logger levels to FINE in logging.properties for my domain, everything in the logger hierarchy up to and including javax.enterprise.system.container.web, but cannot find what will make it log web requests. "./asadmin list-logger-levels" is useful in that regard. The "500 Internal Server Error" reported by wget still doesn't show up at all in server.log.
If you're testing my findings, you may not find that app deployed at nickfenwick.com:8080, depending on what server I have running. I will probably have a different server running, without WarTest as the Default Web Module, because I'm continuing development on my main application.
[Message sent by forum member 'neekfenwick']
http://forums.java.net/jive/thread.jspa?messageID=392467