You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Martin Basovník (JIRA)" <ji...@apache.org> on 2015/12/18 12:05:46 UTC

[jira] [Created] (KARAF-4225) Karaf commands are not executed synchronously

Martin Basovník created KARAF-4225:
--------------------------------------

             Summary: Karaf commands are not executed synchronously
                 Key: KARAF-4225
                 URL: https://issues.apache.org/jira/browse/KARAF-4225
             Project: Karaf
          Issue Type: Bug
          Components: karaf-shell
    Affects Versions: 4.0.3
            Reporter: Martin Basovník


Karaf commands are not executed synchronously. If we modify a configuration file the result is not applicable immediately.

*Reproducer:*
{code}
rm -rf $HOME/.m2/repository/org/drools/drools-karaf-features
{code}
Start karaf
{code}
./bin/client -b
config:edit org.ops4j.pax.url.mvn
config:property-append org.ops4j.pax.url.mvn.repositories ", http://maven.repository.redhat.com/techpreview/all/@id=techpreview"
config:update
feature:repo-add mvn:org.drools/drools-karaf-features/6.3.0.Final-redhat-5/xml/features
CTRL+D
{code}
=> *Error*
{code}
Error executing command: Unable to add repositories:
	Error resolving artifact org.drools:drools-karaf-features:xml:features:6.3.0.Final-redhat-5: Could not transfer artifact org.drools:drools-karaf-features:xml:features:6.3.0.Final-redhat-5 from/to jboss.public.repo (http://repository.jboss.org/nexus/content/repositories/public/): Connection pool shut down
{code}

Execute {{repo-add}} command again:
{code}
./bin/client feature:repo-add mvn:org.drools/drools-karaf-features/6.3.0.Final-redhat-5/xml/features
{code}

=> *OK*



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)