jaxrs deployment

2012-12-31 Thread Romain Manni-Bucau
Hi guys, i plan next year (hope to get it done for mid january) to change the default rest deployment the idea is to deploy a jaxrs Application instead of deploying each endpoint (== give the Application to cxf) the main reason is to simply reuse the rest routing instead of relying on the

ASM proxy improvement

2012-12-31 Thread Mark Struberg
hi folks! While looking at the ASM proxy David imported to OWB I saw that it's based on the sun.misc.Unsafe class. This makes this approach non-portable to other JVMs. I now played around with an alternative way to do the same: I just invoke the protected ClassLoader#defineClass method via

Re: jaxrs deployment

2012-12-31 Thread Romain Manni-Bucau
it will affect you only if you used openejb-jar.xml to configure providers etc if not (putting providers in Application classes for instance) no change. that's said with the property you can switch back to the old deployment i still not started to work on it (and it will wait some days) so i'm

Re: ASM proxy improvement

2012-12-31 Thread Romain Manni-Bucau
Hi Mark, unsafe is used in all frameworks so i'd consider it as safe ;) Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2012/12/31 Mark Struberg strub...@yahoo.de: hi

Re: ASM proxy improvement

2012-12-31 Thread Mark Struberg
Nope, Unsafe is gory bullt :) There is only one situation where you still need it: if you manually pack constant definitions in an existing class. But this is highly non-portable. LieGrue, strub - Original Message - From: Romain Manni-Bucau rmannibu...@gmail.com To:

Re: ASM proxy improvement

2012-12-31 Thread Mark Struberg
Some libraries do use it but also have a fallback code. For the performance aspect: this is just used to register the class byte[] in an existing ClassLoader. The ClassLoader base classe uses sun.misc.Unsafe _internally_ anyway. So I really don't think there will be much difference.

Re: ASM proxy improvement

2012-12-31 Thread Romain Manni-Bucau
i don't think so too but it is to check that's really important for unit tests Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2012/12/31 Mark Struberg strub...@yahoo.de:

Re: [DISCUSS] TomEE 1.5.2 release and 1.6.0

2012-12-31 Thread Jean-Louis MONTEIRO
Alex, You are right, dunno why it does not work. I don't have a lot of time today to dig into. The first thing you can to do is to create a bookmark titled 'ASF CMS edit' with the following content: javascript:void(location.href='https://cms .apache.org/redirect?uri='+escape(location.href))

CMS diff:

2012-12-31 Thread Anonymous CMS User
Clone URL (Committers only): https://cms.apache.org/redirect?new=anonymous;action=diff;uri=http://openejb.apache.org/tomee-version-policies.mdtext Index: trunk/content/tomee-version-policies.mdtext === ---

CMS diff:

2012-12-31 Thread Anonymous CMS User
Clone URL (Committers only): https://cms.apache.org/redirect?new=anonymous;action=diff;uri=http://openejb.apache.org/tomee-version-policies.mdtext Index: trunk/content/tomee-version-policies.mdtext === ---

Re: [DISCUSS] TomEE 1.5.2 release and 1.6.0

2012-12-31 Thread Alex The Rocker
Done. Would you please review it and let know if it's acceptable by the dev community before it's made public ? On Mon, Dec 31, 2012 at 3:13 PM, Jean-Louis MONTEIRO jeano...@gmail.comwrote: Alex, You are right, dunno why it does not work. I don't have a lot of time today to dig into. The

Re: More info on deploying an app on ROOT

2012-12-31 Thread Enrico Olivelli
At work I cannot checkout code from ASF repo and so I can try only with the downloadable packages I checked out a TomEE 1.5.1 at home and I tried to reproduce the problem, I could not reproduce an error with the same stacktrace but: - deplyoing a webapp only with a index.jsp (no web.xml, no

Re: More info on deploying an app on ROOT

2012-12-31 Thread Romain Manni-Bucau
Processannotationurls is trigeered for @WebXXX annotations That said, some test with trunk (you can get the zip of trunk from github openejb proxy) will be valuable Le 31 déc. 2012 17:20, Enrico Olivelli eolive...@gmail.com a écrit : At work I cannot checkout code from ASF repo and so I can try

Re: More info on deploying an app on ROOT

2012-12-31 Thread Enrico Olivelli
I'm trying with a @WebServet but I cannot reproduce the error on Processannotationurls any other annotation that could trigger the error ? on 2/1/2013 I'll be back to work and I will try to run debug my app deeper thank you Il 31/12/2012 18:27, Romain Manni-Bucau ha scritto:

Re: More info on deploying an app on ROOT

2012-12-31 Thread Romain Manni-Bucau
all @WebXXX (@WebServlet, @WebFilter etc...) Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2012/12/31 Enrico Olivelli eolive...@gmail.com: I'm trying with a @WebServet

Re: jaxrs deployment

2012-12-31 Thread Romain Manni-Bucau
just pushed the first part still need some more work but basically solve the routing issue will continue on thursday i think any feedback before will be helpful Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau