File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "How to deploy a Web module?" Watch "How to deploy a Web module?" New topic
Author

How to deploy a Web module?

Valentin Ivanov
Ranch Hand

Joined: Nov 20, 2008
Posts: 38

Hi,
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: com.ibm.ws.webcontainer.servlet.exception.NoTargetForURIException: 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
Greenhorn

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..
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to deploy a Web module?