[ 
https://issues.apache.org/activemq/browse/SMX4-312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52593#action_52593
 ] 

Jaco van Tonder commented on SMX4-312:
--------------------------------------

Also experiencing this issue. Here is some more information about what is 
happening:

Output from the ServiceMix info command:
s...@root:/> info
ServiceMix
  ServiceMix home             
/usr/dev/software/Fuse_ESB/4.1.0.0/apache-servicemix-4.1.0.0-fuse
  ServiceMix base             
/usr/dev/software/Fuse_ESB/4.1.0.0/apache-servicemix-4.1.0.0-fuse
  ServiceMix Kernel version   1.1.0.0-fuse
  ServiceMix version          4.1.0.0-fuse

JVM
  Java Virtual Machine        IBM J9 VM version 2.3
  Vendor                      IBM Corporation
  Uptime                      3 minutes
  Total compile time          8.024 seconds
Threads
  Live threads                81
  Daemon threads              38
  Peak                        83
  Total started               199
Memory
  Current heap size           63,424 kbytes
  Maximum heap size           524,288 kbytes
  Committed heap size         131,072 kbytes
  Pending objects             0
  Garbage collector           Name = 'J9 GC', Collections = 10, Time = 0.627 
seconds
Classes
  Current classes loaded      6,480
  Total classes loaded        6,513
  Total classes unloaded      33
Operating system
  Name                        AIX version 6.1
  Architecture                ppc
  Processors                  4
s...@root:/> 



Some environment specifics:
$ uname -a
AIX itsddev1 1 6 00CB8BA24C00

$ which java
/usr/java5/bin/java

$ java -fullversion
java full version "J2RE 1.5.0 IBM AIX build pap32dev-20080315 (SR7)"




Exception from servicemix.log showing what is happening exactly:
------------------------------

12:43:17,696 | DEBUG | localShell       | JLineConsole                     | 
.geronimo.gshell.console.Console  152 | Read line: osgi/list
12:43:17,696 | INFO  | localShell       | CommandLineExecutorImpl          | 
om.shell.CommandLineExecutorImpl   64 | Executing (String): osgi/list
12:43:17,696 | DEBUG | localShell       | CommandLineBuilderImpl           | 
dom.shell.CommandLineBuilderImpl   80 | Building command-line for: osgi/list
12:43:17,697 | DEBUG | localShell       | CommandLineParser                | 
.gshell.parser.CommandLineParser   25 | Parsing from reader: 
java.io.stringrea...@78ca78ca
12:43:17,697 | DEBUG | localShell       | CommandLineBuilderImpl           | 
ll.parser.visitor.LoggingVisitor  101 | CommandLine 
(org.apache.geronimo.gshell.parser.ASTCommandLine)
12:43:17,697 | DEBUG | localShell       | CommandLineBuilderImpl           | 
ll.parser.visitor.LoggingVisitor  101 |  Expression 
(org.apache.geronimo.gshell.parser.ASTExpression)
12:43:17,698 | DEBUG | localShell       | CommandLineBuilderImpl           | 
ll.parser.visitor.LoggingVisitor  101 |   Process 
(org.apache.geronimo.gshell.parser.ASTProcess)
12:43:17,698 | DEBUG | localShell       | CommandLineBuilderImpl           | 
ll.parser.visitor.LoggingVisitor  101 |    PlainString( osgi/list ) 
(org.apache.geronimo.gshell.parser.ASTPlainString)
12:43:17,698 | INFO  | localShell       | CommandLineExecutorImpl          | 
om.shell.CommandLineExecutorImpl  104 | Executing (osgi/list): []
12:43:17,698 | DEBUG | localShell       | CommandLineExecutorImpl          | 
om.shell.CommandLineExecutorImpl  112 | Executing
12:43:17,699 | DEBUG | localShell       | CommandResolverImpl              | 
dom.registry.CommandResolverImpl   88 | Resolving command name: osgi/list
12:43:17,700 | DEBUG | localShell       | CommandResolverImpl              | 
dom.registry.CommandResolverImpl  110 | Resolved command: 
org.apache.geronimo.gshell.wisdom.command.statefulcomm...@76567656
12:43:17,701 | DEBUG | localShell       | CommandLineExecutorImpl          | 
om.shell.CommandLineExecutorImpl  129 | Command completed with result: 
FailureResult{ value=<null>, failure=java.lang.IllegalArgumentException: 
Handler is missing required constructor: class 
org.apache.geronimo.gshell.clp.handler.Handler, notification=<null> }, after: 
0:00:00.001
12:43:17,701 | DEBUG | localShell       | JLineConsole                     | 
.geronimo.gshell.console.Console  132 | Work failed: 
org.apache.geronimo.gshell.commandline.CommandLineExecutionFailed: 
org.apache.geronimo.gshell.command.CommandException: 
java.lang.IllegalArgumentException: Handler is missing required constructor: 
class org.apache.geronimo.gshell.clp.handler.Handler
org.apache.geronimo.gshell.commandline.CommandLineExecutionFailed: 
org.apache.geronimo.gshell.command.CommandException: 
java.lang.IllegalArgumentException: Handler is missing required constructor: 
class org.apache.geronimo.gshell.clp.handler.Handler
        at 
org.apache.geronimo.gshell.parser.visitor.ExecutingVisitor.executePiped(ExecutingVisitor.java:246)
        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:810)
Caused by: org.apache.geronimo.gshell.command.CommandException: 
java.lang.IllegalArgumentException: Handler is missing required constructor: 
class org.apache.geronimo.gshell.clp.handler.Handler
        at 
