[jbosstools-issues] [JBoss JIRA] (JBIDE-22362) Server Adapter: Static changes done to nodejs application are not visible

Ilya Buziuk (JIRA) issues at jboss.org
Thu Jun 23 17:09:00 EDT 2016


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

Ilya Buziuk commented on JBIDE-22362:
-------------------------------------

[~adietish], I fond an issue with setting DEV_MODE by default. Basically,  [OpenShiftLaunchController|https://github.com/jbosstools/jbosstools-openshift/blob/master/plugins/org.jboss.tools.openshift.core/src/org/jboss/tools/openshift/core/server/behavior/OpenShiftLaunchController.java] which is responsible for running server adapter enables / disables  [DebuggingContext|https://github.com/jbosstools/jbosstools-openshift/blob/master/plugins/org.jboss.tools.openshift.core/src/org/jboss/tools/openshift/internal/core/server/debug/DebuggingContext.java] depending on DEV_MODE env var.  The contract is the following - if either DEV_MODE (node) or DEBUG (eap / java) are true, debugging context is enabled. I have implemented  setting DEV_MODE to true by default, but after restarting server in debug mode it does not working correctly - https://github.com/ibuziuk/jbosstools-openshift/commit/d419c9d3da26ad4cc570c116b5b26e9b872ec726
Any ideas how can this be tackled? I can not figure out how can we enable DEV_MODE without affecting DebuggingContext

> Server Adapter: Static changes done to nodejs application are not visible
> -------------------------------------------------------------------------
>
>                 Key: JBIDE-22362
>                 URL: https://issues.jboss.org/browse/JBIDE-22362
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.4.0.Alpha2
>            Reporter: Marián Labuda
>            Assignee: Ilya Buziuk
>            Priority: Critical
>              Labels: openshift_v3, server_adapter
>             Fix For: 4.4.1.M1
>
>
> I am having an OpenShift application based either on nodejs-example or nodejs-mongodb-example template. Once application is up and running I create a new server adapter and perform changes in index.html. These changes are static and should be (?) immediately visible on OpenShift server, but they are not. I have checked whether changes were published, but rsync in console shows expected output also changes done manually on the server side to index.html are not visible in browser (even when cache overwritten is triggered - so there is no caching problem in browser). This seems to be upstream issues, but requires investigating.
> So far I have tried it on CDK OpenShift. It would be nice to test it on other OpenShift instances, also on templates using different base docker image.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the jbosstools-issues mailing list