[jbosstools-issues] [JBoss JIRA] (JBIDE-21857) Hot code replacement doesn't work on OpenShift

Rob Stryker (JIRA) issues at jboss.org
Fri Dec 2 16:16:00 EST 2016


    [ https://issues.jboss.org/browse/JBIDE-21857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13333416#comment-13333416 ] 

Rob Stryker commented on JBIDE-21857:
-------------------------------------

Marian is right. It's not working as expected. 

I spent the past 4 hours testing a few different additional ways to make this work, and nothing is working. 

I've even tried disconnecting the remote debugger, doing a full publish, and then connecting the remote debugger again, an entirely new launch. Even this has failed. 

[~tmader] - We may need some help on this issue. I know it is executing the gc's, but nothing seems to be working. I've tried adding delays, I've tried disconnecting and reconnecting, I've tried everything I can think of. I've tried removign all breakpoints, disconnecting, 

I'm not really familiar with how to debug this more deeply or see what can be done. I'm shocked that the gc's aren't doing what we expected them to do. 

> 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.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)


More information about the jbosstools-issues mailing list