org.apache.geronimo.gshell.wisdom.shell.CommandLineExecutorImpl.doExecute(CommandLineExecutorImpl.java:148)
        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)
        ... 15 more
Caused by: java.lang.IllegalArgumentException: Handler is missing required 
constructor: class org.apache.geronimo.gshell.clp.handler.Handler
        at 
org.apache.geronimo.gshell.clp.handler.Handlers.createHandlerFactory(Handlers.java:50)
        at 
org.apache.geronimo.gshell.clp.handler.Handlers.create(Handlers.java:84)
        at 
org.apache.geronimo.gshell.clp.CommandLineProcessor.addOption(CommandLineProcessor.java:157)
        at 
org.apache.geronimo.gshell.clp.CommandLineProcessor.discoverDescriptors(CommandLineProcessor.java:110)
        at 
org.apache.geronimo.gshell.clp.CommandLineProcessor.addBean(CommandLineProcessor.java:81)
        at 
org.apache.geronimo.gshell.wisdom.command.CommandSupport.processArguments(CommandSupport.java:248)
        at 
org.apache.geronimo.gshell.wisdom.command.CommandSupport.prepareAction(CommandSupport.java:230)
        at 
org.apache.geronimo.gshell.wisdom.command.CommandSupport.execute(CommandSupport.java:191)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:618)
        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)
        ... 18 more
12:43:17,703 | DEBUG | localShell       | ConsoleErrorHandlerImpl          | 
om.shell.ConsoleErrorHandlerImpl   75 | 
org.apache.geronimo.gshell.commandline.CommandLineExecutionFailed: 
org.apache.geronimo.gshell.command.CommandException: 
java.lang.IllegalArgumentException: Handler is missing required constructor: 
class org.apache.geronimo.gshell.clp.handler.Handler
org.apache.geronimo.gshell.commandline.CommandLineExecutionFailed: 
org.apache.geronimo.gshell.command.CommandException: 
java.lang.IllegalArgumentException: Handler is missing required constructor: 
class org.apache.geronimo.gshell.clp.handler.Handler
        at 
org.apache.geronimo.gshell.parser.visitor.ExecutingVisitor.executePiped(ExecutingVisitor.java:246)
        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:810)
Caused by: org.apache.geronimo.gshell.command.CommandException: 
java.lang.IllegalArgumentException: Handler is missing required constructor: 
class org.apache.geronimo.gshell.clp.handler.Handler
        at 
org.apache.geronimo.gshell.wisdom.shell.CommandLineExecutorImpl.doExecute(CommandLineExecutorImpl.java:148)
        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)
        ... 15 more
Caused by: java.lang.IllegalArgumentException: Handler is missing required 
constructor: class org.apache.geronimo.gshell.clp.handler.Handler
        at 
org.apache.geronimo.gshell.clp.handler.Handlers.createHandlerFactory(Handlers.java:50)
        at 
org.apache.geronimo.gshell.clp.handler.Handlers.create(Handlers.java:84)
        at 
org.apache.geronimo.gshell.clp.CommandLineProcessor.addOption(CommandLineProcessor.java:157)
        at 
org.apache.geronimo.gshell.clp.CommandLineProcessor.discoverDescriptors(CommandLineProcessor.java:110)
        at 
org.apache.geronimo.gshell.clp.CommandLineProcessor.addBean(CommandLineProcessor.java:81)
        at 
org.apache.geronimo.gshell.wisdom.command.CommandSupport.processArguments(CommandSupport.java:248)
        at 
org.apache.geronimo.gshell.wisdom.command.CommandSupport.prepareAction(CommandSupport.java:230)
        at 
org.apache.geronimo.gshell.wisdom.command.CommandSupport.execute(CommandSupport.java:191)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:618)
        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)
        ... 18 more
12:43:17,704 | DEBUG | localShell       | ExpressionFactory                | 
e.commons.jexl.ExpressionFactory  121 | Parsing expression: gshell.username;
12:43:17,705 | DEBUG | localShell       | ExpressionFactory                | 
e.commons.jexl.ExpressionFactory  121 | Parsing expression: gshell.group;


> gshell failed when invoking osgi/list command
> ---------------------------------------------
>
>                 Key: SMX4-312
>                 URL: https://issues.apache.org/activemq/browse/SMX4-312
>             Project: ServiceMix 4
>          Issue Type: Bug
>    Affects Versions: 4.0.0
>         Environment: AIX 5.3
> IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc-32 j9vmap3223-20060504 
> (JIT enabled)
>            Reporter: Jean-Baptiste Onofré
>
> I have downloaded the SMX 4.0 binary package and install on AIX 5.3 server.
> I launch SMX without problem, and gshell is available.
> When invoking osgi/list command, I get the following error:
> s...@root:/> osgi/list
> ERROR CommandLineExecutionFailed: 
> org.apache.geronimo.gshell.command.CommandException: 
> java.lang.IllegalArgumentException: Handler is missing required constructor: 
> class org.apache.geronimo.gshell.clp.handler.Handler
> In the servicemix.log file, I can see:
> 18:11:14,690 | INFO  | localShell       | CommandLineExecutorImpl          | 
> om.shell.CommandLineExecutorImpl   64 | Executing (String): osgi/list
> 18:11:14,712 | INFO  | localShell       | CommandLineExecutorImpl          | 
> om.shell.CommandLineExecutorImpl  104 | Executing (osgi/list): []
> This issue happens is all submenu such as admin/list.

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

Reply via email to