Hi Freeman,

and good catch.

I'm going to create a Jira about that to track the change.

Regards
JB

On 08/15/2013 02:18 AM, Freeman Fang wrote:
Hi,

I think the problem comes from that we endorse xercesImpl jar but not
configure the org.osgi.framework.bootdelegation
and org.osgi.framework.system.packages.extra correctly.

We should endorse xercesImpl and add xerces related packages
in org.osgi.framework.bootdelegation
and org.osgi.framework.system.packages.extra of  etc/custom.properties,
like what Servicemix do.

I will take care of it later on.
-------------
Freeman(Yue) Fang

Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://fusesource.com | http://www.redhat.com/
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: @Freeman小屋



On 2013-8-15, at 上午5:36, Jean-Baptiste Onofré wrote:

Hi Ioan,

could you explain what you did ? (just to reproduce it and work on that).

As reminder, we included xercesImpl jar file in the lib/endorsed to
fix an "critical" issue with IBM JDK. Actually, Karaf didn't start at
all without xercesImpl in the lib/endorsed (we had parsing issue on
Blueprint especially).

Depending about your test case, I wonder if it would not be better to
remove xercesImpl from lib/endorsed (as we had before) and add a note
for IBM JDK users.

Regards
JB

On 08/14/2013 11:27 PM, Ioan Eugen Stan wrote:
Hello,

I removed it and it worked. It's a bummer though - xerces impl from
endorsed does not export org.apache.xerces.* packages so I need to
import them from another bundle which gets me to ClassCast exception.
Any way around this?


--
Jean-Baptiste Onofré
[email protected] <mailto:[email protected]>
http://blog.nanthrax.net
Talend - http://www.talend.com


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to