Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Glassfish and the fly likes Cache problem for util Timezone class on Glassfish 3.1.2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Glassfish
Bookmark "Cache problem for util Timezone class on Glassfish 3.1.2" Watch "Cache problem for util Timezone class on Glassfish 3.1.2" New topic
Author

Cache problem for util Timezone class on Glassfish 3.1.2

kavita deshpande
Greenhorn

Joined: Jun 05, 2007
Posts: 3
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!!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Cache problem for util Timezone class on Glassfish 3.1.2