You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicemix.apache.org by "Bob Blackard (JIRA)" <ji...@apache.org> on 2017/05/17 19:25:04 UTC

[jira] [Created] (SM-3352) Commands failing when run by client or ssh

Bob Blackard created SM-3352:
--------------------------------

             Summary: Commands failing when run by client or ssh
                 Key: SM-3352
                 URL: https://issues.apache.org/jira/browse/SM-3352
             Project: ServiceMix
          Issue Type: Bug
          Components: servicemix-core
    Affects Versions: 7.0.0
         Environment: Verified in both Windows 10 and CentOS 7.3 using Java 8
            Reporter: Bob Blackard


The _*headers*_ command fails when run as a command from bin/client or ssh.  Other commands (eg. _*list -t 0*_) work just fine, but _*headers*_ is producing errors.  Specifically, each bundle is listed with no contents, and a list of errors are produced.  The bundle list shows:
{code}
$ ssh -p 8101 admin@localhost headers

System Bundle (0)
-----------------

OPS4J Pax Logging - API (1)
---------------------------

...
{code}
The reported errors start with:
{code}
Error executing command: Error executing command on bundles:
        Unable to execute command on bundle 0: null
        Unable to execute command on bundle 1: null
        Unable to execute command on bundle 2: null
{code}

Connecting with bin/client or ssh and running the headers command from the Karaf Console command line produced the expected/desired results.  For example:
{code}
admin@root>headers

OPS4J Pax Logging - API (1)
---------------------------
Bnd-LastModified = 1451368944325
Build-Jdk = 1.7.0_67
Built-By = jbonofre
Created-By = Apache Maven Bundle Plugin
Manifest-Version = 1.0
Tool = Bnd-1.50.0

Bundle-Activator = org.ops4j.pax.logging.internal.Activator
...
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)