aspose file tools*
The moose likes Websphere and the fly likes can't run struts-example.war in WAS 4.0.3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "can Watch "can New topic
Author

can't run struts-example.war in WAS 4.0.3

david chan
Ranch Hand

Joined: Jun 10, 2002
Posts: 46
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
 
Don't get me started about those stupid light bulbs.
 
subject: can't run struts-example.war in WAS 4.0.3