tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From François Andromaque <francois.androma...@sib.fr>
Subject Re: apache don't find my jsp files but works whith examples jsp files
Date Wed, 06 Jun 2001 08:42:22 GMT
and wher must be the JAVA BEANS, in tomcat/webapps/root/my/WEB-INF?


----- Original Message -----
From: "Krishna Kant T" <krishnakant@compulsesys.com>
To: <tomcat-user@jakarta.apache.org>
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" <p.miller@brocom.de>
> > To: <tomcat-user@jakarta.apache.org>
> > 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.
> > > >
> > > >


Mime
View raw message