Uploaded image for project: 'ServiceMix 4'
  1. ServiceMix 4
  2. SMX4-813

Child instances does not startup correctly when SMX started from a directory with spaces on windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 4.3.0
    • None
    • None
    • Windows

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            brimstedt Linus Brimstedt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: