Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to deploy a Web module?

 
Valentin Ivanov
Ranch Hand
Posts: 38
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic