You should not force GlassFish to use a different version. GlassFish has
been certified with a particular version. What you really want is the
ability to use a different version in your application. Because of the
way woodstox module is packaged in glassfish, you can't use a different
version in your application. File a bug under packaging category and it
should be fairly straight forward to fix.
Sahoo
On Wednesday 13 March 2013 12:42 AM, Comerford, Sean wrote:
> We have a library we received from a vendor that requires a fairly old
> version woodstox.
>
> It won't work with the JAR we get in $GF_HOME/modules and we've had no
> luck forcing our GF instance to use the old version.
>
> It 2.1 classpath-prefix would usually do the trick for us but it seems
> the behavior of that property has changed.
>
> What is the recommended way to force a single GF to downgrade to an
> older version of a core module?
>
> So far the only we've gotten this to work is by deleting the woodstox
> jar from the GF modules directory but that's not an acceptable
> solution :-)
>
> ---
> Sean Comerford
> ESPN.com Architecture & Platforms
>