users@glassfish.java.net

Re: Foo

From: <forums_at_java.net>
Date: Wed, 18 Jan 2012 13:45:49 -0600 (CST)

Just want to ask my default web module question and have it appear.

The first time I start Glassfish after install, I get a page not found
expection. Subsequent starts, the value in domain.xml is used and my webapp
is the default.

I set  Normal 0 false false false EN-US X-NONE X-NONE
MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable
{mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99;
mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in
5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan; font-size:11.0pt;
font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;} set
server.http-service.virtual-server.server.default-web-module=StartupApp in a
servlet that runs at startup and this gets around the issue. If I read the
value from domain.xml, it is correctly set to StartupApp when I read the
value. This is only an issue for the first time Glassfish starts up.

Am I doing something wrong? Is there a better way to do this? 

Thanks!


--
[Message sent by forum member 'schnocky']
View Post: http://forums.java.net/node/882807