File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
WebAppRootKey Not Working On Mac, but Works on Windows?
Joined: Jul 12, 2002
Apr 09, 2013 15:33:59
I deployed the exact same WAR file to
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.
Look forward to any and, believe me, all, suggestions!
<context-param> <param-name>webAppRootKey</param-name> <param-value>theview.root</param-value> </context-param>
I agree. Here's the link:
subject: WebAppRootKey Not Working On Mac, but Works on Windows?
Deploying Struts app on Linux server
How can make .war file for IBM websphere configurable?
how to deploy portlet in pluto portal with tomcat server
Adding/changing java classes on eclipse project
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014