• 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
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

No Context configured to process Error

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I am using Tomcat 4.1.
I created a folder SCWCD folder under the location "C:\Tomcat 4.1\webapps" and placed login.html file. Now created web.xml file under folder SCWCD.
Following is the entry of the web.xml under SCWCD folder...

<?xml version="1.0" encoding="UTF-8"?>

<!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 id="WebApp_1">
<display-name>SCWCD</display-name>
<context-param id="ContextParam_1">
<param-name>SCWCD.server.host</param-name>
<param-value />
</context-param>
<context-param id="ContextParam_2">
<param-name>SCWCD.login.page</param-name>
<param-value>/login.html</param-value>
</context-param>
<context-param id="ContextParam_3">
<param-name>SCWCD.login.failure.page</param-name>
<param-value>/login.html</param-value>
</context-param>
</web-app>

but when I am trying to access login.html file from browser with address "http://localhost:9080/SCWCD/login.html"..

it is giving following error:-
HTTP Status 500 - No Context configured to process this request

--------------------------------------------------------------------------------

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.

What Context I have to configure?
Can anyone please guide me what steps exactly I have to follow to access login.html file from browser..?

Thanks,
-Anand
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Move your web.xml file to SCWCD/WEB-INF
 
anand gun
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the inputs...

I copied web.xml to correct location. it Worked fine.

- Anand
SCJP1.4 (89%)
 
I want my playground back. Here, I'll give you this tiny ad for it:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic