• Post Reply Bookmark Topic Watch Topic
  • New Topic

No output folder  RSS feed

 
Isaac Ferguson
Ranch Hand
Posts: 1063
3
Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

when working with a .jsp file Tomcat gave me tis error.


I checked that the same error was already answered in forum.this

But when I try to give rights like this:



And I got this error in the console:




Any idea, please?

Regards, Isaac


 
Tim Holloway
Saloon Keeper
Posts: 18799
74
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks like Tomcat was installed by some other user (probably root). And if I'm not mistaken, it was installed at the root of the filesystem, which is a very bad thing to do.

When installing a private copy of Tomcat for your own use, the best place to locate Tomcat is under your home directory. When installing a copy for shared use, the common location is under /usr/local, although /var/lib and /opt are also good places to hold the Tomcat directory and its children. Actually /usr/local iis supposed to be read-only on the highly rare systems that rigorously adhere to the Linux FSB, but softlinks can be used to redirect the read/write parts of Tomcat to approved locations. Most people don't bother, though.

If Tomcat was installed under root ownership and you have sudo authority, you can run the chown command under sudo.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!