• 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
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

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.
 
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic