Re: GF 18.104.22.168 update JAXB osgi bundle?
On Monday 05 November 2012 08:44 PM, Bernhard Thalmayr wrote:
> Am 11/5/12 3:57 PM, schrieb Martin Grebac:
>> seems like you may be mixing incompatible versions of jaxbapi and impl
>> (api and impl have separate versioning scheme).
>> Usually safest approach is to update full metro release which includes
>> jaxb as well, is tested together and compatible. Such as Metro 2.2.1-1
>> from . There's an ant script and instructions how to install metro on
>> top of GF,
>>  http://metro.java.net/2.2.1-1/
> Hi Martin, I've done a quick check ... 'ant .... install' does not
> work for GF 22.214.171.124 ....
> [antcall] Exiting /var/tmp/metro/metro-on-glassfish-v3.xml.
> BUILD FAILED
> /var/tmp/metro/metro-on-glassfish-v3.xml:123: It looks like you are
> trying to install Metro on GlassFish v2.
> at org.apache.tools.ant.taskdefs.Exit.execute(Exit.java:164)
> just looking at the ant build file ...
You don't have to remove osgi-cache, but that's not important for this
The OSGi wiring exception that you faced earlier must be to do with the
fact that 2.2.6 impl-jar depends on 2.2.7 api jar as stated by Martin. I
just tried replacing jaxb-api-osgi.jar by version 2.2.7 and
jaxb-osgi.jar by version 2.2.6 in gf126.96.36.199 and the server booted fine.