• Post Reply Bookmark Topic Watch Topic
  • New Topic

Running of the servlet shows me "HTTP Status 503 - Servlet Internal_Name is error"  RSS feed

 
Chidanand Chauhan
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The web browser shows me an error
"HTTP Status 503 - Servlet Internal_Name is currently unavailable".

i have set my JAVA_HOME= c:\j2dk1.4.2

My classpath is CLASSPATH=c:\tomcat\common\lib\servlet.jar


I have compiled my java classfile and place it into
c:\tomcat4.1\webapps\prog1\WEB-INF\classes\Servlet.class.

My web.xml file is in c:\tomcat4.1\webapps\prog1\WEB-INF

i am writing my web.xml content.

<?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>

<servlet>

<servlet-name>Internal_Name</servlet-name>
<servlet-class>Servlet</servlet-class>

</servlet>

<servlet-mapping>

<servlet-name>Internal_Name</servlet-name>
<url-pattern>/Servlet</url-pattern>

</servlet-mapping>


</web-app>


The web browser shows me an error



HTTP Status 503 - Servlet Internal_Name is currently unavailable

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

type Status report

message Servlet Internal_Name is currently unavailable

description The requested service (Servlet Internal_Name is currently unavailable) is not currently available.

Please help me.







 
Chidanand Chauhan
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
At last i solved the problem i did a very minor mistake but which paid me alot.

i mentioned the name of the classes folder as Classes Capital "C" as a result it gave me an error.



 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!