You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Edell Nolan (JIRA)" <ji...@apache.org> on 2008/11/18 16:01:05 UTC

[jira] Created: (SMX4KNL-142) Starting a new instance that was created with admin on windows fails to start

Starting a new instance that was created with admin on windows fails to start 
------------------------------------------------------------------------------

                 Key: SMX4KNL-142
                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-142
             Project: ServiceMix Kernel
          Issue Type: Bug
            Reporter: Edell Nolan
            Priority: Minor
             Fix For: 1.0.1


If you do the following 

servicemix admin> create slave
servicemix admin> change-port slave 9505
servicemix admin> start slave 

On windows I get the following with debug

14:56:29,183 | INFO  | Thread-30        | admin:start                      | shell.support.OsgiCommandSupport  113 | Executing w/args: [slave]
14:56:29,355 | DEBUG | Thread-7         | JLineConsole                     | .geronimo.gshell.console.Console  132 | Work failed: java.io.IOException: Unable to create process (error code: 1)
java.io.IOException: Unable to create process (error code: 1)
	at org.apache.servicemix.jpm.impl.ProcessImpl.create(ProcessImpl.java:124)
	at org.apache.servicemix.jpm.impl.ProcessBuilderImpl.start(ProcessBuilderImpl.java:48)
	at org.apache.servicemix.kernel.gshell.admin.internal.InstanceImpl.start(InstanceImpl.java:136)
	at org.apache.servicemix.kernel.gshell.admin.internal.commands.StartCommand.doExecute(StartCommand.java:33)
	at org.apache.geronimo.gshell.support.OsgiCommandSupport.doExecute(OsgiCommandSupport.java:133)
	at org.apache.geronimo.gshell.support.OsgiCommandSupport.execute(OsgiCommandSupport.java:91)
	at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:64)
	at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:78)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
	at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
	at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
	at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:36)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
	at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
	at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
	at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
	at $Proxy8.execute(Unknown Source)
	at org.apache.geronimo.gshell.DefaultCommandExecutor.execute(DefaultCommandExecutor.java:288)
	at org.apache.geronimo.gshell.DefaultCommandExecutor$1.run(DefaultCommandExecutor.java:163)
	at org.apache.geronimo.gshell.spring.SpringCommandExecutor$1$1.run(SpringCommandExecutor.java:67)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SMX4KNL-142) Starting a new instance that was created with admin on windows fails to start

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4KNL-142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet updated SMX4KNL-142:
------------------------------------

    Fix Version/s:     (was: 1.0.1)
                   1.1.0

> Starting a new instance that was created with admin on windows fails to start 
> ------------------------------------------------------------------------------
>
>                 Key: SMX4KNL-142
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-142
>             Project: ServiceMix Kernel
>          Issue Type: Bug
>            Reporter: Edell Nolan
>            Priority: Minor
>             Fix For: 1.1.0
>
>
> If you do the following 
> servicemix admin> create slave
> servicemix admin> change-port slave 9505
> servicemix admin> start slave 
> On windows I get the following with debug
> 14:56:29,183 | INFO  | Thread-30        | admin:start                      | shell.support.OsgiCommandSupport  113 | Executing w/args: [slave]
> 14:56:29,355 | DEBUG | Thread-7         | JLineConsole                     | .geronimo.gshell.console.Console  132 | Work failed: java.io.IOException: Unable to create process (error code: 1)
> java.io.IOException: Unable to create process (error code: 1)
> 	at org.apache.servicemix.jpm.impl.ProcessImpl.create(ProcessImpl.java:124)
> 	at org.apache.servicemix.jpm.impl.ProcessBuilderImpl.start(ProcessBuilderImpl.java:48)
> 	at org.apache.servicemix.kernel.gshell.admin.internal.InstanceImpl.start(InstanceImpl.java:136)
> 	at org.apache.servicemix.kernel.gshell.admin.internal.commands.StartCommand.doExecute(StartCommand.java:33)
> 	at org.apache.geronimo.gshell.support.OsgiCommandSupport.doExecute(OsgiCommandSupport.java:133)
> 	at org.apache.geronimo.gshell.support.OsgiCommandSupport.execute(OsgiCommandSupport.java:91)
> 	at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:64)
> 	at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:78)
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
> 	at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
> 	at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
> 	at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:36)
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
> 	at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
> 	at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
> 	at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
> 	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
> 	at $Proxy8.execute(Unknown Source)
> 	at org.apache.geronimo.gshell.DefaultCommandExecutor.execute(DefaultCommandExecutor.java:288)
> 	at org.apache.geronimo.gshell.DefaultCommandExecutor$1.run(DefaultCommandExecutor.java:163)
> 	at org.apache.geronimo.gshell.spring.SpringCommandExecutor$1$1.run(SpringCommandExecutor.java:67)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SMX4KNL-142) Starting a new instance that was created with admin on windows fails to start

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4KNL-142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved SMX4KNL-142.
-------------------------------------

    Resolution: Fixed

