Default Web Module
I want my web app to be the default application when someone comes to my server on my https port. I set
server.http-service.virtual-server.server.default-web-module in domain.xml to my web app. The first time Glassfish is started, it is not the default. Subsequent starts/restarts and it is the default. My current workaround is to set the
server.http-service.virtual-server.server.default-web-module using run at startup in a servlet in my webapp.
Am I doing something wrong? Is there a better way to do this?