• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

WebAppRootKey Not Working On Mac, but Works on Windows?

 
Bartender
Posts: 1938
17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I deployed the exact same WAR file to Tomcat 7 under Windows and under Mac OSX 10.8.3.

In Windows, using the code below in web.xml, the WebAppRootKey worked fine and set the log directory (in same folder as webapps) was found with no problems.

Yet, the exact same war file with same log directory structure on the mac does not work and gives the error: 'java.io.FileNotFoundException: /../../customlogs/thedview.log (No such file or directory)"

How could this happen?

I also tested with Tomcat 6 on the mac with the same results.

Absolutely stumped.

Look forward to any and, believe me, all, suggestions!

Thanks,

-mike


 
reply
    Bookmark Topic Watch Topic
  • New Topic