Cache problem for util Timezone class on Glassfish 3.1.2
posted 3 years ago
I have a Rest Web service deployed on Glassfish 3.1.2. I sporadically get a particular exception on it.
My Web service marshals an xml on the server after processing. The xml contains a time set in a tag
The jaxb xml object is private member var of the class, changing the access modifier from static to none is not affecting the exception. I read about the `WEB9031` exception that it is caused by the classloader not being able to load the TimeZone class library. Glassfish documentation suggests that while deploying we must mention the common libraries in the console. But I have no common libraries. I think that the java.util.timezone class mentioned in the exception is getting unloaded or something like that.
If anyone has any idea to resolve this please let me know!!