# .war deployment in module

**URL:** <https://forum.inductiveautomation.com/t/war-deployment-in-module/12202>\
**Category:** 3rd Party Modules\
**Created:** [October 5, 2016, 4:34pm UTC](https://forum.inductiveautomation.com/t/war-deployment-in-module/12202 "2016-10-05T16:34:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![cody.tamaki](https://avatars.discourse-cdn.com/v4/letter/c/b487fb/32.png) [@cody.tamaki](https://forum.inductiveautomation.com/u/cody.tamaki)\
**Post date:** [October 5, 2016, 4:34pm UTC](https://forum.inductiveautomation.com/t/war-deployment-in-module/12202/1 "2016-10-05T16:34:51Z")

</div>

Hello,

I’ve got a client with a jsp/.war program running on tomcat on another server. It would be awesome if I could free up a server for them and run that on Ignition/Jetty.

I know the Gateway Context has an .addServlet method, but what do I do about a .war would expect a servlet container, not a servlet right? Do I need to look through the source code in the original project and modify it to mount as a servlet?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [October 5, 2016, 4:37pm UTC](https://forum.inductiveautomation.com/t/war-deployment-in-module/12202/2 "2016-10-05T16:37:40Z")

</div>

Yeah, getting this app to run as a simple servlet that you can add via the API is pretty much the only chance you have at getting this running.

---

<div class="post-metadata">

**Author:** ![cody.tamaki](https://avatars.discourse-cdn.com/v4/letter/c/b487fb/32.png) [@cody.tamaki](https://forum.inductiveautomation.com/u/cody.tamaki)\
**Post date:** [October 7, 2016, 2:54pm UTC](https://forum.inductiveautomation.com/t/war-deployment-in-module/12202/3 "2016-10-07T14:54:43Z")

</div>

Bummer. What does that mean for frameworks like Jersey that expect to run on a servlet container? Same thing?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [October 7, 2016, 3:13pm UTC](https://forum.inductiveautomation.com/t/war-deployment-in-module/12202/4 "2016-10-07T15:13:40Z")

</div>

Ignition does not provide any kind of container environment to run in. I wouldn’t expect any of these types of frameworks to run properly.

The memory pressure from Ignition alone is bad enough, the last thing we want is a bunch of other services that we have no control over running on the same process. What a nightmare.

---

<div class="post-metadata">

**Author:** ![cody.tamaki](https://avatars.discourse-cdn.com/v4/letter/c/b487fb/32.png) [@cody.tamaki](https://forum.inductiveautomation.com/u/cody.tamaki)\
**Post date:** [October 7, 2016, 3:48pm UTC](https://forum.inductiveautomation.com/t/war-deployment-in-module/12202/5 "2016-10-07T15:48:30Z")

</div>

Ok yeah that makes perfect sense. Thanks Kevin!
