Hi,
I've presented this problem in another discussion, which started from a
totally different one, so I've decided to open a new discussion with the
hope to solve it.
In my bundle I'm trying to use a a library which it's using a webservice
(the OKKAM webservice).
When the bundle invoke a class from the library I have the following error:
java.lang.RuntimeException: javax.xml.bind.JAXBException:
"org.okkam.client.data" doesnt contain ObjectFactory.class or jaxb.index
at org.okkam.client.util.XMLEntityConverter.init(Unknown Source)
at org.okkam.client.util.XMLEntityConverter.xmlToEntity(Unknown
Source)
at
it.uniroma2.art.maskkot.osgi.service.Maskkot.inquireOkkamForIds(Maskkot.java:130)
Doing a search on internet I've found this site:
http://stackoverflow.com/questions/1043109/why-cant-jaxb-find-my-jaxb-index-when-running-inside-apache-felix
(It appears to be a similar problem)
I've checked in the jar library which is inside my bundle and I've found
that in the package org.okkam.client.data the file ObjectFactory.class
exixts (but not the file jaxb.index), so I really don't understand the
meaning of that error.
My application is a bit particular, because the main java application
(the one with the Felix instance) is run from inside Firefox as an
estension and my bundle is an extension to both Firefox and to Felix. So
the main java application is not able to see the normal classpath, but I
have to explicitely list all the jar library, so maybe this is part of
the problem.
Thanks
Andrea
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]