karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Updated] (KARAF-2035) Not able to clone the root instance
Date Fri, 21 Dec 2012 12:59:12 GMT

     [ https://issues.apache.org/jira/browse/KARAF-2035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jean-Baptiste Onofré updated KARAF-2035:
----------------------------------------

    Fix Version/s: 3.0.0
                   2.3.1
    
> Not able to clone the root instance
> -----------------------------------
>
>                 Key: KARAF-2035
>                 URL: https://issues.apache.org/jira/browse/KARAF-2035
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-instance, karaf-shell
>    Affects Versions: 2.3.0
>         Environment: Windows 7, Oracle JDK 1.6
>            Reporter: Claudiu Dumitrescu
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.3.1, 3.0.0
>
>
> When I try to clone the root instance I get the exception:
> {color:red}Error executing command: The process cannot access the file because another
process has locked a portion of the file{color}
> From the log I read:
> {quote}
> java.io.IOException: The process cannot access the file because another process has locked
a portion of the file
>         at java.io.FileInputStream.readBytes(Native Method)[:1.6.0_35]
>         at java.io.FileInputStream.read(FileInputStream.java:198)[:1.6.0_35]
>         at org.apache.karaf.admin.internal.AdminServiceImpl.copy(AdminServiceImpl.java:530)[43:org.apache.karaf.admin.core:2.3.0]
>         at org.apache.karaf.admin.internal.AdminServiceImpl.copy(AdminServiceImpl.java:523)[43:org.apache.karaf.admin.core:2.3.0]
>         at org.apache.karaf.admin.internal.AdminServiceImpl.copy(AdminServiceImpl.java:523)[43:org.apache.karaf.admin.core:2.3.0]
>         at org.apache.karaf.admin.internal.AdminServiceImpl.copy(AdminServiceImpl.java:523)[43:org.apache.karaf.admin.core:2.3.0]
>         at org.apache.karaf.admin.internal.AdminServiceImpl.cloneInstance(AdminServiceImpl.java:325)[43:org.apache.karaf.admin.core:2.3.0]
>         at Proxy4cd52749_879e_4fa9_bb31_30fa2e0339f2.cloneInstance(Unknown Source)[:]
>         at org.apache.karaf.admin.command.CloneCommand.doExecute(CloneCommand.java:57)[27:org.apache.karaf.admin.command:2.3.0]
>         at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)[14:org.apache.karaf.shell.console:2.3.0]
>         at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)[14:org.apache.karaf.shell.console:2.3.0]
>         at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[14:org.apache.karaf.shell.console:2.3.0]
>         at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)[14:org.apache.karaf.shell.console:2.3.0]
>         at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)[14:org.apache.karaf.shell.console:2.3.0]
>         at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[14:org.apache.karaf.shell.console:2.3.0]
>         at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[14:org.apache.karaf.shell.console:2.3.0]
>         at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[14:org.apache.karaf.shell.console:2.3.0]
>         at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)[14:org.apache.karaf.shell.console:2.3.0]
>         at org.apache.karaf.shell.console.jline.Console.run(Console.java:175)[14:org.apache.karaf.shell.console:2.3.0]
>         at java.lang.Thread.run(Thread.java:662)[:1.6.0_35]
> {quote}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message