Re: serializeAsArray JacksonJaxbJsonProvider

2014-10-19 Thread hwaastad
Hi, I usually add my own @provider / extends JacksonJaxbJsonProvider) and set all my needed objectmapper options there. br hw -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/serializeAsArray-JacksonJaxbJsonProvider-tp4672427p4672431.html Sent from the TomEE Users

Re: Problems with shutting down TomEE 1.7.1 using the JAAS module SQLLoginModule

2014-10-19 Thread Romain Manni-Bucau
Hi Do you have a thread stack when it hangs? Le 19 oct. 2014 04:26, Eric Henson ehenson...@gmail.com a écrit : I have successfully configured the SQLLoginModule to authenticate against a MySQL database but now when I try to shutdown the server it hangs. This happens when I use it with

Re: serializeAsArray JacksonJaxbJsonProvider

2014-10-19 Thread Romain Manni-Bucau
If you have a custom jaxrs application class-name should be its name. And once you use resources, providers values should be their ids (json here) in openejb-jar. Hi, I usually add my own @provider / extends JacksonJaxbJsonProvider) and set all my needed objectmapper options there. br hw --

Re: Problems with shutting down TomEE 1.7.1 using the JAAS module SQLLoginModule

2014-10-19 Thread Andy Gumbrecht
What is your environment? Run TomEE in debug mode and attach your IDE. When TomEE hangs do a thread dump. Post that here and we should be able to see at least where things go wrong. http://www.tomitribe.com - @AndyGeeDe - On a mobile device, and I have fat fingers. Sorry for typos. On 19 Oct 2014

Re: pom for tomee embedded plus or plume with Arquillan for test

2014-10-19 Thread mauro2java2011
what do you meant with: embedded also means you do the work ;) ?? -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/pom-for-tomee-embedded-plus-or-plume-with-Arquillan-for-test-tp4672424p4672435.html Sent from the TomEE Users mailing list archive at

Re: pom for tomee embedded plus or plume with Arquillan for test

2014-10-19 Thread mauro2java2011
hi tank you for your link. but if i would change te classfier for tomee plus or plume , where i have to substitute? and what i have to write for tomee plus and for plume? tank you very much mauro -- View this message in context:

Re: pom for tomee embedded plus or plume with Arquillan for test

2014-10-19 Thread Romain Manni-Bucau
I meant in tomee libs are set up, in embedded you are the one responsible of it. With tomee remote you can just set plume as property classifier of tomee container in arquillian.xml Le 19 oct. 2014 11:11, mauro2java2011 mauro2java2...@gmail.com a écrit : hi tank you for your link. but if i

TomEE JavaMail problems

2014-10-19 Thread iluvtr
I use a Tomcat 7, recently I considered to use TomEE in order to get full power of Java EE without all that plumbing that comes with plain Tomcat. The bad news came with email sending, because compared it was taking a long, long time compared with plain Tomcat with Oracle JavaMail. Sending

JaxRS versioning REST API

2014-10-19 Thread Alex Soto
Hi guys, this is more a design question than a question about how to do something with JAX-RS. Currently I am developing an API using JAX-RS which must be versionable. That means that the API will evolve and client must specify which version of the API want to use. There are a lot of strategies

Re: TomEE JavaMail problems

