You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2017/03/23 16:07:41 UTC

[jira] [Commented] (KARAF-5018) Missing files in distribution created by instance:create

    [ https://issues.apache.org/jira/browse/KARAF-5018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15938658#comment-15938658 ] 

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

As lot of config (most of) are now located in {{features.xml}}, the current build is not really accurate, as it's using relative folder (to {{assemblies}}).

As a quick workaround, I will put default files set in the default instance resources.

> Missing files in distribution created by instance:create
> --------------------------------------------------------
>
>                 Key: KARAF-5018
>                 URL: https://issues.apache.org/jira/browse/KARAF-5018
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-instance
>    Affects Versions: 4.1.0
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>            Priority: Critical
>             Fix For: 4.1.1
>
>
> 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:
> {code}
> 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
> {code}



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