# Changes made in userExits.js file for host key not working.

**URL:** <https://techcommunity.softwareag.com/t/changes-made-in-userexits-js-file-for-host-key-not-working/91165>\
**Category:** Forum\
**Tags:** Mainframe-Integration, ApplinX\
**Created:** [September 8, 2009, 4:06pm UTC](https://techcommunity.softwareag.com/t/changes-made-in-userexits-js-file-for-host-key-not-working/91165 "2009-09-08T16:06:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kumar\_piyus](https://avatars.discourse-cdn.com/v4/letter/k/c57346/32.png) [@kumar\_piyus](https://techcommunity.softwareag.com/u/kumar_piyus)\
**Post date:** [September 8, 2009, 4:06pm UTC](https://techcommunity.softwareag.com/t/changes-made-in-userexits-js-file-for-host-key-not-working/91165/1 "2009-09-08T16:06:03Z")

</div>

I made changes in userExits.js file in order to restrict few PF keys but it was not working. I also tried to show an alert but that also did not work.

Do I need to made anymore changes ??

Please help. I am using Applinx8.

---

<div class="post-metadata">

**Author:** ![kumar\_piyus](https://avatars.discourse-cdn.com/v4/letter/k/c57346/32.png) [@kumar\_piyus](https://techcommunity.softwareag.com/u/kumar_piyus)\
**Post date:** [September 10, 2009, 4:35pm UTC](https://techcommunity.softwareag.com/t/changes-made-in-userexits-js-file-for-host-key-not-working/91165/2 "2009-09-10T16:35:40Z")

</div>

Today I saw that the changes made in file userExits.js has started working. It’s working because I removed the application from the server and redeployed again. After doing this only changes made in file userExits.js started working.

May be this is a solution or there is something else that needs to be taken care of.

---

<div class="post-metadata">

**Author:** ![Tanya](https://avatars.discourse-cdn.com/v4/letter/t/35a633/32.png) [@Tanya](https://techcommunity.softwareag.com/u/Tanya)\
**Post date:** [September 13, 2009, 6:51pm UTC](https://techcommunity.softwareag.com/t/changes-made-in-userexits-js-file-for-host-key-not-working/91165/3 "2009-09-13T18:51:14Z")

</div>

Dear Kumar,

in general if you’re working from an Eclipse environment, changes are most likely to take effect immedietly (sometimes tomcat might need a restart). When you change the file inside the tomcat directory, no eclipse involved, you’re more likely to need a restart in order to clean up the server’s cache.

Hope it helps,

Tanya

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:57pm UTC](https://techcommunity.softwareag.com/t/changes-made-in-userexits-js-file-for-host-key-not-working/91165/4 "2021-04-02T14:57:28Z")

</div>