2014-10-19 Thread Romain Manni-Bucau
Hi multiple users did it in case of migrations. That said the issue is really linked to something else in your environment since we are 2 not able to reproduce it. Maybe try to debug both implementation (Transport.send(msg)) and see where it is different. We can then fix geronimo if needed (if

Re: TomEE JavaMail problems

2014-10-19 Thread Howard W. Smith, Jr.
You did the right thing. For years, I have been posting to this list about my issues with geronimo javamail (which is shipped/bundled with tomee+) and the workaround is to remove-and-replace geronimo javamail JAR with (Oracle) JavaMail JAR. Now, my endusers don't like the few seconds wait/delay

Re: JaxRS versioning REST API

2014-10-19 Thread Romain Manni-Bucau
Hi What about sub resource locator pattern? For versioning I used a sub resource facade delegating to the real service then. This is just a router but it allows to put all the logic in a single place. Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn:

Re: TomEE JavaMail problems

2014-10-19 Thread Romain Manni-Bucau
2014-10-19 13:44 GMT+02:00 Howard W. Smith, Jr. smithh032...@gmail.com: You did the right thing. For years, I have been posting to this list about my issues with geronimo javamail (which is shipped/bundled with tomee+) and the workaround is to remove-and-replace geronimo javamail JAR with

Re: JaxRS versioning REST API

2014-10-19 Thread Alex Soto
Yes this is what I though about creating a central place, but I was thinking about using a rewrite instead of a subresource. I am going to google a bit about this pattern. For what I see there is no magic solution yet :( Thanks. 2014-10-19 13:44 GMT+02:00 Romain Manni-Bucau

Re: TomEE JavaMail problems

2014-10-19 Thread Howard W. Smith, Jr.
On Sun, Oct 19, 2014 at 7:46 AM, Romain Manni-Bucau rmannibu...@gmail.com wrote: 2014-10-19 13:44 GMT+02:00 Howard W. Smith, Jr. smithh032...@gmail.com: You did the right thing. For years, I have been posting to this list about my issues with geronimo javamail (which is shipped/bundled with

Re: TomEE JavaMail problems

2014-10-19 Thread Romain Manni-Bucau
2014-10-19 13:51 GMT+02:00 Howard W. Smith, Jr. smithh032...@gmail.com: On Sun, Oct 19, 2014 at 7:46 AM, Romain Manni-Bucau rmannibu...@gmail.com wrote: 2014-10-19 13:44 GMT+02:00 Howard W. Smith, Jr. smithh032...@gmail.com: You did the right thing. For years, I have been posting to this

Re: TomEE JavaMail problems

2014-10-19 Thread Howard W. Smith, Jr.
On Sun, Oct 19, 2014 at 7:56 AM, Romain Manni-Bucau rmannibu...@gmail.com wrote: 2014-10-19 13:51 GMT+02:00 Howard W. Smith, Jr. smithh032...@gmail.com: On Sun, Oct 19, 2014 at 7:46 AM, Romain Manni-Bucau rmannibu...@gmail.com wrote: 2014-10-19 13:44 GMT+02:00 Howard W. Smith, Jr.

Re: TomEE JavaMail problems

2014-10-19 Thread Hendrik Dev
All the open issues below seems to refer to the same bug, at least 2 patches were supplied (on 7 Aug 2013 and 3 Aug 2014) Don't know why no committer has picked this up till now ... https://issues.apache.org/jira/browse/GERONIMO-6526 https://issues.apache.org/jira/browse/GERONIMO-6485

Re: Problems with shutting down TomEE 1.7.1 using the JAAS module SQLLoginModule

2014-10-19 Thread Eric Henson
My Windows environment is Windows 8.1, Oracle Java 1.7.0_67 64 Bit, and TomEE 1.7.1 Plus. MySql Community 5.6.21 using mysql-connector-java-5.1.33-bin.jar. My login.config: SQLLoginApp { org.apache.openejb.core.security.jaas.SQLLoginModule required

HTTPS to a remote server fails

2014-10-19 Thread thomasdk
Hi and please excuse me if what I am asking was obvious. I have tried to search the forums with no results. From my webapp within Tomee I am trying to access a remote server using https ( apache httpclient ver. 4.x ) to retrieve some data. When the code stub is executed as a stand alone program (

Re: Problems with shutting down TomEE 1.7.1 using the JAAS module SQLLoginModule

2014-10-19 Thread Andy Gumbrecht
That's a great report. Thanks for taking the time to put that together. I'll have a look in the morning. Not at my machine right now. Andy. http://www.tomitribe.com - @AndyGeeDe - On a mobile device, and I have fat fingers. Sorry for typos. On 19 Oct 2014 19:12, Eric Henson ehenson...@gmail.com

Re: TomEE JAX-RS MessageBodyWriter / Reader not working like the standard

2014-10-19 Thread iluvtr
I solved guys!, it just was a matter of adding writer.flush(); at the end of the method 'writeTo' But I don't remember I added that line to plain Tomcat, well, it's solved anyway, The code is here maybe some of you find it useful @Provider @Produces(MediaType.APPLICATION_JSON)