Hi Jesse

you can configure your customised Jaxb factory implementor by implementing a 
jaxb.properties file
with a javax.xml.bind.context.factory=value

javax.xml.bind.context.factory=org.eclipse.persistence.jaxb.JAXBContextFactory

be aware with key=value value is the name of the class that implements the 
createContext  for Jaxb
http://docs.oracle.com/javaee/5/api/javax/xml/bind/JAXBContext.html

Martin 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.

Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.

 
> Date: Sun, 19 May 2013 12:39:12 -0400
> Subject: checkThreadLocalMapForLeaks: com.sun.xml.bind.v2.runtime.Coordinator
> From: jie...@gmail.com
> To: users@tomcat.apache.org
> 
> Greetings,
> 
> I am using Apache Tomcat 7.0.40, via IBM Java 7 SR2. I am seeing the
> following on Tomcat shutdown:
> 
> org.apache.catalina.loader.WebappClassLoader.checkThreadLocalMapForLeaks
> The web application [] created a ThreadLocal with key of type
> [com.sun.xml.bind.v2.runtime.Coordinator$1] (value
> [com.sun.xml.bind.v2.runtime.Coordinator$1@f9b00906]) and a value of
> type [java.lang.Object[]] (value [[Ljava.lang.Object;@3d8d9b93]) but
> failed to remove it when the web application was stopped. Threads are
> going to be renewed over time to try and avoid a probable memory leak.
> 
> When I inspect the libraries within the application I find:
> 
> $ grep com.sun.xml.bind.v2.runtime.Coordinator *
> Binary file jaxb-impl-2.2.1.1.jar matches
> 
> Apache Maven dependency:tree shows that this is coming from Apache
> Wink (wink-common -> wink-client).
> 
> Is this JAXB ThreadLocal something that Apache Tomcat ought to protect me 
> from?
> 
> Thank you,
> -Jesse
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
                                          

Reply via email to