I’m having trouble deploying a war file on websphere 4.01 advanced edition. I get no errors during deployment and the web modules status is running The modules context root is /qt, the welcome file is index.html. But
http://localhost/qt, http://localhost/qt/ and
http://localhost/qt/index.html all yield 404 errors. I was able to deploy on
tomcat, and all the examples are working fine on websphere. I tried both using the AAT to build the web.xml and building it with an editor. I’ve compared it to the web.xml files in the sample code and I can’t find what it is that I am doing wrong. The admin console does show the status as running and does show the contextRoot as /qt. Viewing the deployment descriptor from the Admin console verifies that the welcome file is index.html. I know its probably simple but I just can’t find the problem. I’ve attached the application.xml from qt.ear and web.xml files from qt.war. I would be very grateful to anyone who can me find my mistake.
Application.xml
<CODE>
Application.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD
J2EE Application 1.2//EN" "
http://java.sun.com/j2ee/dtds/application_1_2.dtd">
<application id="Application_ID">
<display-name>qt_war</display-name>
<module id="WebModule_1">
<web>
<web-uri>qt.war</web-uri>
<context-root>/qt</context-root>
</web>
</module>
</application>
web.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app id="WebApp_ID">
<display-name>q
test</display-name>
<
servlet id="Servlet_1">
<servlet-name>queryservlet</servlet-name>
<servlet-class>tester.QueryServlet</servlet-class>
</servlet>
<servlet-mapping id="ServletMapping_1">
<servlet-name>queryservlet</servlet-name>
<url-pattern>/qt/qtest</url-pattern>
</servlet-mapping>
<welcome-file-list id="WelcomeFileList_1">
<welcome-file>index.html</welcome-file>
</welcome-file-list>
</web-app>
[ April 24, 2002: Message edited by: Jeff Gaer ]