You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Alexey Markevich (Created) (JIRA)" <ji...@apache.org> on 2011/12/26 15:16:30 UTC

[jira] [Created] (KARAF-1127) Boot features failed to startup when karaf started from directory with closing brace; logs also unavailable

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
    Affects Versions: 2.2.5, 2.2.4
         Environment: Karaf based product with custom boot features
Empty local maven repo
            Reporter: Alexey Markevich


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)

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

        

[jira] [Commented] (KARAF-1127) Boot features failed to startup when karaf started from directory with closing brace; logs also unavailable

Posted by "Jean-Baptiste Onofré (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13230169#comment-13230169 ] 

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

fileinstall interprets the () as a filter:

org.osgi.framework.InvalidSyntaxException: Unknown operator:
at org.apache.felix.framework.FilterImpl.<init>(FilterImpl.java:51)
at org.apache.felix.framework.BundleContextImpl.createFilter(BundleContextImpl.java:132)
at org.apache.felix.cm.impl.ConfigurationManager.listConfigurations(ConfigurationManager.java:554)
at org.apache.felix.cm.impl.ConfigurationAdminImpl.listConfigurations(ConfigurationAdminImpl.java:169)
at org.apache.felix.fileinstall.internal.ConfigInstaller.findExistingConfiguration(ConfigInstaller.java:319)
at org.apache.felix.fileinstall.internal.ConfigInstaller.getConfiguration(ConfigInstaller.java:293)
at org.apache.felix.fileinstall.internal.ConfigInstaller.setConfig(ConfigInstaller.java:218)
at org.apache.felix.fileinstall.internal.ConfigInstaller.install(ConfigInstaller.java:82)
at org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:888)
at org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:816)
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:454)
at org.apache.felix.fileinstall.internal.DirectoryWatcher.start(DirectoryWatcher.java:205)
at org.apache.felix.fileinstall.internal.FileInstall.updated(FileInstall.java:227)
at org.apache.felix.fileinstall.internal.FileInstall.start(FileInstall.java:131)
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:641)
at org.apache.felix.framework.Felix.doActivateBundle(Felix.java:2044)
at org.apache.felix.framework.Felix$4.call(Felix.java:1969)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)

So, the problem is really on fileinstall which should escape the braces.
                
> 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

       

[jira] [Commented] (KARAF-1127) Boot features failed to startup when karaf started from directory with closing brace; logs also unavailable

Posted by "Jean-Baptiste Onofré (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13227227#comment-13227227 ] 

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

OK, I saw an issue on Linux also:

log:display doesn't display anything

and 

log:set DEBUG

raises a NullPointerException.
                
> 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

       

[jira] [Resolved] (KARAF-1127) Boot features failed to startup when karaf started from directory with closing brace; logs also unavailable

Posted by "Jean-Baptiste Onofré (Resolved JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré resolved KARAF-1127.
-----------------------------------------

    Resolution: Fixed
    
> 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

       

[jira] [Commented] (KARAF-1127) Boot features failed to startup when karaf started from directory with closing brace; logs also unavailable

Posted by "Jean-Baptiste Onofré (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13229222#comment-13229222 ] 

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

Interesting:

I have installed Karaf in a folder with a space/braces.

In the etc/config.properties file, I define another path (without braces) in felix.fileinstall.dir:

felix.fileinstall.dir=/tmp/etc

And like this, all is working fine.

I'm digging ;)
                
> 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

       

[jira] [Commented] (KARAF-1127) Boot features failed to startup when karaf started from directory with closing brace; logs also unavailable

Posted by "Jean-Baptiste Onofré (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13229116#comment-13229116 ] 

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

No, admin is OK (just have to remove the instances directory after "rename" the directory).

I'm investigating around.
                
> 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

       

[jira] [Commented] (KARAF-1127) Boot features failed to startup when karaf started from directory with closing brace; logs also unavailable

Posted by "Jean-Baptiste Onofré (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13230211#comment-13230211 ] 

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

I raised the Jira at Felix and provided a patch.

Now, we have to wait a new fileinstall release.
                
> 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

       

[jira] [Commented] (KARAF-1127) Boot features failed to startup when karaf started from directory with closing brace; logs also unavailable

Posted by "Saphen Qiu (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13220748#comment-13220748 ] 

