Community
Participate
Working Groups
This seems inappropriate since nano does not include a user region.
This can be observed by using jconsole and looking under MBeans->org.eclipse.virgo.kernel->Configuration
Note that the properties file itself is NOT included in /config so there must be someone that creates this configuration programatically.
(In reply to comment #2) > Note that the properties file itself is NOT included in /config so there must > be someone that creates this configuration programatically. Agreed. CommandLinePropertiesSource seems to be the source as the single property appears in jconsole: commandLineArtifacts which appears to have an empty string value.
(In reply to comment #3) > Agreed. CommandLinePropertiesSource seems to be the source as the single > property appears in jconsole: commandLineArtifacts which appears to have an > empty string value. Do you have any idea why CommandLinePropertiesSource binds this configuration with one empty-valued property? Can this behavior be removed?
(In reply to comment #4) > (In reply to comment #3) > > Agreed. CommandLinePropertiesSource seems to be the source as the single > > property appears in jconsole: commandLineArtifacts which appears to have an > > empty string value. > > Do you have any idea why CommandLinePropertiesSource binds this configuration > with one empty-valued property? Can this behavior be removed? No, sorry. I hope this behaviour can be removed without much impact.
It seems this default value can be safely removed, I tested that on a VK instance. I guess it was put there precautionary to avoid any chance of NPEs in case the StringUtils that are handling this value won't cope with null string values. Apparently this is not the case. Fixed in commit 3515ad8 of the Nano repository.