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 33577 invoked from network); 1 Mar 2001 17:34:59 -0000 Received: from str-gw.customer.dsl.alter.net (HELO str?connect2.strllc.com) (206.114.235.241) by h31.sny.collab.net with SMTP; 1 Mar 2001 17:34:59 -0000 Received: by STR_CONNECT2 with Internet Mail Service (5.5.2650.21) id ; Thu, 1 Mar 2001 12:35:05 -0500 Message-ID: From: Chris Andreou To: "'tomcat-user@jakarta.apache.org'" Subject: RE: Please help. Going Nuts. Date: Thu, 1 Mar 2001 12:35:03 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N join the club :) at any means if you find a solution let me know Chris -----Original Message----- From: mikhail malamud [mailto:mikhail.malamud@drexel.edu] Sent: Thursday, March 01, 2001 11:21 AM To: tomcat-user@jakarta.apache.org Subject: Please help. Going Nuts. Here is the setup I have. Tomcat 3.2.1 with mod_jk Apache 1.3.17. DocRoot /usr/local/apache/htdocs. First, I got the existing /examples webapp to work. Apache is calling tomcat and its all good. But now I am trying to deploy my first tomcat application and going through hell. My DocRoot looks the following way. DocRoot/vitamin/WEB-INF/ DocRoot/vitamin/WEB-INF/classes/edu/myschool/util/HelloWorldExample Vitamin is the top level of an application I am trying to deploy. I added following information to the following files. ################################################ mod_jk.conf. Apache Includes it in httpd.conf Alias /vitamin "/usr/local/apache/htdocs/vitamin" Options Indexes FollowSymLinks JkMount /vitamin/servlet/* ajp13 JkMount /vitamin/*.jsp ajp13 AllowOverride None deny from all ################################################# Then, I added following entry into the server.xml ################################################## ################################################## At last. I added following entry into web.xml. ################################################# HelloWorld edu.myschool.util.HelloWorldExample HelloWorld /* ################################################# This does not look good to me, I am more than sure that there is something wrong with it. I just dont know what. When I try to access the servlet using http://myhost.edu/servlet/edu.myschool.util.HelloWorldExample or http://myhost.edu/servlet/edu.myschool.util.HelloWorld. I dont know which one goes into URL class name or servlet name. Please help. Any advice is greately apreciated. --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, email: tomcat-user-help@jakarta.apache.org