This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
-start IDE -set proxy configuration for glassfish in its domain.xml -uncheck "Use IDE proxy setting" in server manager -start glassfish from IDE -go to JVM options and search for eg. "http.proxyHost" property (was originally set in domain.xml) => there's no such property, if I check domain.xml then I see that all proxy related changes I've made in domain.xml are lost -workaround is to not start server from IDE
The IDE proxy settings will be propagated to server only when checkbox is selected.
But that's still not true in build 200608140000.
The behaviour described in the issue works as expected. I have listed the tested workflows below. All except the last one are working. Working on a fix for that. What is the issue you are facing? WorkFlow 1: Set jvm options in domain.xml Add server to IDE. Uncheck 'Use IDE settings' Start server. => Previously set values are present in domain.xml WorkFlow 2: Select the 'Use IDE settings' In Tools-->Option, select 'no proxy' Restart server =>The proxy values are removed from domain.xml WorkFlow 3: In Tools-->Option, select HTTP Proxy : set proxy value Restart server WorkFlow 4: Domain.xml has proxy setting has values, say webcache.sfbay.sun.com In IDE, select HTTPproxy and set value to something other than webcache.sfbay.sun.com, like cache.sfbay.sun.com Select 'Use IDE proxy setting' Restart server => The modified proxy values are not updated in the server. Working on a fix for this. The third option where proxy values are set, but aremodified in the IDE does'nt work. I will fix that.
there must be something weird, what I did was: -set custom proxy settings in options -register server in the IDE -start server => IDE proxy settings has been corretly used -uncheck use IDE proxy settings for glassfish in server manager -restart server => IDE proxy settings has been still in use (according to what I saw in properties of JVM options node and in domain's domain.xml) - I'd expect here that there will be no proxy related properties set Other case (probably other issue): just now I wanted to somehow reproduce this behaviour, so I -create new domain (=> 2nd instance of glassfish in server manager) -custom proxy settings has been set in the IDE -start server => proxy related options were not used although there's checked "Use IDE proxy settings" checkbox in the IDE's server manager (the opposite of what I saw in previous case when there was just one instance of glassfish registered in the IDE)
Once the proxy settings are in the domain.xml, even if you uncheck the 'use IDE settings', the values will not be removed. This is because there is way to identify if the values in the server where set via the IDE or outside. The plugin will propagate whatever the current IDE settings are : no proxy, system or custom setting when the 'Use IDE proxy setting' is selected. The second case you described should have worked. I will debug.
Unable to reproduce seond case too. ie Create a second domain in the same local installation Add the second domain in the IDE. The 'Use IDE proxy' is enabled by default. Start the server. If the IDE has custom proxy settings, these are written to the correct domain.xml
works for me nowadays as well