[
https://issues.apache.org/activemq/browse/SMX4-312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52720#action_52720
]
Jamie Goodyear commented on SMX4-312:
-------------------------------------
Investigation notes:
* SMX Kernel 1.1.0 and Felix Karaf when configured to use the same version of
gshell will still result in the Kernel failing to process 'osgi/list' while
karaf correctly handles the input.
* Felix Karaf makes use of blueprint in place of spring in many places
throughout the gshell code (Blueprint Services is an OSGi standardized version
of Spring-DM), this change may have affected classpath positively in the case
of AIX.
* Greater care has been taken is specifying imports and exports when using
maven bundle plugin through out gshell components.
The switch to blueprint is probably having the greater effect in allowing the
command processing to work correctly as the error message "Handler is missing
required constructor" is caused by a NoSuchMethodException upon a Handler
getConstructor call. It is possible that another handler class is being picked
up the from the path and being mis-applied to the cast in Handlers.java [1].
Changes to the bundling or use of blueprint may be responsible for Karaf's
ability to correctly operate on AIX.
[1]
http://svn.apache.org/repos/asf/geronimo/gshell/trunk/gshell-support/gshell-clp/src/main/java/org/apache/geronimo/gshell/clp/handler/Handlers.java
> 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.