tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From File Send <file.sen...@gmail.com>
Subject Re: Tomcat 5.5 root directory
Date Tue, 05 Jan 2010 23:27:45 GMT
Thanks for explanation. I am using http://localhost:8080/hello.jsp. I kept
that in $CATALINA_HOME/webapps/ROOT/ and jsp seems to be correct, however,
the issue is still showing up. No modification has made to conf/web.xml and
server.xml. Case is also taken care of.

HTTP Status 404 - /hello.jsp
------------------------------

*type* Status report

*message* */hello.jsp*

*description* *The requested resource (/hello.jsp) is not available.*

 Any pointers ??

Thanks,

Joseph
On Tue, Jan 5, 2010 at 1:29 PM, Caldarale, Charles R <
Chuck.Caldarale@unisys.com> wrote:

> > From: File Send [mailto:file.send18@gmail.com]
> > Subject: Re: Tomcat 5.5 root directory
> >
> > Yes, I have default server.xml but I don't see
> > $CATALINA_BASE/webapps/ROOT anywhere.
>
> For a default Tomcat installation, CATALINA_BASE == CATALINA_HOME; the only
> time the two are different is if you're running multiple Tomcats from a
> single installation.
>
> > Can you please suggest what specific configuration
> > i can set in server.xml.
>
> No changes are needed to server.xml.
>
> > I am putting my page in $CATALINA_HOME/webapps/ROOT/ but it does not
> > detect it and gives me following error
>
> Exactly what URL are you using?  (In your previous message, you referred to
> my.jsp.)  Remember that everything after the host name is case-sensitive,
> even on Windows.  Also, a badly constructed .jsp file might give you a 404
> error (but usually a 500).
>
> > however, it detects index.jsp which comes with tomact.
>
> The webapps/ROOT/index.jsp file is actually pre-compiled into
> webapps/ROOT/WEB-INF/lib/catalina-root.jar (I have no idea why the
> developers chose to obscure things this way).  Consequently, it is not using
> the JSP servlet at runtime.  The JSP servlet is declared in conf/web.xml; if
> you have changed or corrupted that file, you may well have caused the
> problem with your hello.jsp.
>
>  - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you received
> this in error, please contact the sender and delete the e-mail and its
> attachments from all computers.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message