karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (Commented) (JIRA) <j...@apache.org>
Subject [jira] [Commented] (KARAF-1127) Boot features failed to startup when karaf started from directory with closing brace; logs also unavailable
Date Wed, 14 Mar 2012 11:08:37 GMT

    [ https://issues.apache.org/jira/browse/KARAF-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13229131#comment-13229131
] 

Jean-Baptiste Onofré commented on KARAF-1127:
---------------------------------------------

OK, I think I understand the issue:

karaf@root> config:list 
----------------------------------------------------------------
Pid:            org.apache.karaf.shell
BundleLocation: mvn:org.apache.karaf.shell/org.apache.karaf.shell.ssh/2.2.6-SNAPSHOT
Properties:
   service.pid = org.apache.karaf.shell
   sshPort = 8101
   hostKey = /home/jbonofre/workspace/karaf/karaf/assemblies/apache-karaf/target/karaf (test)/etc/host.key
   sshRealm = karaf
   sshHost = 0.0.0.0
   org.apache.karaf.features.configKey = org.apache.karaf.shell


We have only one PID registered in ConfigAdmin ;)

It's the main cause of the issue: lot of configuration is missing.
                
> Boot features failed to startup when karaf started from directory with closing brace;
logs also unavailable
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-1127
>                 URL: https://issues.apache.org/jira/browse/KARAF-1127
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core
>    Affects Versions: 2.2.4, 2.2.5
>         Environment: Karaf with fix KARAF-1124
> Empty local maven repo
> No internet connection
>            Reporter: Alexey Markevich
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.2.6, 3.0.0
>
>
> Product started but logs contains only following record:
> 26.12.2011 17:10:32 org.apache.karaf.main.SimpleFileLock lock
> INFO: locking
> I tried to debug and found that property org.ops4j.pax.url.mvn.defaultRepositories is
null at 
> org.ops4j.pax.swissbox.property.BundleContextPropertyResolver.findProperty(String)
> Console output:
> [Thread-6] ERROR org.apache.karaf.features.internal.FeaturesServiceImpl - Error installing
boot feature config: feature not found
> [Thread-6] ERROR org.apache.karaf.features.internal.FeaturesServiceImpl - Error installing
boot feature ssh: feature not found
> [Thread-6] ERROR org.apache.karaf.features.internal.FeaturesServiceImpl - Error installing
boot feature management: feature not found
> [Thread-6] ERROR org.apache.karaf.features.internal.FeaturesServiceImpl - Error installing
boot feature kar: feature not found

--
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