| Summary: | [nano] org.eclipse.virgo.kernel.userregion configuration included in nano | ||
|---|---|---|---|
| Product: | [RT] Virgo | Reporter: | Glyn Normington <glyn.normington> |
| Component: | runtime | Assignee: | Borislav Kapukaranov <b.kapukaranov> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | b.kapukaranov |
| Version: | unspecified | ||
| Target Milestone: | 3.5.0.M02 | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
|
Description
Glyn Normington
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. |