Hi guys,
I have a question: Is there any restriction on the key of a service
property, restriction that says that the key should not start with . (dot)?
I'm asking this because I'm using the configuration admin and the
configuration admin is complaining about properties that start with . when
restoring the persisted state.
java.io.IOException: Name (.alias_factory_pid) must not start or end with a
dot
at org.apache.felix.cm.file.ConfigurationHandler.readName(
ConfigurationHandler.java:596)
at org.apache.felix.cm.file.ConfigurationHandler.nextToken(
ConfigurationHandler.java:555)
at org.apache.felix.cm.file.ConfigurationHandler.readInternal(
ConfigurationHandler.java:263)
at org.apache.felix.cm.file.ConfigurationHandler.read(
ConfigurationHandler.java:234)
at org.apache.felix.cm.file.FilePersistenceManager.load(
FilePersistenceManager.java:437)
at org.apache.felix.cm.file.FilePersistenceManager.load(
FilePersistenceManager.java:375)
at org.apache.felix.cm.impl.ConfigurationManager.getConfiguration(
ConfigurationManager.java:577)
at org.apache.felix.cm.impl.ConfigurationManager.getConfiguration(
ConfigurationManager.java:357)
at
org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceFactoryUpdate.run
(ConfigurationManager.java:912)
at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:89)
Thanx,
Alin