This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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>
If http://localhost:9080/qt works from your browser then your problem is you haven't regenerated the plugin configuration file. If this is true, then open a command prompt, type "GenPluginCfg" and restart the HTTP Server from the Windows control panel. If on the other hand, the above URL doesn't work then you've got another problem for us to work out... Kyle