Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-5018

Missing files in distribution created by instance:create

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 4.1.0
    • 4.0.9, 4.1.1
    • karaf
    • None

    Description

      When creating a node using instance:create -v test-01 I see a number of files are listed missing even though they are present in the main installation at the etc folder. Here is a sample output:

      Creating new instance on SSH port 8104 and registry port 1102 / RMI server port 44447 at: /opt/apache-karaf-4.1.0/instances/test-01
      Creating dir: /opt/apache-karaf-4.1.0/instances/test-01/bin
      Creating dir: /opt/apache-karaf-4.1.0/instances/test-01/etc
      Creating dir: /opt/apache-karaf-4.1.0/instances/test-01/system
      Creating dir: /opt/apache-karaf-4.1.0/instances/test-01/deploy
      Creating dir: /opt/apache-karaf-4.1.0/instances/test-01/data
      Creating file: /opt/apache-karaf-4.1.0/instances/test-01/etc/all.policy
      Creating file: /opt/apache-karaf-4.1.0/instances/test-01/etc/config.properties
      Creating file: /opt/apache-karaf-4.1.0/instances/test-01/etc/custom.properties
      Creating file: /opt/apache-karaf-4.1.0/instances/test-01/etc/distribution.info
      Creating file: /opt/apache-karaf-4.1.0/instances/test-01/etc/equinox-debug.properties
      Creating file: /opt/apache-karaf-4.1.0/instances/test-01/etc/java.util.logging.properties
      Creating file: /opt/apache-karaf-4.1.0/instances/test-01/etc/jmx.acl.cfg
      	WARNING: unable to find etc/jmx.acl.cfg
      Creating file: /opt/apache-karaf-4.1.0/instances/test-01/etc/jre.properties
      Creating file: /opt/apache-karaf-4.1.0/instances/test-01/etc/keys.properties
      Creating file: /opt/apache-karaf-4.1.0/instances/test-01/etc/org.apache.felix.fileinstall-deploy.cfg
      Creating file: /opt/apache-karaf-4.1.0/instances/test-01/etc/org.apache.karaf.features.repos.cfg
      	WARNING: unable to find etc/org.apache.karaf.features.repos.cfg
      Creating file: /opt/apache-karaf-4.1.0/instances/test-01/etc/org.apache.karaf.jaas.cfg
      	WARNING: unable to find etc/org.apache.karaf.jaas.cfg
      Creating file: /opt/apache-karaf-4.1.0/instances/test-01/etc/org.apache.karaf.kar.cfg
      Creating file: /opt/apache-karaf-4.1.0/instances/test-01/etc/org.apache.karaf.log.cfg
      	WARNING: unable to find etc/org.apache.karaf.log.cfg
      Creating file: /opt/apache-karaf-4.1.0/instances/test-01/etc/org.ops4j.pax.logging.cfg
      Creating file: /opt/apache-karaf-4.1.0/instances/test-01/etc/org.ops4j.pax.url.mvn.cfg
      Creating file: /opt/apache-karaf-4.1.0/instances/test-01/etc/shell.init.script
      Creating file: /opt/apache-karaf-4.1.0/instances/test-01/etc/users.properties
      Creating file: /opt/apache-karaf-4.1.0/instances/test-01/etc/org.apache.karaf.features.cfg
      Creating file: /opt/apache-karaf-4.1.0/instances/test-01/etc/system.properties
      Creating file: /opt/apache-karaf-4.1.0/instances/test-01/etc/org.apache.karaf.shell.cfg
      Creating file: /opt/apache-karaf-4.1.0/instances/test-01/etc/org.apache.karaf.management.cfg
      Creating file: /opt/apache-karaf-4.1.0/instances/test-01/bin/karaf
      Creating file: /opt/apache-karaf-4.1.0/instances/test-01/bin/start
      Creating file: /opt/apache-karaf-4.1.0/instances/test-01/bin/stop
      Creating file: /opt/apache-karaf-4.1.0/instances/test-01/bin/karaf.bat
      Creating file: /opt/apache-karaf-4.1.0/instances/test-01/bin/start.bat
      Creating file: /opt/apache-karaf-4.1.0/instances/test-01/bin/stop.bat
      

      Attachments

        Issue Links

          Activity

            People

              jbonofre Jean-Baptiste Onofré
              jbonofre Jean-Baptiste Onofré
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: