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 11761 invoked from network); 1 Mar 2001 18:27:53 -0000 Received: from osc.edu (192.148.249.4) by h31.sny.collab.net with SMTP; 1 Mar 2001 18:27:53 -0000 Received: from krakow.osc.edu (krakow.osc.edu [192.148.249.195]) by osc.edu (8.9.3/8.9.3/OSC 2.0) with ESMTP id NAA20288; Thu, 1 Mar 2001 13:27:53 -0500 (EST) Date: Thu, 1 Mar 2001 13:27:53 -0500 (EST) From: Jan Labanowski To: tomcat-user@jakarta.apache.org cc: Jan Labanowski Subject: RE: Please help. Going Nuts. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N On Thu, 1 Mar 2001, mikhail malamud wrote: > OK. I got this to work. What's the next step, Jan? Read my message again... There were more steps there {:-)}... Read the notes at http://www.ccl.net/cca/software/UNIX/apache/index.shtml and http://www.ccl.net/cca/software/UNIX/apache/tomcatfaq.shtml Primarily check if your web.xml is correct and in correct place, if your server.xml has an entry: and you have there. And if the port is for ajp13 is the same as in worker.properties file. Check if your worker.properties are configured correctly for apj13 and if you are including the right file in the httpd.conf Once you corrected/cheked everything restart kill apache, kill tomcat start tomcat, start apache. > > -----Original Message----- > From: Jan Labanowski [mailto:jkl@osc.edu] > Sent: Thursday, March 01, 2001 12:51 PM > To: tomcat-user@jakarta.apache.org > Cc: Jan Labanowski > Subject: Re: Please help. Going Nuts. > > > One thing at a time... Do not start from most complicated stuff... Try > to make hello world JSP to work first > In your directory > /usr/local/apache/htdocs/vitamin put a file: > > hello.jsp > > > > Hello World > > > > and try to get it in the browser: > > http://my.machine.com:8080/vitamin/hello.jsp > and do it the same with your apache port, say > http://my.machine.com/vitamin/hello.jsp > > (I do not know what your ports are, so you need to change it) > > > On Thu, 1 Mar 2001, mikhail malamud wrote: > > > ################################################ > > 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 > > > > Looks OK... > > > > ################################################## > > > docBase="/usr/local/apache/htdocs/vitamin" > > crossContext="false" > > debug="0" > > reloadable="true" > > > > > > Can you see anything on the Tomcat port 8080 (or whatever it is in your > case). > i.e., > http://my.machine.com:8080/vitamin/hello.jsp > > Is your apj13 connected activated? > > > ################################################## > > > > At last. I added following entry into web.xml. > > Which web.xml? The /usr/local/apache/htdocs/vitamin/WEB-INF/web.xml ? > > > > > ################################################# > > > > HelloWorld > The servlet name is not HelloWorld, it is HelloWorldExample > > > > edu.myschool.util.HelloWorldExample > > > > > > HelloWorld > The servlet name is not HelloWorld, it is HelloWorldExample > > /* > > This is wrong... > /* > > > > > ################################################# > > > Jan K. Labanowski | phone: 614-292-9279, FAX: > 614-292-7168 > Ohio Supercomputer Center | Internet: jkl@osc.edu > 1224 Kinnear Rd, | http://www.ccl.net/chemistry.html > Columbus, OH 43212-1163 | http://www.osc.edu/ > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, email: tomcat-user-help@jakarta.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, email: tomcat-user-help@jakarta.apache.org > Jan K. Labanowski | phone: 614-292-9279, FAX: 614-292-7168 Ohio Supercomputer Center | Internet: jkl@osc.edu 1224 Kinnear Rd, | http://www.ccl.net/chemistry.html Columbus, OH 43212-1163 | http://www.osc.edu/