Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Context Error ( help)

 
VIV sharma
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • 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
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13062
6
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic