• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

Screwed up Tomcat Permission?

 
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think I screwed up tomcat permission. I get 404 for all files in tomcat except index page.

Could it be something else?

What can I do? Log file doesn't such error.
 
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey,

If you got permission problems, get this program. batchmod: http://www.macchampion.com/arbysoft/

Its a GUI to help you change file permissions. You then drag your tomcat folder on to it, and it will allow you set the permissions of all the files in your tomcat dir in 1 go.

I used to program as part of my tomcat installation to get everything working.

Hope it helps

Cheers
 
Garrett Smith
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What should the permissions be? Are there any special nested permissions, in say "webapps"?

I don't know what the problem is. Tomcat won't serve files -- not even static files like .js. The includes don't work. "/" and "/index.jsp" are different.

This happened right after I changed permission on tomcat, and I only did change permissions because ANT "clean" was barfing permissions errors.
 
Garrett Smith
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It was not a permission problem. I had an "index.jsp" file in webapps.

This didn't seem to show up right away, I screwed up my build file and when I realized that I was copying jsps to ${dist}, I stopped.

The problem is that I try and do these things at 2am.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic