Well, you have:

> (org.osgi.framework.BundleException: Unresolved constraint in bundle
> maestro_SOAFw_WebServices [117]: package;
> (&(package=javax.xml.datatype)(version>=1.4.0)))

And provided is:

> If we check what is exported by the bundle 0 (=jre) of Felix, we see
> that datatype is exported :
>
> System Bundle (0): javax.xml.datatype; version=0.0.0
>
> Can someone tell me what is wrong ?

Looks like you are asking for version >= 1.4 and the system bundle
exports version 0.0.0

regards,

Karl

> Charles Moulliard
> Senior Enterprise Architect
> Apache Camel Committer
>
> *****************************
> blog : http://cmoulliard.blogspot.com
> twitter : http://twitter.com/cmoulliard
> Linkedlin : http://www.linkedin.com/in/charlesmoulliard
>
> Apache Camel Group :
> http://www.linkedin.com/groups?home=&gid=2447439&trk=anet_ug_hm
>
>
> ---------- Forwarded message ----------
> From: Charles Moulliard <[email protected]>
> Date: Fri, Feb 19, 2010 at 1:02 PM
> Subject: Dependency with javax.* packages
> To: [email protected]
>
>
> Hi,
>
> I have discovered something strange that I don't understand and I need a
> solution
>
> If in the maven-bundle-plugin instruction, I had the * in the ImportPackage
> instruction and that my bundle has dependencies with javax.* packages (like
> javax.xml, ...), then the MANIFEST.FS file which is generated contains the
> package import statement javax.xml;version="1.4"
>
> When my bundle is deployed top of Fuse 4.2 server, I get an unresolved
> dependency. This is logic as the javax.* packages of the java VM are
> exported with the version number = "0.0.0" and not "1.4"
>
> What is the trick to avoid this problem (using DynamicImport-Package =
> javax.*,org.w3c.*,org.xml.*) ?
>
> Kind regards,
>
> Charles Moulliard
> Senior Enterprise Architect
> Apache Camel Committer
>
> *****************************
> blog : http://cmoulliard.blogspot.com
> twitter : http://twitter.com/cmoulliard
> Linkedlin : http://www.linkedin.com/in/charlesmoulliard
>
> Apache Camel Group :
> http://www.linkedin.com/groups?home=&gid=2447439&trk=anet_ug_hm
>



-- 
Karl Pauls
[email protected]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to