I played with it a little bit and the situation is very simple. When using virtual servers, glassfish randomly chooses whether it will use default module for that virtual server or whether it will use default glassfish docroot with basic servlets. Sometimes helps visiting admin console, sometimes helps waiting for an hour and sometimes helps restarting the server. And sometimes nothing helps. Wow.
[Message sent by forum member 'calaverainfo' (calaverainfo)]
http://forums.java.net/jive/thread.jspa?messageID=354168