Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
4.0.0
-
None
-
None
Description
When admin:create'ing a new instance, a startup script named karaf is being generated
gert@pantoef:~/opt/apache-servicemix-4.1.0-SNAPSHOT$ bin/admin create test
Creating new instance on port 8102 at: /home/gert/opt/apache-servicemix-4.1.0-SNAPSHOT/instances/test
Creating dir: /home/gert/opt/apache-servicemix-4.1.0-SNAPSHOT/instances/test/bin
Creating dir: /home/gert/opt/apache-servicemix-4.1.0-SNAPSHOT/instances/test/etc
Creating dir: /home/gert/opt/apache-servicemix-4.1.0-SNAPSHOT/instances/test/system
Creating dir: /home/gert/opt/apache-servicemix-4.1.0-SNAPSHOT/instances/test/deploy
Creating dir: /home/gert/opt/apache-servicemix-4.1.0-SNAPSHOT/instances/test/data
Creating file: /home/gert/opt/apache-servicemix-4.1.0-SNAPSHOT/instances/test/etc/config.properties
Creating file: /home/gert/opt/apache-servicemix-4.1.0-SNAPSHOT/instances/test/etc/java.util.logging.properties
Creating file: /home/gert/opt/apache-servicemix-4.1.0-SNAPSHOT/instances/test/etc/org.apache.felix.fileinstall-deploy.cfg
Creating file: /home/gert/opt/apache-servicemix-4.1.0-SNAPSHOT/instances/test/etc/org.apache.felix.karaf.log.cfg
Creating file: /home/gert/opt/apache-servicemix-4.1.0-SNAPSHOT/instances/test/etc/org.apache.felix.karaf.features.cfg
Creating file: /home/gert/opt/apache-servicemix-4.1.0-SNAPSHOT/instances/test/etc/org.apache.felix.karaf.management.cfg
Creating file: /home/gert/opt/apache-servicemix-4.1.0-SNAPSHOT/instances/test/etc/org.ops4j.pax.logging.cfg
Creating file: /home/gert/opt/apache-servicemix-4.1.0-SNAPSHOT/instances/test/etc/org.ops4j.pax.url.mvn.cfg
Creating file: /home/gert/opt/apache-servicemix-4.1.0-SNAPSHOT/instances/test/etc/startup.properties
Creating file: /home/gert/opt/apache-servicemix-4.1.0-SNAPSHOT/instances/test/etc/users.properties
Creating file: /home/gert/opt/apache-servicemix-4.1.0-SNAPSHOT/instances/test/etc/system.properties
Creating file: /home/gert/opt/apache-servicemix-4.1.0-SNAPSHOT/instances/test/etc/org.apache.felix.karaf.shell.cfg
Creating file: /home/gert/opt/apache-servicemix-4.1.0-SNAPSHOT/instances/test/bin/karaf
Creating file: /home/gert/opt/apache-servicemix-4.1.0-SNAPSHOT/instances/test/bin/start
Creating file: /home/gert/opt/apache-servicemix-4.1.0-SNAPSHOT/instances/test/bin/stop
This script will delegate back to the KARAF_HOME/bin/karaf script which has been replaced by bin/servicemix, to the created instance can not be started.