INFO | jvm 1 | 2010/10/12 08:20:05 | [Unloading class adapter1]
INFO | jvm 1 | 2010/10/12 08:20:05 | [Unloading class adapter1]
INFO | jvm 1 | 2010/10/12 08:20:05 | [Unloading class adapter1]
What is class adapter1? Why is it loading all the time thousand times in permgen and not only once?
After a little search i found this site: http://blog.retep.org/category/jaxb/page/2/
I do not use Java Architecture for XML Binding (JAXB), does smartfox uses somewhere? Is there anything i can do to have only one adapter1 class and not thousands? Any ideas?So it would be nice to reduce this down to a single adapter.
Fortunately there is a way when using the JAXB RI. There is an alternate javaType binding which takes the full class name of an adapter class instead – using this causes JAXB to use that single class instead of generating these duplicate classes. The main difference is replacing the parseMethod and printMethod attributes with a single adapter attribute, and qualifying the javaType with the http://java.sun.com/xml/ns/jaxb/xjc namespace.