tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From marlowe <devinwha...@gmail.com>
Subject RE: no jsp files will compile
Date Mon, 01 Dec 2008 19:28:46 GMT



Caldarale, Charles R wrote:
> 
>> From: marlowe [mailto:devinwhalen@gmail.com]
>> Subject: no jsp files will compile
>>
>> I have java 1.5 installed and tomcat5.5 on a Ubuntu machine.
> 
> Is this a real Tomcat (i.e., one downloaded from tomcat.apache.org), or is
> it a 3rd-party repackaged version?  There are no end of problems with the
> repackaged junk.
> 

I installed it from ubuntu apt-get.



>> java.io.FileNotFoundException:
>> /var/lib/tomcat5.5/work/Catalina/localhost/marlowe/org/apache/
>> jsp/index_jsp.java
> 
> Is there a permissions problem here?  It looks like the .java file
> generated from the .jsp could not be read (or perhaps it was never
> written).  Is the userid you're running Tomcat under the same one that it
> was installed with?
> 

Yeah, I was thinking it was some sort of permissions thing, but my webapp
has the same permissions as the example webapps, which is root.  I will have
to look at all the permissions again to make sure.  tomcat will server other
pages though so it seems to have permissions to the directory.  For
instance, html pages.



> Do the JSP examples that come with Tomcat work properly?
> 

Yes, the examples that come with it work.  Also, if I copy my jsp file to
one of these directories it runs fine.



-- 
View this message in context: http://www.nabble.com/no-jsp-files-will-compile-tp20774478p20776346.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message