karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Schneider <ch...@die-schneider.net>
Subject Re: [PROPOSAL] Change the default jre.properties
Date Wed, 04 Jan 2012 10:26:16 GMT
Sounds great. To what specs is that applicable? Can we solve all the 
changes necessary for cxf with a solution like that?

Christian

Am 04.01.2012 10:58, schrieb Guillaume Nodet:
> I've pushed some changed to servicemix specs and create a github
> branch of karaf containing a new distribution that embeds those specs:
>     https://github.com/gnodet/karaf/tree/enhanced
>
> I can then do the following:
>
> ((((($.context bundle 0) loadClass "javax.xml.stream.XMLInputFactory")
> getMethod newInstance) invoke null) getClass) getName
> bundle:install mvn:org.codehaus.woodstox/stax2-api/3.1.1
> bundle:install -s mvn:org.codehaus.woodstox/woodstox-core-asl/4.1.1
> ((((($.context bundle 0) loadClass "javax.xml.stream.XMLInputFactory")
> getMethod newInstance) invoke null) getClass) getName
>
> And you should see that the first call was using the JRE built in stax
> impl and the second one was using woodstox.
>
> If you want to see what happens with the spec, you can add
> org.apache.servicemix.debug=true property in etc/system.properties
> before starting.
>

-- 

Christian Schneider
http://www.liquid-reality.de

Open Source Architect
Talend Application Integration Division http://www.talend.com


Mime
View raw message