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

Jamie Goodyear commented on SMX4-312:
-------------------------------------

Karaf now builds on AIX.

Several minor modifications need to be made to blueprint and karaf source code 
& configuration in order to attempt to get karaf running, several more 
modification will still be required. Attempting to get Karaf to run on AIX as 
it will be used with SMX going forward.


blueprint:
blueprint-core/src/main/java/org/apache/geronimo/blueprint/container/AbstractServiceReferenceRecipe.java

Add "getClass().getClassLoader().loadClass("net.sf.cglib.proxy.Dispatcher");" 
to line 235 before "proxyFactory = new CgLibProxyFactory();".
This fix allows AIX to get around class not found error.

karaf:

updates to various xml files for blueprint configuration, still needs more work 
to avoid ":Unable to validate xml" errors.

deployer/blueprint/src/test/resources/test.xml
deployer/features/src/main/resources/OSGI-INF/blueprint/features-deployer.xml
gshell/gshell-run/src/main/resources/OSGI-INF/blueprint/gshell-osgi.xml
gshell/gshell-run/src/main/resources/OSGI-INF/blueprint/gshell.xml
jaas/jaas-config/src/main/resources/OSGI-INF/blueprint/karaf-jaas.xml



> 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