Hi,
it seems that the configuration admin does not check for valid pids
(according to the spec). Can you please open a bug for it?
Thanks
Carsten
peter.doornbosch wrote:
Hi,
The ConfigurationAdmin service accepts keys that contain spaces and
writes such values to the file store. This causes problems when
restarting, as it can't parse the file that it wrote itself:
*ERROR* Error loading configuration for needsconfig
java.io.IOException: Unexpected token 78; expected: 61 (line=2, pos=15)
at
org.apache.felix.cm.file.ConfigurationHandler.readFailure(ConfigurationHandler.java:651)
at
org.apache.felix.cm.file.ConfigurationHandler.readInternal(ConfigurationHandler.java:270)
The bogus key/values is not always passed to the managed service
(sometimes it is), but i could not yet determine under which
circumstances it is / is not passed. However, it's always written to the
file store.
Regards,
Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Carsten Ziegeler
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]