You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Chris Custine (JIRA)" <ji...@apache.org> on 2009/09/26 10:25:52 UTC

[jira] Resolved: (SMX4-309) Problem in ActiveMQ command documentation and/or implementation

     [ https://issues.apache.org/activemq/browse/SMX4-309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Custine resolved SMX4-309.
--------------------------------

    Resolution: Fixed

> Problem in ActiveMQ command documentation and/or implementation
> ---------------------------------------------------------------
>
>                 Key: SMX4-309
>                 URL: https://issues.apache.org/activemq/browse/SMX4-309
>             Project: ServiceMix 4
>          Issue Type: Bug
>    Affects Versions: 4.0.0
>            Reporter: Gert Vanthienen
>            Assignee: Chris Custine
>             Fix For: 4.1.0
>
>
> None of the activemq commands in the servicemix 4 console report requiring parameters, but still many of them throw exceptions when using them parameterless:
> {noformat}
> smx@root:/> activemq/bstat localhost
> ERROR: java.lang.RuntimeException: Failed to execute query task. Reason: java.lang.IllegalArgumentException: Expected String[2], got null
> java.lang.RuntimeException: Failed to execute query task. Reason: java.lang.IllegalArgumentException: Expected String[2], got null
> 	at org.apache.activemq.console.command.QueryCommand.runTask(QueryCommand.java:120)
> 	at org.apache.activemq.console.command.BstatCommand.runTask(BstatCommand.java:73)
> 	at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
> 	at org.apache.activemq.console.command.AbstractJmxCommand.execute(AbstractJmxCommand.java:224)
> 	at org.apache.servicemix.kernel.gshell.activemq.AdministrationCommand.doExecute(AdministrationCommand.java:49)
> 	at org.apache.servicemix.kernel.gshell.core.OsgiCommandSupport.execute(OsgiCommandSupport.java:48)
> 	at org.apache.geronimo.gshell.wisdom.command.CommandSupport.executeAction(CommandSupport.java:303)
> 	at org.apache.geronimo.gshell.wisdom.command.StatefulCommand.executeAction(StatefulCommand.java:94)
> 	at org.apache.geronimo.gshell.wisdom.command.CommandSupport.execute(CommandSupport.java:194)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	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.invokeUnprivileged(ServiceTCCLInterceptor.java:57)
> 	at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:40)
> 	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 $Proxy10.execute(Unknown Source)
> 	at org.apache.geronimo.gshell.wisdom.shell.CommandLineExecutorImpl.doExecute(CommandLineExecutorImpl.java:127)
> 	at org.apache.geronimo.gshell.wisdom.shell.CommandLineExecutorImpl.execute(CommandLineExecutorImpl.java:106)
> 	at org.apache.geronimo.gshell.parser.visitor.ExecutingVisitor$1.run(ExecutingVisitor.java:208)
> 	at org.apache.geronimo.gshell.parser.visitor.ExecutingVisitor.executePiped(ExecutingVisitor.java:231)
> 	at org.apache.geronimo.gshell.parser.visitor.ExecutingVisitor.visit(ExecutingVisitor.java:107)
> 	at org.apache.geronimo.gshell.parser.ASTExpression.jjtAccept(ASTExpression.java:17)
> 	at org.apache.geronimo.gshell.parser.SimpleNode.childrenAccept(SimpleNode.java:61)
> 	at org.apache.geronimo.gshell.parser.visitor.ExecutingVisitor.visit(ExecutingVisitor.java:90)
> 	at org.apache.geronimo.gshell.parser.ASTCommandLine.jjtAccept(ASTCommandLine.java:17)
> 	at org.apache.geronimo.gshell.wisdom.shell.CommandLineBuilderImpl$1.execute(CommandLineBuilderImpl.java:96)
> 	at org.apache.geronimo.gshell.wisdom.shell.CommandLineExecutorImpl.execute(CommandLineExecutorImpl.java:71)
> 	at org.apache.geronimo.gshell.wisdom.shell.ShellImpl.execute(ShellImpl.java:172)
> 	at org.apache.geronimo.gshell.wisdom.shell.ShellImpl$2.execute(ShellImpl.java:208)
> 	at org.apache.geronimo.gshell.console.Console.work(Console.java:187)
> 	at org.apache.geronimo.gshell.console.Console.run(Console.java:128)
> 	at org.apache.geronimo.gshell.wisdom.shell.ShellImpl.run(ShellImpl.java:252)
> 	at org.apache.servicemix.kernel.gshell.core.ShellWrapper.run(ShellWrapper.java:81)
> 	at org.apache.servicemix.kernel.gshell.core.LocalConsole.run(LocalConsole.java:125)
> 	at java.lang.Thread.run(Thread.java:595)
> {noformat}
> We should at least at the correct documentation, but even if I specify two parameters the above exception remains so there might also be an implementation issue there.

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