I'm building an OSGi application using Equinox. It is essential for this application, that the individual bundles can be updated.
The application checks a folder on a HTTP server for new versions of the bundles and if any new bundles are available. If any new bundle is available, the application loads the *.jar file and updates this bundle. The update is performed by stopping the bundle, updating it with the input stream of the loaded file and starting the bundle again.
The problem is, that after updating a file and restarting the application, the old version of the file is used and not the new one.
Michael