tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Turner <tomcat-u...@johnturner.com>
Subject Re: Can't see new jsp pages
Date Thu, 15 May 2003 18:11:35 GMT

Only if you start and run tomcat as root.  If you start and run tomcat 
under some other username, then no.

John

On Thu, 15 May 2003 22:46:56 +0530, System 
<system@eluminoustechnologies.com> wrote:

> This are the permissions for the work directory on my server. Are this
> correct?
>
> drwxr-xr-x    3 root     root         4096 Jun  5  2002 work
>
> Thank you,
> Tina..
>
> ----- Original Message -----
> From: "John Turner" <tomcat-user@johnturner.com>
> To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
> Sent: Thursday, May 15, 2003 8:07 PM
> Subject: Re: Can't see new jsp pages
>
>
>>
>> CATALINA_HOME, in your case (hopefully), would be /usr/local/tomcat.
> There
>> should be a directory there called "work".  That is where Tomcat puts
>> compiled JSP.  If the work directory is missing, or the permissions on 
>> it
>> are not correct, that can be one reason that Tomcat cannot serve JSP
>> content, because it cannot write to the directory.
>>
>> John
>>
>> On Thu, 15 May 2003 19:52:35 +0530, System
>> <system@eluminoustechnologies.com> wrote:
>>
>> > I see serverral directories in /usr/local/tomcat/webapps/
>> > - tomcat-docs
>> > - cuta
>> > - manager
>> > - cuta_bak
>> >
>> > What you exactly mean by viewing the contents?
>> >
>> > Thank you,
>> >
>> > Tina..
>> >
>> >
>> > ----- Original Message -----
>> > From: "John Turner" <tomcat-user@johnturner.com>
>> > To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
>> > Sent: Thursday, May 15, 2003 7:29 PM
>> > Subject: Re: Can't see new jsp pages
>> >
>> >
>> >>
>> >> View the contents of the CATALINA_HOME directory, whatever it may be 
>> on
>> >> your system.
>> >>
>> >> John
>> >>
>> >> On Thu, 15 May 2003 18:45:55 +0530, System
>> >> <system@eluminoustechnologies.com> wrote:
>> >>
>> >> > I am also facing the same problem and have never worked before with
>> >> > tomcat.
>> >> > I get 404 error page in browser when I create a new jsp file. How 
>> do
> I
>> >> > check
>> >> > if the directory exists in CATALINA_HOME?
>> >> >
>> >> > Sorry I am newbie to tomcat.
>> >> >
>> >> > Thank you,
>> >> >
>> >> > Tina...
>> >> > ----- Original Message -----
>> >> > From: "John Turner" <tomcat-user@johnturner.com>
>> >> > To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
>> >> > Sent: Thursday, May 15, 2003 6:38 PM
>> >> > Subject: Re: Can't see new jsp pages
>> >> >
>> >> >
>> >> >>
>> >> >> Not really, unfortunately.  I've never seen this behavior.  Does

>> the
>> >> >> work
>> >> >> directory exist in CATALINA_HOME?
>> >> >>
>> >> >> John
>> >> >>
>> >> >> On Thu, 15 May 2003 09:01:11 -0400, Galuza, Mike
>> >> >> <MGaluza@dejarnette.com>
>> >> >> wrote:
>> >> >>
>> >> >> > I get a tomcat 404 error.  It looks something like this:
>> >> >> >
>> >> >> > ----------------
>> >> >> > HTTP Status 404 - file name
>> >> >> >
>> >> >> > type: Status report
>> >> >> > message: filename
>> >> >> > description: The requested resource (filename) is not available.
>> >> >> >
>> >> >> > Apache Tomcat/4.1.24
>> >> >> > ----------------
>> >> >> >
>> >> >> > suggestions?
>> >> >> >
>> >> >> >
>> >> >> > -----Original Message-----
>> >> >> > From: John Turner [mailto:tomcat-user@johnturner.com]
>> >> >> > Sent: Thursday, May 15, 2003 08:55
>> >> >> > To: Tomcat Users List
>> >> >> > Subject: Re: Can't see new jsp pages
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > What's the error message you get?  404?  Apache or Tomcat
errors
>> >> >> (Tomcat
>> >> >> > error pages look different).
>> >> >> >
>> >> >> > John
>> >> >> >
>> >> >> > On Thu, 15 May 2003 08:47:57 -0400, Galuza, Mike
>> >> > <MGaluza@dejarnette.com>
>> >> >> > wrote:
>> >> >> >
>> >> >> >> I'm running Apache 2.0.44 and Tomcat 4.1.24 and mod_jk
on 
>> Win2k.
>> >> >> >>
>> >> >> >> I can see http://localhost/examples/jsp/dates/date.jsp,
which 
>> is
>> >> one
>> >> >> of
>> >> >> >> the
>> >> >> >> example jsp pages that comes with tomcat.  But if I create
a 
>> new
>> >> >> >> directory
>> >> >> >> and jsp file, say examples/jsp/test/xxx.jsp, tomcat can't
seem 
>> to
>> >> >> find
>> >> >> >> the
>> >> >> >> file.  If I move date.jsp to examples/jsp/test it can't
see it.
>> >> If
>> > I
>> >> >> >> move
>> >> >> >> my xxx.jsp to examples/jsp/dates it can't see it.
>> >> >> >>
>> >> >> >> Sorry for my ignorance, but what's the deal?  Tomcat can't
seem
> to
>> >> >> see
>> >> >> >> any
>> >> >> >> new jsp files I create or move.  How do I get it to find
these
>> > files?
>> >> >> >>
>> >> >> >> Thanks in advance
>> >> >> >>
>> >> >>
>> >>> ---------------------------------------------------------------------

>>
>>
>> >> >> >> To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
>> >> >> >> For additional commands, e-mail: tomcat-user-
>> >> help@jakarta.apache.org
>> >> >> >>
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >>
>> >> >>
>> >> >>
>> >> >> --
>> >> >> Using M2, Opera's revolutionary e-mail client:
>> >> http://www.opera.com/m2/
>> >> >>
>> >>
>>> ---------------------------------------------------------------------
>> >> >> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> >> >> For additional commands, e-mail: tomcat-user- 
>> help@jakarta.apache.org
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >> >
>> >> > --------------------------------------------------------------------

>>
>>
>> -
>> >> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> >> > For additional commands, e-mail: tomcat-user- 
>> help@jakarta.apache.org
>> >> >
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> Using M2, Opera's revolutionary e-mail client: 
>> http://www.opera.com/m2/
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> >> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>> >>
>> >>
>> >>
>> >>
>> >
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>> >
>> >
>>
>>
>>
>> --
>> Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>>
>>
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>



-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message