You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Linus Brimstedt (JIRA)" <ji...@apache.org> on 2011/04/20 09:45:05 UTC
[jira] [Created] (SMX4-813) Child instances does not startup
correctly
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
[jira] [Commented] (SMX4-813) Child instances does not startup
correctly when SMX started from a directory with spaces on windows
Posted by "Linus Brimstedt (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SMX4-813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13022054#comment-13022054 ]
Linus Brimstedt commented on SMX4-813:
---------------------------------------
I can confirm that it works when installing smx to root c:\
> Child instances does not startup correctly when SMX started from a directory with spaces on windows
> ---------------------------------------------------------------------------------------------------
>
> 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
> Priority: Minor
> Labels: instance
>
> 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
[jira] [Commented] (SMX4-813) Child instances does not startup
correctly when SMX started from a directory with spaces on windows
Posted by "Linus Brimstedt (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SMX4-813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13022019#comment-13022019 ]
Linus Brimstedt commented on SMX4-813:
---------------------------------------
Default installation path on windows is "c:\program files\", so I think it's expected that software should work when installed there.
Just like you would not install something in the linux root, you shouldn't install stuff in c:\ root, imho.
(This reminds me that camel sources does not work with spaces in paths, and "c:\documents and settings\..." is the default root for user files on win xp ;-)
> Child instances does not startup correctly when SMX started from a directory with spaces on windows
> ---------------------------------------------------------------------------------------------------
>
> 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
> Priority: Minor
> Labels: instance
>
> 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
[jira] [Commented] (SMX4-813) Child instances does not startup
correctly
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SMX4-813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13022013#comment-13022013 ]
Claus Ibsen commented on SMX4-813:
----------------------------------
A good rule is to *never* store applications in paths with spaces on windows. It just mess up to much.
> 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
> Labels: instance
>
> 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
[jira] [Updated] (SMX4-813) Child instances does not startup
correctly when SMX started from a directory with spaces on windows
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SMX4-813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated SMX4-813:
-----------------------------
Priority: Minor (was: Major)
Summary: Child instances does not startup correctly when SMX started from a directory with spaces on windows (was: Child instances does not startup correctly)
> Child instances does not startup correctly when SMX started from a directory with spaces on windows
> ---------------------------------------------------------------------------------------------------
>
> 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
> Priority: Minor
> Labels: instance
>
> 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