• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

How to deploy a Web module?

 
Ranch Hand
Posts: 38
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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..
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic