I have the following:
Problem is that no 'hard copy' of said bundles are made so if I try to start the target container while the ACE server is down, only the management agent starts, but I need the target to start whith the last known bundles.
Is there a way to do this only with configuration or do I need to code something?
An OSGi framework should support a persistent bundle cache. Using this will recover all installed bundles and bundle state on a framework restart. This is enable in Felix by default, so if you are using the ace-launcher for targets this works out of the box.
For Equinox this is sometimes disabled. There is a property -osgi.clean=false to make sure the bundle cache survives a restart.