Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 19197 invoked by uid 500); 6 Jun 2001 08:48:20 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 18904 invoked from network); 6 Jun 2001 08:48:14 -0000 Received: from unknown (HELO gonzo.sib.fr) (212.234.116.34) by h31.sny.collab.net with SMTP; 6 Jun 2001 08:48:14 -0000 Received: from pcclt66 ([192.93.37.66]) by gonzo.sib.fr (8.11.0/8.11.0) with SMTP id f568kuP07051 for ; Wed, 6 Jun 2001 07:46:56 -0100 X-Authentication-Warning: gonzo.sib.fr: mail owned process doing -bs Message-ID: <017101c0ee64$9b0bb570$42255dc0@sib.fr> From: =?iso-8859-1?Q?Fran=E7ois_Andromaque?= To: References: <010e01c0ee5b$d8ef2600$42255dc0@sib.fr> <3B1DE220.86394BE2@brocom.de> <014501c0ee61$c68139d0$42255dc0@sib.fr> <3B1DEC90.F2C76F89@compulsesys.com> Subject: Re: apache don't find my jsp files but works whith examples jsp files Date: Wed, 6 Jun 2001 10:42:22 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N and wher must be the JAVA BEANS, in tomcat/webapps/root/my/WEB-INF? ----- Original Message ----- From: "Krishna Kant T" To: Sent: Wednesday, June 06, 2001 10:40 AM Subject: Re: apache don't find my jsp files but works whith examples jsp files > an alias in httpd.conf of apache as to include my-apache-tomcat.conf which > contains the directive as to where to look for files under > http://localhost/my/ > > the jsp files are present in tomcat/webapps/root/my/.... > > i am running tomcat under a different login. could that be a possible problem? > > -krishnakant > > Fran�ois Andromaque wrote: > > > I'm using jserv but it's the same thing > > Here is my tomcat.conf added to my httpd.conf : > > > > #################### All jsp files will go to tomcat #################### > > #ApJServMount default /root > > > > ApJServMount default /my_web_directory > > AddType text/jsp .jsp > > AddHandler jserv-servlet .jsp > > > > ############################## Context mapping - all requests go to tomcat > > > > ApJServMount /examples /my_web_directory > > > > here is the returned error > > Syntax error on line 39 of /usr/jakarta-tomcat/conf/tomcat.conf: > > ApJServMount: secret file (3rd field): cannot entirely read file > > '/my_web_directory > > > > what do you mean by alias statement? > > > > ----- Original Message ----- > > From: "P.Miller" > > To: > > Sent: Wednesday, June 06, 2001 9:56 AM > > Subject: Re: apache don't find my jsp files but works whith examples jsp > > files > > > > > Hi Francois, > > > > > > you have to add an 'Alias' statement for your context in the mod_jk.conf > > > (which you should 'Include' in the httpd.conf) and also a 'JKMount > > > /context/*.jsp ajp13' in the same file. > > > > > > HTH > > > Peter > > > > > > > Fran�ois Andromaque wrote: > > > > > > > > Hello > > > > I've developped a jsp WEB site, so i've my web site directory with the > > > > jsp directory which contains my jsp files, the html directory wich > > > > contains my html files and the WEB-INF directory which contains the > > > > JAVA-BEAN, it perfectly works with TOMCAT, but i can't access to my > > > > jsp files using apache server, even so i can access via apache to the > > > > tomcat jsp examples. What the way to do to make apache to find the jsp > > > > files. > > > > > > > > i'm getting the following > > > > Error: 404 > > > > Location: /jsp/jsp_file.jsp > > > > > > > > this is yet the right emplacement of the file > > > > > > > > Thanks in advance for your help. > > > > > > > >