Re: Memory leak on redeployment

2012-10-15 Thread Romain Manni-Bucau
Hi Harald and thanks to have shared a sample. I tried to work on it but it was quite hard since the static big attribute was changiong the behavior. If you remove it the garbage collection is fine but with it i manage to reproduce your OOME. *Romain Manni-Bucau* *Twitter: @rmannibucau

DataSource Adjustment --|- --|-

2012-10-15 Thread CThorburn
I have spent three days now trying to get OpenJPA and Hibernate to work under both 1.0.0 and 1.5.0 web profiles without any luck so some help would be much appreciated. I've tried this under Eclipse WTP and standalone with the same results on startup. The truly maddening bits a re in bold below

Re: DataSource Adjustment --|- --|-

2012-10-15 Thread Romain Manni-Bucau
Hi, please have a look to http://tomee.apache.org/containers-and-resources.html format is Resource attribute = value otherKey = value2 ... /Resource *Romain Manni-Bucau* *Twitter: @rmannibucau https://twitter.com/rmannibucau* *Blog:

TomEE Plus (the hard way)

2012-10-15 Thread Todd Deshane
Hi All, In our environment (at least for now), we need to run Tomcat 6.0.35 and add CXF support to our API and apps manually. Is there any known issues with this configuration? Is there anything I have to do on the tomcat configuration side to get it to work with CXF? (In fact, the

TomEE and the unpacksWar attribute

2012-10-15 Thread diuis
Hi to all.I would deploy a war application in TomEE 1.5 without unpacking the war, in a read only file system. I guess the best way to do this is to set the unpacksWar attribute of the host element in the server.xml file to false, but, when I start TomEE, this is the log:/INFO: Starting service

Re: TomEE and the unpacksWar attribute

2012-10-15 Thread Romain Manni-Bucau
Hi, currently TomEE doesn't dupport deploying a war without unpacking it *Romain Manni-Bucau* *Twitter: @rmannibucau https://twitter.com/rmannibucau* *Blog: **http://rmannibucau.wordpress.com/*http://rmannibucau.wordpress.com/ *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github:

Re: Memory leak on redeployment

2012-10-15 Thread Harald Wellmann
Hi Romain, I ran TomEE with my sample under the debugger, and I think the leak is in TomcatWebAppBuilder: There is a map private MapClassLoader, MapString, SetString jsfClasses; storing the classloader of each deployed webapp, and the map entry is never removed when the webapp is

Re: Memory leak on redeployment

2012-10-15 Thread José Luis Cetina
Hi im deloying my web app's in TomEE and i always use: -XX:MaxPermSize=256M -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled I use NetBeans 7.2 and i can redeploy everytime and the memory leak doesnt appear, i recomend you the parameters. 2012/10/15 Harald Wellmann

Re: Rest and lazy loaded JPA 2.0 hibernate entities

2012-10-15 Thread Romain Manni-Bucau
Hi, Call e.getRelationship().size() before the end of the tx Le 15 oct. 2012 22:18, potgieterdl derick.potgie...@gmail.com a écrit : Hi All, I`m running tomee rest 1.5.0 and have swapped openjpa to hibernate. I`m having a issue is my rest service on returning a ListCustomer which is

Re: Memory leak on redeployment

2012-10-15 Thread Harald Wellmann
Am 15.10.2012 22:23, schrieb José Luis Cetina: Hi im deloying my web app's in TomEE and i always use: -XX:MaxPermSize=256M -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled I use NetBeans 7.2 and i can redeploy everytime and the memory leak doesnt appear, i recomend you the

Re: Memory leak on redeployment

2012-10-15 Thread José Luis Cetina
Yes, maybe this only delay the OutOfMemoryError, i wasnt clear, i use this for redeploy my app in DEVELOPMENT not PRODUCTION that's why this options works for me in development environment 2012/10/15 Harald Wellmann hwellmann...@gmail.com Am 15.10.2012 22:23, schrieb José Luis Cetina: Hi

Re: TomEE Plus (the hard way)

2012-10-15 Thread David Blevins
On Oct 15, 2012, at 6:14 AM, Todd Deshane todd.deshane.excels...@gmail.com wrote: Hi All, In our environment (at least for now), we need to run Tomcat 6.0.35 and add CXF support to our API and apps manually. Is there any known issues with this configuration? Is there anything I have to

Re: TomEE Plus (the hard way)

2012-10-15 Thread Romain Manni-Bucau
Hi, We now are integrated with t7 pretty far and t6 support would need a big refactoring. Not sure if integrating openwebbeans in t6+some cxf cdi integration (look openejb-cxf-rs invoker/perrequestprovider) isnt easier today. - Romain Le 16 oct. 2012 03:38, David Blevins david.blev...@gmail.com