Re: TomEE 1.6.0 + Jersey 2.6 ClassCastException problem

2014-03-31 Thread John Ang
Hi Romain Manni-Bucau, I'm leaning towards the 2nd choice that you suggest above which is to provide the api in the app forcing it to be loaded with the property. I tried this suggestion by removing the exclusions from the attached maven project and also added the following properties to

Re: TomEE 1.6.0 + Jersey 2.6 ClassCastException problem

2014-03-31 Thread Romain Manni-Bucau
Actually I use it in tomee webprofile and jersey 1.18. Should work with jersey 2 providing the up to date API. Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-03-31 8:47

Re: TomEE and javamail

2014-03-31 Thread hwaastad
Hi again, I turned back to my production environment and found out that this issue is due to some axis2 dependencies i an external module that I use. I've extended my test project to provide similar dependencies: https://github.com/hwaastad/tomeeaxis.git As u see, the library module (which I do

Re: TomEE and javamail

2014-03-31 Thread Romain Manni-Bucau
remove geronimo jar from your webapp (javamail one in particular) I think this one is not filtered yet cause was the first to be asked to be overridable so it needs to be filtered manually if used as you do Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn:

Re: TomEE and javamail

2014-03-31 Thread hwaastad
Thanks again, i excluded all artifacts which generated contains offending class and it seems to be OK. Great :-) br hw -- View this message in context: http://openejb.979440.n4.nabble.com/TomEE-and-javamail-tp4668436p4668474.html Sent from the OpenEJB User mailing list archive at

Re: TomEE and javamail

2014-03-31 Thread Howard W. Smith, Jr.
On Mon, Mar 31, 2014 at 4:28 AM, Romain Manni-Bucau rmannibu...@gmail.comwrote: remove geronimo jar from your webapp (javamail one in particular) +1 I see this recommendation a lot on this list. :) now, time to be nitpicky..., is geronimo javamail JAR bundled with tomee for [javamail] license

Running EJB and non-EJB applications in one Tomcat

2014-03-31 Thread Ushakov, Sergey N
Hi, sorry if asking something trivial, but I could not find anything on my topic neither in the documentation ( http://openejb.apache.org/documentation.html ) nor in the archive. The only similar topic I could find was some four years old, with no final solution mentioned:

Re: TomEE and javamail

2014-03-31 Thread Romain Manni-Bucau
just license Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-03-31 12:49 GMT+02:00 Howard W. Smith, Jr. smithh032...@gmail.com: On Mon, Mar 31, 2014 at 4:28 AM, Romain

Re: Running EJB and non-EJB applications in one Tomcat

2014-03-31 Thread Romain Manni-Bucau
Hi in system.proeprties you can put tomcat-only=true or [app name].tomcat-only=true. This will prevent tomee to manage this app. About classloader you can force some classes/packages to be loaded from the webapp using openejb.classloader.forced-load = org.,com.,net.,... but this can break tomee

tomee rest-example PostDAO.list exception

2014-03-31 Thread knagin
The PostDAO.list() function in the tomee rest-example throws an exception if the maximum parameter is greater than 1. The exception seems to come from DOA.namFind . Incidentally the UsetDAO.list function works as expected. This is the trace: SEVERE - EjbTransactionUtil.handleSystemException:

Re: TomEE 1.6.0 + Jersey 2.6 ClassCastException problem

2014-03-31 Thread John Ang
I'm using TomEE webprofile as well with the updated APIs in the app lib directory. Still didn't work. -- View this message in context: http://openejb.979440.n4.nabble.com/TomEE-1-6-0-Jersey-2-6-ClassCastException-problem-tp4668363p4668491.html Sent from the OpenEJB User mailing list archive at

Re: TomEE 1.6.0 + Jersey 2.6 ClassCastException problem

2014-03-31 Thread Romain Manni-Bucau
Should work now with https://issues.apache.org/jira/browse/TOMEE-1159 logs should get these lines: avr. 01, 2014 7:41:30 AM org.apache.tomee.catalina.TomEEClassLoaderEnricher validateJarFile Avertissement: jar