Saphen Qiu commented on KARAF-1127:
-----------------------------------

I meet the error when the installation path contains "()", I am using karaf 2.2.1, can somebody please help to fix the issue and so that we can update karaf accordingly?
                
> 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

       

[jira] [Commented] (KARAF-1127) Boot features failed to startup when karaf started from directory with closing brace; logs also unavailable

Posted by "Jean-Baptiste Onofré (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13229111#comment-13229111 ] 

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

The instances.properties is not updated correctly, and admin:list displays Error as instance state when using KARAF_HOME containing space.
                
> 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

       

[jira] [Updated] (KARAF-1127) Boot features failed to startup when karaf started from directory with closing brace; logs also unavailable

Posted by "Jean-Baptiste Onofré (Updated JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

      Component/s: karaf-core
    Fix Version/s: 3.0.0
                   2.2.6
    
> 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 based product with custom boot features
> Empty local maven repo
>            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)

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

       

[jira] [Closed] (KARAF-1127) Boot features failed to startup when karaf started from directory with closing brace; logs also unavailable

Posted by "Jamie goodyear (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jamie goodyear closed KARAF-1127.
---------------------------------

    
> 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

       

[jira] [Commented] (KARAF-1127) Boot features failed to startup when karaf started from directory with closing brace; logs also unavailable

Posted by "Jean-Baptiste Onofré (Commented JIRA)" <ji...@apache.org>.
    [ 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

       

[jira] [Updated] (KARAF-1127) Boot features failed to startup when karaf started from directory with closing brace; logs also unavailable

Posted by "Alexey Markevich (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Markevich updated KARAF-1127:
------------------------------------

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

  was:
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)

    Environment: 
Karaf with fix KARAF-1124
Empty local maven repo
No internet connection

  was:
Karaf based product with custom boot features
Empty local maven repo

    
> 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

       

[jira] [Commented] (KARAF-1127) Boot features failed to startup when karaf started from directory with closing brace; logs also unavailable

Posted by "Jean-Baptiste Onofré (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13230001#comment-13230001 ] 

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

The issue doesn't look to come from Felix fileinstall as if I put braces in the deploy dir path, fileinstall is able to deploy the bundle jar.

So, I think it's linked to the way that we load the config.properties in the Karaf Main.
                
> 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

       

[jira] [Commented] (KARAF-1127) Boot features failed to startup when karaf started from directory with closing brace; logs also unavailable

Posted by "Jean-Baptiste Onofré (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13226284#comment-13226284 ] 

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

I will fix that for Karaf 2.2.6.
                
> 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

       

[jira] [Commented] (KARAF-1127) Boot features failed to startup when karaf started from directory with closing brace; logs also unavailable

Posted by "Jean-Baptiste Onofré (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13176109#comment-13176109 ] 

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

Thanks for the detailed explanation Alexey, I will take a look later today.
                
> 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

       

[jira] [Work started] (KARAF-1127) Boot features failed to startup when karaf started from directory with closing brace; logs also unavailable

Posted by "Jean-Baptiste Onofré (Work started JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on KARAF-1127 started by Jean-Baptiste Onofré.

> 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

       

[jira] [Commented] (KARAF-1127) Boot features failed to startup when karaf started from directory with closing brace; logs also unavailable

Posted by "Jean-Baptiste Onofré (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13227137#comment-13227137 ] 

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

I tested with both Felix and Equinox frameworks, using the following path for Karaf:

/home/jbonofre/karaf (test)/

so including space and braces.

I didn't reproduce the issue on Ubuntu and Fedora using Sun JDI 1.6.

I'm going to test with Windows VM to reproduce.
                
> 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

       

[jira] [Assigned] (KARAF-1127) Boot features failed to startup when karaf started from directory with closing brace; logs also unavailable

Posted by "Jean-Baptiste Onofré (Assigned JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré reassigned KARAF-1127:
-------------------------------------------

    Assignee: Jean-Baptiste Onofré
    
> 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
>    Affects Versions: 2.2.4, 2.2.5
>         Environment: Karaf based product with custom boot features
> Empty local maven repo
>            Reporter: Alexey Markevich
>            Assignee: Jean-Baptiste Onofré
>
> 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)

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