File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Websphere and the fly likes How to deploy a Web module? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "How to deploy a Web module?" Watch "How to deploy a Web module?" New topic

How to deploy a Web module?

Valentin Ivanov
Ranch Hand

Joined: Nov 20, 2008
Posts: 38

I have packaged my web module in WAR /Web archive/ file. Deploying it on WebSphere Application Server V7.
I have read the tutorials for deploying and follow the instructions but still without success.
So when i try this
the server says :
Error 404: No target servlet configured for uri: /TestPage_war/

What could be the problem? Why the server says "No target servlet configured", I might want to load .jsp or .html page? How is defined what component to be loaded as first?

Thank you
Gaurav Daga

Joined: Jun 19, 2006
Posts: 14
Have you configured welcome file attribute in web.xml and verify that path you have given there is actually exists.

Also try hitting some url like http://<servername>:<portnumber>/<ApplicationName>/<ServletName>;

if you dont specify the servlet name, it will see for the file names mentioned in welcome tag in web.xml

also try to look into the sysout log file for your profile.. what doest it say..
I agree. Here's the link:
subject: How to deploy a Web module?
It's not a secret anymore!