Child instances does not startup correctly
------------------------------------------

                 Key: SMX4-813
                 URL: https://issues.apache.org/jira/browse/SMX4-813
             Project: ServiceMix 4
          Issue Type: Bug
    Affects Versions: 4.3.0
         Environment: Windows
            Reporter: Linus Brimstedt 


Seems like child instances cannot be started if servicemix installation path 
has spaces in them.

On start; exception is thrown:
java.io.IOException: An established connection was aborted by the software in 
your host machine

Debug output shows:

08:12:14,167 | DEBUG | Thread-34        | InstanceImpl                     | 8 
- org.apache.karaf.admin.core - 2.1.4.fuse-00-09 | Starting instance t with 
command: C:\Program Files\Java\jre6\bin\java.exe -server -Xmx512M 
-Dcom.sun.management.jmxremote -Djava.util.logging.config.file="C:\Program 
Files\Apache Software 
Foundation\ServiceMix\instances\t\etc\java.util.logging.properties" 
-Djava.endorsed.dirs="C:\Program Files\Java\jre6\jre\lib\endorsed;C:\Program 
Files\Java\jre6\lib\endorsed;C:\Program Files\Apache Software 
Foundation\ServiceMix\lib\endorsed" -Djava.ext.dirs="C:\Program 
Files\Java\jre6\jre\lib\ext;C:\Program Files\Java\jre6\lib\ext;C:\Program 
Files\Apache Software Foundation\ServiceMix\lib\ext" -Dkaraf.home="C:\Program 
Files\Apache Software Foundation\ServiceMix" -Dkaraf.base="C:\Program 
Files\Apache Software Foundation\ServiceMix\instances\t" 
-Dkaraf.startLocalConsole=false -Dkaraf.startRemoteShell=true -classpath 
C:\Program Files\Apache Software 
Foundation\ServiceMix\lib\karaf-jaas-boot.jar;C:\Program Files\Apache Software 
Foundation\ServiceMix\lib\karaf-wrapper-main.jar;C:\Program Files\Apache 
Software Foundation\ServiceMix\lib\karaf-wrapper.jar;C:\Program Files\Apache 
Software Foundation\ServiceMix\lib\karaf.jar;C:\Program Files\Apache Software 
Foundation\ServiceMix\lib\servicemix-version.jar org.apache.karaf.main.Main


The same line can be used to start the instance from commandline if quotation 
chars are added to the program exe path and the classpath argument.



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to