This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
We are migrating an old application running on a webserver to WAS.environment.dat file is having all the mappings like JDBC_CLASS,JDBC_DB etc static members.Now i have deployed the war file of the application in WAS and if i am testing it is failing to identify the static members. I have restared the server still it is not able to identify. Please suggest me if any one has some inputs ASAP?
I am having a war file with th below structure. ADTREPORT---config html WEB-INF---classes lib web.xml
I have environment.dat file under config folder.I am trying to load that file by giving the relative path like "config/environment.dat".But it failing to to identify giving exception no such file or directory.
I tried with ./config/environment.dat ../cinfig/environment.dat /config/environment.dat
But none of the above options are not working.
Appreciate your help ASAP.
Joined: Feb 15, 2005
The root directory of a war file is always considered to be the root of the web context directory of the web application. Given the way you are trying to access your files, I'd recommend you just remove the directory ADTREPORT and place all its files and folders directly in the root of the war file.