Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 10050 invoked from network); 27 May 2000 16:26:49 -0000 Received: from q4.quik.com (216.176.28.1) by locus.apache.org with SMTP; 27 May 2000 16:26:49 -0000 Received: from hallam.later.dude (ip110.vb.quik.com [216.176.5.110]) by q4.quik.com (8.9.3/8.9.3) with ESMTP id JAA08998 for ; Sat, 27 May 2000 09:26:52 -0700 Received: by hallam.later.dude (Postfix, from userid 1000) id 8C4045083B; Sat, 27 May 2000 12:26:25 -0400 (EDT) Sender: martinja@ice-works.com To: tomcat-user@jakarta.apache.org Subject: Adding jarred servlet to context From: martinja@ice-works.com (Joseph A. Martin (The LaterDude)) Date: 27 May 2000 12:26:24 -0400 Message-ID: <871z2ogdsf.fsf@hallam.later.dude> Lines: 64 User-Agent: Gnus/5.0806 (Gnus v5.8.6) XEmacs/21.1 (Canyonlands) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hello, I am running Tomcat 3.1 on Debian GNU/Linux 2.2. I have apache 1.3.12. I am using Sun's JDK for Linux 1.2.2. I am trying to get an Enhydra servlet working with Tomcat. Enhydra servlet applications consist of two parts: a jar containing the actual application code, and the enhydra jar file. I have created a directory (called martinja) underneath the webapps directory in the jakarta-tomcat directory. Underneath martinja I created WEB-INF/classes. Inside of the classes directory I created symlinks to the jar files. This is the web.xml file I have in the WEB-INF directory: photo org.enhydra.Servlet ConfFile /home/martinja/src/photoRequest/output/photoRequest.conf The class org.enhydra.Servlet is in the enhydra.jar file in the classes directory. In TOMCAT_HOME/conf/server.xml I put the following entry: in the appropriate section. I have apache redirecting requests from /java to the /martinja context. When I try to load "http://localhost/java/photo" or "http://localhost/java/org.enhydra.Servlet" I get a 404 not found error from Jakarta. The apache logs show that the request was passed through just fine, but apparently Jakarta is not finding the classes. What information am I missing? I appreciate any help. later, joseph -- the "LaterDude" ICQ: 52640402 martinja@ice-works.com http://www.ice-works.com/personal/LaterDude/index.html All opinions expressed are my own and not necessarily those of my employer unless otherwise noted.