Starting bundle ignores exports

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Starting bundle ignores exports

Barry Hathaway
I'm trying to install an updated version of javax.xml.ws into ServiceMix with the command:

osgi:install wrap:mvn:javax.xml.ws/jaxws-api/2.2.5\$Bundle-Version=2.2.5&Export-Package=*\;version="2.2.5"

The bundle gets installed OK with the web console saying:

Exported Packages javax.xml.ws,version=2.2.5
javax.xml.ws.handler,version=2.2.5
javax.xml.ws.handler.soap,version=2.2.5
javax.xml.ws.http,version=2.2.5
javax.xml.ws.soap,version=2.2.5
javax.xml.ws.spi,version=2.2.5
javax.xml.ws.spi.http,version=2.2.5
javax.xml.ws.wsaddressing,version=2.2.5

The problem is that when I start the bundle the exports disappear. Both the web console and
packages:exports show that nothing is exported.

Any ideas?
Thanks.

Barry Hathaway
Loading...