You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Henrik <he...@hotmail.com> on 2002/07/23 17:42:54 UTC

Setup advice urgently needed!


Hi!
I am new to this list, and to the Tomcat Jakarta. I've been setting things
up to get into Java servlets, and I'm still having a problem setting up my
desktop as a servlet-capable server. I got Apache's Tomcat (4.0.4) running,
and it takes their own examples quite well. I also have my JCreator IDE
compiling the example servlets I found OK. But when I run _these_ examples,
trouble starts...

I have rewritten my web.xml file to contain the following:

<?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>list</servlet-name>
<servlet-class>ListManagerServlet</servlet-class>
</servlet>

<servlet-mapping>
<servlet-name>list</servlet-name>
<url-pattern>/list</url-pattern>
</servlet-mapping>

</web-app>

(this is the ENTIRE content, just in case)

I keep getting a "Apache Tomcat/4.0.4 - HTTP Status 503 - Servlet invoker is
currently unavailable" message when using the
"http://localhost/servlet/list" URL to access my ListManagerServlet! The
ListManagerServlet is in the path
"D:\Java\jakarta-tomcat-4.0.4\webapps\ROOT\WEB-INF\classes".

What am I doing wrong here? I can make no sense of it.....



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>