# war file location...

**URL:** <https://community.unix.com/t/war-file-location/280771>\
**Category:** Solaris\
**Created:** [January 14, 2011, 4:59am UTC](https://community.unix.com/t/war-file-location/280771 "2011-01-14T04:59:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![senkerth](https://community.unix.com/letter_avatar/senkerth/32/5_5575768a8748004e209b776fc1b2916d.png) [@senkerth](https://community.unix.com/u/senkerth)\
**Post date:** [January 14, 2011, 4:59am UTC](https://community.unix.com/t/war-file-location/280771/1 "2011-01-14T04:59:49Z")

</div>

hi.  
what is the data directory for tomcat-apache in which i will locate a ".war" file and if i up the tomcat the file will run and i can access that file using web...  
i want to know the home directory for Tomcat-apache.

guide me please ...

---------- Post updated at 03:29 PM ---------- Previous update was at 03:23 PM ----------

right now i have placed that file in /var/apache/tomcat/webapps folder

---

<div class="post-metadata">

**Author:** ![verdepollo](https://community.unix.com/user_avatar/community.unix.com/verdepollo/32/1854_2.png) [@verdepollo](https://community.unix.com/u/verdepollo)\
**Post date:** [January 14, 2011, 10:07am UTC](https://community.unix.com/t/war-file-location/280771/2 "2011-01-14T10:07:04Z")

</div>

Yes, that's the correct (default) location.

The .war file will get expanded in your "work" directory.

---

<div class="post-metadata">

**Author:** ![senkerth](https://community.unix.com/letter_avatar/senkerth/32/5_5575768a8748004e209b776fc1b2916d.png) [@senkerth](https://community.unix.com/u/senkerth)\
**Post date:** [January 17, 2011, 11:28pm UTC](https://community.unix.com/t/war-file-location/280771/3 "2011-01-17T23:28:27Z")

</div>

but my war file is not expanded when i startup both apache and tomcat services...

---------- Post updated at 09:58 AM ---------- Previous update was at 09:49 AM ----------

u mean webapps folder is the work directory...?
