Re: Override default Java mail implementation

2015-01-22 Thread Romain Manni-Bucau
we can but as usual if you want it move forward you'll need to provide a full sample making it easy to reproduce (can be as trivial as a servlet checking Session impl type). Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau

Re: Eclipselink question

2015-01-22 Thread Andy Gumbrecht
Hi Karl, Firstly Ouch, I know it is always tempting to use things like this but I would not use it unless there was a really really good reason to use it. It is not compatible with anything other than EL. If your child objects start to become so many that you are thinking of batching

Re: Override default Java mail implementation

2015-01-22 Thread herau
Hi, I'm not using tomee.xml and @Resource annotation. i'm using `Session.getInstance(Properties)`. When i launch my application in TomEE, the implementation of Session isn't my implementation but the geronimo implementation. If you say that it should be able to use my webapps libs, can we

how to create a tomee project on Codenvy ??

2015-01-22 Thread mauro2java2011
hi . I know that my post can be off-topic, but i try to ask .. i have read from : http://www.tomitribe.com/blog/2015/01/ready-to-edit-application-in-under-3-min-with-tomee/ I have so create a free account to Codenvy. THe codenvy is like openshift? tnak you mauro. I have tried to create a new

Re: Override default Java mail implementation

2015-01-22 Thread herau
In fact, the issue is that my webapps contains an implementation of javax.mail and tomee too (with geronimo). If i remove my lib from my webapps it's works. So my question is why Javax.mail isn't ignored by the tomEE classloader ? For example, in my webapp, i have a jar

Re: Eclipselink question

2015-01-22 Thread Andy Gumbrecht
What do your actual db tables and entities look like? Can you supply some details? Andy. On 22/01/2015 19:10, Howard W. Smith, Jr. wrote: Collections work well when I check isEmpty(), but I'm not using that notation. I'm still using eclipselink 2.3.2. On Jan 22, 2015 1:04 PM,

Re: Override default Java mail implementation

2015-01-22 Thread Romain Manni-Bucau
you can configuring it but that's not the default which was asked by users Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2015-01-22 17:24 GMT+01:00 herau leboulanger.aurel...@gmail.com: even if i declare the api

Re: Eclipselink question

2015-01-22 Thread karl . kilden
Hello! I think something is weird in eclipselink. I need to reproduce but if you do select item where supplier = selectedSupplier It is one select per item even if item only has a elementcollection with a few values... Seems any kind of collection is unusable. Thanks for your input Skickat från

Re: Eclipselink question

2015-01-22 Thread Howard W. Smith, Jr.
Collections work well when I check isEmpty(), but I'm not using that notation. I'm still using eclipselink 2.3.2. On Jan 22, 2015 1:04 PM, karl.kil...@gmail.com wrote: Hello! I think something is weird in eclipselink. I need to reproduce but if you do select item where supplier =

Re: Override default Java mail implementation

2015-01-22 Thread herau
What i want is that my webapp can run on TomEE but also on tomcat, jetty... How i can configure TomEE to ignore my javax.mail jar please ? you can configuring it but that's not the default which was asked by users Romain Manni-Bucau @rmannibucau http://www.tomitribe.com

Re: how to create a tomee project on Codenvy ??

2015-01-22 Thread mauro2java2011
but please, if i would create a new project from your repo git? step involved? 2015-01-22 17:09 GMT+01:00 Jonathan Gallimore-2 [via TomEE OpenEJB] ml-node+s979440n4673483...@n4.nabble.com: Hi, Thanks for reading my blog article! I hope it was useful. I guess Codenvy has some similarities

Re: Override default Java mail implementation

2015-01-22 Thread Romain Manni-Bucau
openejb.classloader.forced-skip = javax.mail Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2015-01-22 17:55 GMT+01:00 herau leboulanger.aurel...@gmail.com: What i want is that my webapp can run on TomEE but also on

Re: Eclipselink question

2015-01-22 Thread Howard W. Smith, Jr.
On Thu, Jan 22, 2015 at 5:59 PM, Andy Gumbrecht agumbre...@tomitribe.com wrote: What do your actual db tables and entities look like? Can you supply some details? Andy. On 22/01/2015 19:10, Howard W. Smith, Jr. wrote: Collections work well when I check isEmpty(), but I'm not using that