osgi - CXF - ClassCastException (SEIStub/ClientProxy) in Equinox -


i getting following exception inside equinox osgi : getting java.lang.classcastexception: com.sun.xml.ws.client.sei.seistub cannot cast org.apache.cxf.frontend.clientproxy

please advise.

it looks accidently use jax-ws stack part of jdk instead of cxf. guess reason incorrect deployment of cxf in osgi runtime.

you need not export jax-ws api packages framework , instead install jax-ws api servicemix bundles. can try install apache cxf in apache karaf see how correct deployment should like.

to set packages exported framework use framework property org.osgi.framework.system.packages. see apache felix configuration. unfortunately there no option remove package exported packages. if use option need specify packages framework exports. default can found in felix jar in property file default.properties.


Comments

Popular posts from this blog

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -

minify - Minimizing css files -