Re: Classloader leak in ExtensionManagerBus (on tomee)

2014-07-05 Thread pablo.a.saave...@gmail.com
22:25, Sergey Beryozkin wrote: > >> Hi, >> On 26/06/14 22:23, pablo.a.saave...@gmail.com wrote: >> >>> Hi Sergey, >>> >>> sure, I'll apply the changes to our development Tomee server and see >>> how it >>> behaves. I'll probably wo

Re: Classloader leak in ExtensionManagerBus (on tomee)

2014-06-26 Thread pablo.a.saave...@gmail.com
: > Hi > > On 26/06/14 19:12, pablo.a.saave...@gmail.com wrote: > >> Thanks for following this up Sergey. I haven't dig much into the code, but >> from what I see, this is the part of the code where the proxy map is being >> created (AbstractResourceInfo#getProxyM

Re: Classloader leak in ExtensionManagerBus (on tomee)

2014-06-26 Thread pablo.a.saave...@gmail.com
hould solve this particular issue. You can also try and wrap a WeakHashMap with Collections.synchronizedMap, but that might impact performance if there's much contention. Let me know if I can be of any help. Regards On 26 June 2014 13:50, Sergey Beryozkin wrote: > On 26/06/14 17:28, Sergey Ber

Re: Classloader leak in ExtensionManagerBus (on tomee)

2014-06-26 Thread pablo.a.saave...@gmail.com
javax.ws.rs.core.Application. This is done this way because we need to configure the JacksonJaxbJsonProvider. I'll check with the Tomee team to see if endpoint specific buses are possible. Thanks a lot. On 26 June 2014 07:10, Sergey Beryozkin wrote: > Hi > > On 26/06/14 04:32, pablo.a.saav

Classloader leak in ExtensionManagerBus (on tomee)

2014-06-25 Thread pablo.a.saave...@gmail.com
Hi All, hope you are doing well. We've been using Tomee as our application server lately (we have some basic JAX-RS APIs), and after several redeployments we get a PermGen space error. I've been digging into the heap dump, and from what I see our custom JAX-RS provider (JacksonJaxbJsonProvider) is