Hi! I think I have the same problem as you have.
I have been using Tomcat 5.0.19 in a RedHat 8.0 system. (Using JDK 1.4.2 and Ant 1.6.1) and everything has been working fine. Now I have installed the same thing on a laptop using VMWare and I have run into this error. I have tried installing Tomcat 5.0.25 instead but that didn't help. I start Tomcat using jsvc from the root account. When I run "ant install" (with another user) the webapp deploys ok and a directory containing a tldCache.ser file is created in work/Catalina/localhost. But when I try to access a jsp file I get the compilation error exception. No directories or files have been created in the work directory. Tne only thing I get in the logs when the error happens is the FileNotFoundException (with the huge stack trace). I'm totally clueless.. /Niklas On Thu, 24 Jun 2004, Cyberjobe wrote: > No, my work dir is ok. > > And... if I use the Ant the .jsp will "compile". (make a _jsp.java file) > > What more can I do? > > Thanks, > Cyberjobe > > > ----- Original Message ----- > From: "David Smith" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <[EMAIL PROTECTED]> > Sent: Thursday, June 24, 2004 9:18 AM > Subject: Re: Tomcat does not compiles my .jsp! > > > > I'm fairly sure the problem is tomcat is having some trouble writing to > > the work directory when it writes your jsp as a java class. Quick test: > > > > su tomcat (if done from root, no password required) > > cd /usr/local/jakarta-tomcat-5.0.25/work > > vi testfile.txt > > type some junk and try to write the file. > > > > If this fails, you have your problem. Exit the su session and take a > > look at file permissions on the work directory. Be sure tomcat owns it > > and has write access. I'd recommend tomcat user and group have full > > permissions (rw, x for directories), others have nothing. > > > > --David > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
