Karaf
  1. Karaf
  2. KARAF-1133

Error executing command 'start' when starting a child instance

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.2.5
    • Fix Version/s: 2.2.6, 3.0.0
    • Component/s: karaf-core
    • Labels:
      None

      Description

      From 2.2.5, the admin script can no longer start a child instance with the "start" command. This works perfectly fine in 2.2.4, however.

      $bin/admin create test
      Creating new instance on SSH port 8102 and RMI ports 1100/44445 at: /tmp/apache-karaf-2.2.5/instances/test
      Creating dir: /tmp/apache-karaf-2.2.5/instances/test/bin
      Creating dir: /tmp/apache-karaf-2.2.5/instances/test/etc
      Creating dir: /tmp/apache-karaf-2.2.5/instances/test/system
      Creating dir: /tmp/apache-karaf-2.2.5/instances/test/deploy
      Creating dir: /tmp/apache-karaf-2.2.5/instances/test/data
      Creating file: /tmp/apache-karaf-2.2.5/instances/test/etc/config.properties
      Creating file: /tmp/apache-karaf-2.2.5/instances/test/etc/jre.properties
      Creating file: /tmp/apache-karaf-2.2.5/instances/test/etc/custom.properties
      Creating file: /tmp/apache-karaf-2.2.5/instances/test/etc/java.util.logging.properties
      Creating file: /tmp/apache-karaf-2.2.5/instances/test/etc/org.apache.felix.fileinstall-deploy.cfg
      Creating file: /tmp/apache-karaf-2.2.5/instances/test/etc/org.apache.karaf.log.cfg
      Creating file: /tmp/apache-karaf-2.2.5/instances/test/etc/org.apache.karaf.features.cfg
      Creating file: /tmp/apache-karaf-2.2.5/instances/test/etc/org.ops4j.pax.logging.cfg
      Creating file: /tmp/apache-karaf-2.2.5/instances/test/etc/org.ops4j.pax.url.mvn.cfg
      Creating file: /tmp/apache-karaf-2.2.5/instances/test/etc/startup.properties
      Creating file: /tmp/apache-karaf-2.2.5/instances/test/etc/users.properties
      Creating file: /tmp/apache-karaf-2.2.5/instances/test/etc/system.properties
      Creating file: /tmp/apache-karaf-2.2.5/instances/test/etc/org.apache.karaf.shell.cfg
      Creating file: /tmp/apache-karaf-2.2.5/instances/test/etc/org.apache.karaf.management.cfg
      Creating file: /tmp/apache-karaf-2.2.5/instances/test/bin/karaf
      Creating file: /tmp/apache-karaf-2.2.5/instances/test/bin/start
      Creating file: /tmp/apache-karaf-2.2.5/instances/test/bin/stop

      $bin/admin start test
      [org.apache.karaf.admin.internal.InstanceImpl] : Starting instance test with command: /usr/lib/jvm/java-6-openjdk/jre/bin/java -server -Xmx512M -Dcom.sun.management.jmxremote -Djava.util.logging.config.file="/tmp/apache-karaf-2.2.5/instances/test/etc/java.util.logging.properties" -Djava.endorsed.dirs="/usr/lib/jvm/java-6-openjdk/jre/jre/lib/endorsed:/usr/lib/jvm/java-6-openjdk/jre/lib/endorsed:/tmp/apache-karaf-2.2.5/lib/endorsed" -Djava.ext.dirs="/usr/lib/jvm/java-6-openjdk/jre/jre/lib/ext:/usr/lib/jvm/java-6-openjdk/jre/lib/ext:/tmp/apache-karaf-2.2.5/lib/ext" -Dkaraf.home="/tmp/apache-karaf-2.2.5" -Dkaraf.base="/tmp/apache-karaf-2.2.5/instances/test" -Dkaraf.startLocalConsole=false -Dkaraf.startRemoteShell=true -classpath /tmp/apache-karaf-2.2.5/lib/karaf.jar:/tmp/apache-karaf-2.2.5/lib/karaf-jaas-boot.jar org.apache.karaf.main.Main
      Error execution command 'start': No such file or directory

        Activity

        Thomas Feng created issue -
        Freeman Fang made changes -
        Field Original Value New Value
        Assignee Freeman Fang [ ffang ]
        Freeman Fang made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Freeman Fang made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Fix Version/s 2.2.6 [ 12319142 ]
        Fix Version/s 3.0.0 [ 12316040 ]
        Resolution Fixed [ 1 ]
        Jamie goodyear made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Freeman Fang
            Reporter:
            Thomas Feng
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development