Hi, I downloaded STRUTS 1.0.2 and try to install the struts-example.war to WAS 4.0.3 in my w2k box. First I went to the web admin console and from there go down to Nodes->myComputerName->Enterprise Applications, then click "install" button. In "Application Installation Wizard" page, I select the struts-example.war in "path" field, and put application name as "struts-example", context root also "struts-example". then next, then Finish, and it seems installed successfully. A new icon "struts-example" appear under "Enterprise Application" along with others like petstore, sampleApp. I click the "struts-example", two child icons "Web Modules" and "EJB Modules" appear, then I click the "Web Modules", the struts-example.war web module page has a "cannot be run" icon, and I also try to start, restart it, only get "The WebModule struts-example.war cannot be run" on the top. I tried to go to: http://localhost/struts-example/, got http 404 not found error. I then check the logs directory, can't find any error log. I checked the "installedApps" directory, a "struts-example.ear" directory is created, and then two sub-directory: "META-INF" and "struts-example.war" What happen? Note: my original Websphere is 4.0.1, because I can't run struts-example, I downloaded the fixpack 3 to upgrade to 4.0.3 David
Hi, I just installed struts on WAS 4.0, it works fine. Just follow the steps: In the AAT, from the dialog that appears at startup of AAT, select “Create Application Wizard” and click “OK” to launch the wizard. On the “Specifying Application Properties” page in the wizard, Enter a display name of “strutsexample”. Enter a file name of “strutsexample.ear”. Click “Next >”. Click “Next >” on the “Adding Supplementary Files” page. Click “Next >” on the “Choose Application Icons” page. Click “Next >” on the “Adding EJB Modules” page. On the “Adding Web Modules” page, click “Add…” From the “Open” dialog, select the file: “C:\tmp\strutsexample.war” (the one that the first step in this process had you copy into C:\tmp), and click “OK”. In the “Confirm Values” dialog that appears, enter “/strutsexample” in the “context root” field, and click “OK”. (strutsexample.war should now appear in the list on the “Adding Web Modules” page.) Click “Next >”. Click “Next >” on the “Adding Application Client Modules” page. Click “Finish” on the “Adding Security Roles” page. Select “Save” from the “File” menu. In the “Save” dialog that appears, save the file as: “C:\tmp\strutsexample.ear” (after saving, a dialog should appear with the message “Archive was saved successfully” Click “OK” to close this dialog. Close the AAT (File->Exit) Start your Admin console, Install the ear to the Enterprise Application. Launch your browser and typing http://localhost/strutsexample ( should be able to call your index.jsp). For me, I call by http://localhost:9080:strutsexample. That's should solve your problem. By the way, I'm having problem in running struts in VAJ 4.0, do you have any idea? Regards.