karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (KARAF-1359) instance:create fails with Error executing command: Unable to find resource etc/config.properties
Date Wed, 30 May 2012 12:54:23 GMT

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

Christian Schneider reassigned KARAF-1359:
------------------------------------------

    Assignee: Christian Schneider
    
> instance:create fails with Error executing command: Unable to find resource etc/config.properties
> -------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-1359
>                 URL: https://issues.apache.org/jira/browse/KARAF-1359
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-instance
>            Reporter: Christian Schneider
>            Assignee: Christian Schneider
>             Fix For: 3.0.0
>
>
> karaf@root> instance:create -v test
> Creating new instance on SSH port 8104 and RMI registry port 1102 / RMI server port 44447
at: C:\java\apache-karaf-3.0.0-SNAPSHOT\instances\test
> Creating file: C:\java\apache-karaf-3.0.0-SNAPSHOT\instances\test\etc\config.properties
> Error executing command: Unable to find resource etc/config.properties
> 2012-04-12 13:11:26,930 | INFO  | l Console Thread | Console                        
 | araf.shell.console.jline.Console  199 | 41 - org.apache.karaf.shell.console - 3.0.0.SNAPSHOT
| Exception caught while executing command
> java.io.IOException: Unable to find resource etc/config.properties
>         at org.apache.karaf.instance.core.internal.InstanceServiceImpl.copyResourceToDir(InstanceServiceImpl.java:411)
>         at org.apache.karaf.instance.core.internal.InstanceServiceImpl.createInstance(InstanceServiceImpl.java:174)
>         at Proxy4b31c650_c82a_4ece_bfce_eb4dec7e78b1.createInstance(Unknown Source)
>         at Proxyfd896baa_f9f9_4f77_8829_9d85e05a0a2c.createInstance(Unknown Source)
>         at org.apache.karaf.instance.command.CreateCommand.doExecute(CreateCommand.java:63)
>         at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)
>         at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)
>         at org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.6.0_31]
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[:1.6.0_31]
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0_31]
>         at java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_31]
>         at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)[13:org.apache.aries.proxy.impl:0.4.1.SNAPSHOT]
>         at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)[13:org.apache.aries.proxy.impl:0.4.1.SNAPSHOT]
>         at org.apache.karaf.shell.console.commands.$BlueprintCommand12433070.execute(Unknown
Source)[41:org.apache.karaf.shell.console:3.0.0.SNAPSHOT]
>         at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[41:org.apache.karaf.shell.console:3.0.0.SNAPSHOT]
>         at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[41:org.apache.karaf.shell.console:3.0.0.SNAPSHOT]
>         at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[41:org.apache.karaf.shell.console:3.0.0.SNAPSHOT]
>         at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[41:org.apache.karaf.shell.console:3.0.0.SNAPSHOT]
>         at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[41:org.apache.karaf.shell.console:3.0.0.SNAPSHOT]
>         at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[41:org.apache.karaf.shell.console:3.0.0.SNAPSHOT]
>         at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)[41:org.apache.karaf.shell.console:3.0.0.SNAPSHOT]
>         at org.apache.karaf.shell.console.jline.Console.run(Console.java:166)[41:org.apache.karaf.shell.console:3.0.0.SNAPSHOT]
>         at java.lang.Thread.run(Thread.java:662)[:1.6.0_31]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message