We’re experiencing a bug in Glassfish 3.1.2.2 (specifically, in the WSEndpointImpl class in Metro module) which is fixed but due in Glassfish 4.0 or some next release in the 3.1 branch hopefully. As this fix is critical for our application, we would like to patch this class alone and install it somehow to Glassfish, before waiting for the next release. Is this possible? What do you recommend?
We’re experiencing a bug in Glassfish 3.1.2.2 (specifically, in the WSEndpointImpl class in Metro
Share
Glassfish supports swapping in other versions of certain modules via the Endorsed Standards Override Mechanism and according to the Oracle documentation JAX-WS is among the replaceable components.
You just have to copy the updated version into the
/lib/endorseddirectory of your domain, but I’m pretty sure you can also put your file in the/lib/endorseddirectory of the Glassfish server itself.See a practical example in this blog entry