• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Context Error ( help)

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
URL :
http://vivek:8080/servlet/GetPassword
ERROR:
type Status report
message No Context configured to process this request
description The server encountered an internal error (No Context configured to process this request) that prevented it from fulfilling this request.

STRUCTURE OF WEB.XML :
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<display-name>
SMS Client
</display-name>

<description>
CollegeE-Cube's SMS client
</description>

<servlet>
<servlet-name>Loginpage</servlet-name>
<jsp-file>/Loginpage.jsp</jsp-file>
</servlet>

<servlet>
<servlet-name>GetPassword</servlet-name>
<servlet-class>smsclient.GetPassword</servlet-class>
</servlet>

<!-- servlet mapping -->


<servlet-mapping>
<servlet-name>GetPassword</servlet-name>
<url-pattern>/servlet/GetPassword</url-pattern>
</servlet-mapping>
</web-app>

I Tried all posiible options, ant one working on jboss, please help on my problem.
thanks
keviv
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Looks like confusion due to the use of the /servlet/ nomenclature to me.
IF you are going to provide a complete url-pattern mapping, don't use "/servlet" - see lots of discussion on the "invoker" servlet on this forum in the past.
Also - where did you put the web-xml and class files? Are you trying to run this as a separate "web application" or as part of another application?
Bill
 
Skool. Stay in. Smartness. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic