Hi,

do you have the complete stack trace (especially to see which files are locked) ?

I will try to reproduce this issue (AFAIR, I tried it when adding root instance support).

Regards
JB

On 11/05/2012 11:52 AM, PJR69 wrote:
I'm trying to clone my root instance with the command: "*admin:clone root
newroot*" on the  Karaf 2.3.0 console.

However, I'm getting an error:
/Error executing command: The process cannot access the file because another
process has locked a portion of the file/

Should this be possible?

The reason why I'm doing this that I've installed some features to Karaf
root (like war deploying etc) and I've then zipped and copied the whole
distribution to an internal server that's not connected to the internet. On
that server I'd like to create several instances that have the same features
that the root has. AFAIU, that needs to be done with cloning because just
creating a new instance doesn't give the features from root to that
instance.

Hmm... Another alternative I guess would be to create a "template" instance
on the internet-side server and install the features there and then clone
that one instead of root. Is this the way to do it?



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Cloning-the-root-tp4026678.html
Sent from the Karaf - User mailing list archive at Nabble.com.


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to