- This topic has 3 replies, 2 voices, and was last updated 8 years, 8 months ago by support-swapna.
-
AuthorPosts
-
Max MirabitoParticipantDear Support,
We have recently migrated to MyEclipse 2015 and we are noticing a strange behavior with hot deployment on our web container.
No issues when we modify JSP pages we can see an immediate changes when we refresh the web pages.
However, if we modify servlets and/or java classes we cannot see the changes unless we either restart the server or modify the web.xml file.
The odd thing is that when we save our java classes we can see on the “server pane” that MyEclpsie in publishing and synchronizing the changes.
We have verified that publishing is set to “automatically publish when resource change”. By the way the same behavior is occurring for MyEclipse 2015 CI10 and MyEclipse 2015 Stable 3. Attached is my configuration
Can you tell us what we are doing wrong or what we need to do to overcome this issue which did not occur with MyEclipse 2014.
Thanks in advance
maxAttachments:
You must be logged in to view attached files.
support-swapnaModeratorMax,
Sorry that you are seeing this issue.
Can you please clarify if the server is started in Debug mode? The server must be started in Debug mode for the java hot code replacement to work.
If you are still seeing issues, please check if you can replicate the issue with a simple web project to rule out project specific issues. Please share with us the Server and its version details along with more details about the project to help us investigate further.
Let us know how it works.
–Swapna
MyEclipse Support
Max MirabitoParticipantHi Swapna,
Many thanks for you quick response. You are right I was using the regular runner and not the debug icon. Now it’s working I feel pretty dumb :-).
But for some reason I recall that in the old interface MyEclipse 2014 you could default it at configuration time to always run in “debug” mode. Is there a way to do that – I could not find an option? or do I now need to explicitly click on the debug icon?
Thanks again
max
support-swapnaModeratorMax,
You can explicitly click on the ‘Debug’ icon to start a server in Debug mode.
Alternatively, once a server is started in Debug mode, a launch config will be created. You can save and reuse that config.Hope this helps. Let us know if you have any questions.
–Swapna
MyEclipse Support -
AuthorPosts