1

I am trying to accomplish the same in Intellij as in Eclipse, but I can't get it to work. If I use Eclipse with the Websphere plugins, I can change code anytime without having to manually redeploy or restart the server (websphere liberty).

In Intellij I followed the guidelines, such that I have an exploded webapp linked to websphere. Everything works fine except for the hot deployment. Whenever I change a simple line (e.g. a statement in a servlet) I have to manually press the redeployment button so that the server picks it up. My aim is to have code changes reflect immediately in my website without having to trigger anything manually. How?

Andy Guibert
  • 41,446
  • 8
  • 38
  • 61
user1120821
  • 439
  • 7
  • 18
  • What version of IntelliJ are you using? What edition (Community or Ultimate) are you using? Re this: "In Intellij I followed the guidelines" ... what guidelines? Do you have a link to them? – glytching Sep 23 '17 at 14:58
  • Intellij Ultimate 2017.2.4. I basically followed the procedure as defined here: https://www.jetbrains.com/help/idea/run-debug-configuration-websphere-server.html#d17085e2045 – user1120821 Sep 23 '17 at 17:21
  • And presumably you followed the instructions under "On 'Update' action" ... – glytching Sep 23 '17 at 18:29
  • See https://www.jetbrains.com/help/idea/updating-applications-on-application-servers.html. – CrazyCoder Sep 23 '17 at 18:33
  • Ok, I played around with various options. I got a somewhat working situation by activating and setting the 'On frame deactivation' to 'Update Classes and Resources'. However, it essentially stops and restarts the webapp which takes about 2-3 seconds. I wish this were just instant, but at least I'm avoiding manual steps now. – user1120821 Sep 24 '17 at 07:37
  • Could you post your configuration please? I mean the complete one as it could be useful to other people – Pipo Jun 12 '21 at 10:43
  • submitted a request here on intellij support: https://intellij-support.jetbrains.com/hc/en-us/requests/3365066 – Pipo Jun 25 '21 at 13:34

0 Answers0