Sending        gshell/gshell-admin/src/main/java/org/apache/servicemix/jpm/impl/ProcessImpl.java
Sending        gshell/gshell-admin/src/main/java/org/apache/servicemix/kernel/gshell/admin/internal/InstanceImpl.java
Sending        gshell/gshell-admin/src/test/java/org/apache/servicemix/jpm/ProcessTest.java
Transmitting file data ...
Committed revision 732285.

> Starting a new instance that was created with admin on windows fails to start 
> ------------------------------------------------------------------------------
>
>                 Key: SMX4KNL-142
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-142
>             Project: ServiceMix Kernel
>          Issue Type: Bug
>            Reporter: Edell Nolan
>            Assignee: Guillaume Nodet
>            Priority: Minor
>             Fix For: 1.1.0
>
>
> If you do the following 
> servicemix admin> create slave
> servicemix admin> change-port slave 9505
> servicemix admin> start slave 
> On windows I get the following with debug
> 14:56:29,183 | INFO  | Thread-30        | admin:start                      | shell.support.OsgiCommandSupport  113 | Executing w/args: [slave]
> 14:56:29,355 | DEBUG | Thread-7         | JLineConsole                     | .geronimo.gshell.console.Console  132 | Work failed: java.io.IOException: Unable to create process (error code: 1)
> java.io.IOException: Unable to create process (error code: 1)
> 	at org.apache.servicemix.jpm.impl.ProcessImpl.create(ProcessImpl.java:124)
> 	at org.apache.servicemix.jpm.impl.ProcessBuilderImpl.start(ProcessBuilderImpl.java:48)
> 	at org.apache.servicemix.kernel.gshell.admin.internal.InstanceImpl.start(InstanceImpl.java:136)
> 	at org.apache.servicemix.kernel.gshell.admin.internal.commands.StartCommand.doExecute(StartCommand.java:33)
> 	at org.apache.geronimo.gshell.support.OsgiCommandSupport.doExecute(OsgiCommandSupport.java:133)
> 	at org.apache.geronimo.gshell.support.OsgiCommandSupport.execute(OsgiCommandSupport.java:91)
> 	at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:64)
> 	at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:78)
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
> 	at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
> 	at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
> 	at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:36)
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
> 	at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
> 	at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
> 	at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
> 	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
> 	at $Proxy8.execute(Unknown Source)
> 	at org.apache.geronimo.gshell.DefaultCommandExecutor.execute(DefaultCommandExecutor.java:288)
> 	at org.apache.geronimo.gshell.DefaultCommandExecutor$1.run(DefaultCommandExecutor.java:163)
> 	at org.apache.geronimo.gshell.spring.SpringCommandExecutor$1$1.run(SpringCommandExecutor.java:67)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (SMX4KNL-142) Starting a new instance that was created with admin on windows fails to start

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4KNL-142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet reassigned SMX4KNL-142:
---------------------------------------

    Assignee: Guillaume Nodet

> Starting a new instance that was created with admin on windows fails to start 
> ------------------------------------------------------------------------------
>
>                 Key: SMX4KNL-142
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-142
>             Project: ServiceMix Kernel
>          Issue Type: Bug
>            Reporter: Edell Nolan
>            Assignee: Guillaume Nodet
>            Priority: Minor
>             Fix For: 1.1.0
>
>
> If you do the following 
> servicemix admin> create slave
> servicemix admin> change-port slave 9505
> servicemix admin> start slave 
> On windows I get the following with debug
> 14:56:29,183 | INFO  | Thread-30        | admin:start                      | shell.support.OsgiCommandSupport  113 | Executing w/args: [slave]
> 14:56:29,355 | DEBUG | Thread-7         | JLineConsole                     | .geronimo.gshell.console.Console  132 | Work failed: java.io.IOException: Unable to create process (error code: 1)
> java.io.IOException: Unable to create process (error code: 1)
> 	at org.apache.servicemix.jpm.impl.ProcessImpl.create(ProcessImpl.java:124)
> 	at org.apache.servicemix.jpm.impl.ProcessBuilderImpl.start(ProcessBuilderImpl.java:48)
> 	at org.apache.servicemix.kernel.gshell.admin.internal.InstanceImpl.start(InstanceImpl.java:136)
> 	at org.apache.servicemix.kernel.gshell.admin.internal.commands.StartCommand.doExecute(StartCommand.java:33)
> 	at org.apache.geronimo.gshell.support.OsgiCommandSupport.doExecute(OsgiCommandSupport.java:133)
> 	at org.apache.geronimo.gshell.support.OsgiCommandSupport.execute(OsgiCommandSupport.java:91)
> 	at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:64)
> 	at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:78)
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
> 	at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
> 	at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
> 	at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:36)
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
> 	at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
> 	at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
> 	at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
> 	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
> 	at $Proxy8.execute(Unknown Source)
> 	at org.apache.geronimo.gshell.DefaultCommandExecutor.execute(DefaultCommandExecutor.java:288)
> 	at org.apache.geronimo.gshell.DefaultCommandExecutor$1.run(DefaultCommandExecutor.java:163)
> 	at org.apache.geronimo.gshell.spring.SpringCommandExecutor$1$1.run(SpringCommandExecutor.java:67)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.