fipro78 opened a new issue, #54:
URL: https://github.com/apache/felix-atomos/issues/54

   Hi,
   
   while investigating on the behavior of different OSGi runtimes I noticed 
that the persistence is never cleared when using Atomos.
   
   Attached are two simple setups that use Atomos. The application is basically 
a Gogo Shell with some commands that use SCR, ConfigAdmin and EventAdmin to 
verify if things are working.
   
   For Felix the system property 
`-Dorg.osgi.framework.storage.clean=onFirstInit` should clean the persistence 
on start.
   For Equinox I assumed `-clean` should do the same.
   
   In both cases the persistence is never cleared. You can check this by 
starting the application and then call `fipro:configure <some_value>`. Then 
call `fipro:welcome` which actually reads the configuration value and prints it 
to the console. Then stop the application and start it again. With the 
mentioned clean parameters the `welcome` command should print `null`, but it 
always prints the previously configure value. So the configuration persistence 
area is never cleared.
   
   
[folder_atomos_equinox.zip](https://github.com/apache/felix-atomos/files/8670572/folder_atomos_equinox.zip)
   
[folder_atomos_felix.zip](https://github.com/apache/felix-atomos/files/8670575/folder_atomos_felix.zip)
   .


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to