Can not access virtual server after application server restart

I created enterprise application and deployed it to application server (9.0_01 build b02-p01). Then I made virtual server for web application and HTTP listener for this virtual server. User types http://myhost.com/ to use web application. But when I restart application server or redeploy enterprise app I get Sun's wellcome page with title "Your server is up and running!" saying I should override<install_dir>/domains/<domain_name>/docroot/index.html to replace this page. Then I go to virtual server settings (in admin console), changeDefault Web Module to any other and change this setting back to my WAR. After this procedure web application is accessable again. What should I do to make my web app working after restart?

[762 byte] By [ddoa] at [2007-11-26 21:33:25]
# 1
You can simply change the default 'docroot' value in domain.xml to your deployed web application.
Sultala at 2007-7-10 3:14:13 > top of Java-index,Application & Integration Servers,Application Servers...
# 2

Thanks for reply. But when I change docroot to directory where JSP files stored I get error because I use JavaServer Faces and there is additional /faces string in URL. There is no such subdirectory so I get "not found" error. If I cut /faces from URL I get NullPointerException because JSP's contain JavaServer Faces tags. What should I do?

ddoa at 2007-7-10 3:14:13 > top of Java-index,Application & Integration Servers,Application Servers...
# 3
After redeploy, check if your web application's target is configured for the virtual server you created.Applications --> Web Applications --> [your web app] --> TargetsIf not, you should update the target and review your redeploy script.
rushizakia at 2007-7-10 3:14:13 > top of Java-index,Application & Integration Servers,Application Servers...
# 4

> After redeploy, check if your web application's

> target is configured for the virtual server you

> created.

>

> Applications --> Web Applications --> [your web app]

> --> Targets

>

> If not, you should update the target and review your

> redeploy script.

This web application is a part of enterprise application. After deploy it's not in Web Applications but in Etnerprise Applications. There are 2 components in enterprise app - EJBModule and WebModule. I did't find anything about target there. No one option which I can set to my virtual server.

ddoa at 2007-7-10 3:14:13 > top of Java-index,Application & Integration Servers,Application Servers...
# 5
When I restart application server I get this message in server.log:Error looking up the configuration information of the default web module [Myapp#Myapp-war.war] of virtual server [myapp]
ddoa at 2007-7-10 3:14:14 > top of Java-index,Application & Integration Servers,Application Servers...