[
https://issues.jboss.org/browse/JBIDE-21857?page=com.atlassian.jira.plugi...
]
Andre Dietisheim edited comment on JBIDE-21857 at 12/1/16 9:49 AM:
-------------------------------------------------------------------
[~mlabuda] Please look into
https://issues.jboss.org/secure/attachment/12413672/12413672_hot-code-rep...
how JMX gets automatically connected for me. For me the basics are working, but there are
the following issues left (as you pointed out, too):
* The "Hot Code Replace Failed" dialog always shows up: once you did a
structutral change to a class, the "Hot Code Replace Failed" dialog will always
show up, prompting you to restart the module. It even shows up if you do non-structural
changes.
* Non-Structural changes are not applied: Non-structural changes are not applied once you
did a structural change, had the module restarted but choose to "Continue"
instead of "Restart Module" in further changes. I believe that this 2nd issue is
thightly coupled to the 1st one. [~rob.stryker] Comments please?
* Code is told to be out-of-synch: I see the debugger reporting this:
!code-out-of-sync.png!
but I cant confirm it. I see the new code being executed and I can can step through it,
set breakpoints to it etc. Even the line number that's being reported in the
stacktrace is correct (in the screenshot, I am halted at a breakpoint that I set to line
30, as reported in the stacktrace)
[~rob.stryker] why is the debugger saying this even though it seem bogus?
I would therefore resolve this issue and create new ones for the remaining issues.
was (Author: adietish):
[~mlabuda] Please look into
https://issues.jboss.org/secure/attachment/12413672/12413672_hot-code-rep...
how JMX gets automatically connected for me. For me the basics are working, but there are
the following issues left (as you pointed out, too):
* The "Hot Code Replace Failed" dialog always shows up: once you did a
structutral change to a class, the "Hot Code Replace Failed" dialog will always
show up, prompting you to restart the module. It even shows up if you do non-structural
changes.
* Non-Structural changes are not applied: Non-structural changes are not applied once you
did a structural change, had the module restarted but choose to "Continue"
instead of "Restart Module" in further changes. I believe that this 2nd issue is
thightly coupled to the 1st one. [~rob.stryker] Comments please?
* Code is told to be out-of-synch: I see the debugger reporting this:
!code-out-of-sync.png!
but I cant confirm it. I see the new code being executed and I can can step through it,
set breakpoints to it etc. Even the line number that's being reported in the
stacktrace is correct (in the screenshot, I am halted at a breakpoint that I set to line
30, as reported in the stacktrace)
[~rob.stryker] why is the debugger saying this even though it seem bogus?
I would therefore resolve this issue and create a new onea for the remaining issues.
Hot code replacement doesn't work on OpenShift
----------------------------------------------
Key: JBIDE-21857
URL:
https://issues.jboss.org/browse/JBIDE-21857
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.3.1.Beta2
Reporter: Fred Bricon
Assignee: Rob Stryker
Fix For: 4.4.2.Final, 4.4.3.AM1, 4.5.0.AM1
Attachments: HCRFailure.zip, code-out-of-sync.png, hot-code-replace-failed.png,
jmx-connected-adapter-synchronized.png
When enabling debug mode on an EAP server deployed on OpenShift, locally changing a class
file will :
- work sometimes when only the content of the method changed, but could fail in some
other occasions with the Debugger saying the JDK is out of sync
- will always fail if a method signature changed, the debugger saying JDK is out of sync
Restarting the deployed module (with the .dodeploy flag) doesn't fixes the issue (as
opposed to the same tweak ahen running on a local EAP server)
This may be caused by running OpenJDK? Does it support the same level of debugging as
Oracle JDK?
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)