Re: Serialize ArrayList as JSON array?

2015-05-19 Thread kirys.it
On 05/18/2015 09:53 PM, Romain Manni-Bucau wrote: yes or the geronimo one but this one is ok Still this May 19, 2015 9:55:26 AM org.apache.openejb.observer.ObserverManager$MethodInvocation invoke SEVERE: error invoking org.apache.tomee.webservices.TomeeJaxRsService@6a396c1e

Re: Serialize ArrayList as JSON array?

2015-05-19 Thread Romain Manni-Bucau
then you surely have something broken in your setup, I use this everyday in tomee 1.7 and 7.x, try to rreproduce on github maybe Romain Manni-Bucau @rmannibucau https://twitter.com/rmannibucau | Blog http://rmannibucau.wordpress.com | Github https://github.com/rmannibucau | LinkedIn

Re: NPE when webBeansContext.getApplicationBoundaryService() in AbstractProxyFactory

2015-05-19 Thread Thusitha Thilina Dayaratne
Hi All, I'm extremely sorry for the mistake. This should be sent to the openwebbeans user groups. Sorry again. 2015-05-19 18:39 GMT+05:30 Thusitha Thilina Dayaratne thusithathil...@gmail.com: Hi, I'm trying to upgrade tomee support in our server from tomee 1.6.0.3 to 1.7.2. SInce 1.7.2 is

NPE when webBeansContext.getApplicationBoundaryService() in AbstractProxyFactory

2015-05-19 Thread Thusitha Thilina Dayaratne
Hi, I'm trying to upgrade tomee support in our server from tomee 1.6.0.3 to 1.7.2. SInce 1.7.2 is not released yet I'm using 1.7.2-SNAPSHOT. After doing the changes when I deploy an simple CDI app it throws following exception (I deployed and run the same app with 1.6.0.3 it works fine there)

Jax-RS 2.0 Snapshot missing

2015-05-19 Thread David Goodenough
I notice that if I go to the 2.0 snapshot download page and select the Plus version I get a TAR or ZIP, but if I look for the Jax-RS version I get:- 404 - Not Found Path /org/apache/openejb/apache-tomee/2.0.0-SNAPSHOT/apache- tomee-2.0.0-20150513.041200-285-jaxrs.tar.gz not found in local storage

Re: NPE when webBeansContext.getApplicationBoundaryService() in AbstractProxyFactory

2015-05-19 Thread Mark Struberg
well, that should not happen of course ;) I can give you a quick explanation what the ApplicationBoundaryService is for. We use it to get the ClassLoader to use for a class we need to proxy. Say if we create a CDI proxy (Contextual Reference) for a MyCustomCdiBean in your project then we

Re: Jax-RS 2.0 Snapshot missing

2015-05-19 Thread Romain Manni-Bucau
Hi this versions doesnt exist anymore since it is the web profile in tomee 7 Romain Manni-Bucau @rmannibucau https://twitter.com/rmannibucau | Blog http://rmannibucau.wordpress.com | Github https://github.com/rmannibucau | LinkedIn https://www.linkedin.com/in/rmannibucau | Tomitriber

Re: Serialize ArrayList as JSON array?

2015-05-19 Thread Romain Manni-Bucau
2015-05-19 14:51 GMT+02:00 kirys.it ki...@neoteroi.org: On 05/19/2015 10:27 AM, Romain Manni-Bucau wrote: then you surely have something broken in your setup, I use this everyday in tomee 1.7 and 7.x, try to rreproduce on github maybe I'll try to make some tests which edition do you use

Re: Jax-RS 2.0 Snapshot missing

2015-05-19 Thread David Goodenough
OK, perhaps it should be removed from the 2.0 snapshots page:- http://tomee.apache.org/download/tomee-2.0.0-snapshot.html David On Tuesday 19 May 2015 15:57:27 Romain Manni-Bucau wrote: Hi this versions doesnt exist anymore since it is the web profile in tomee 7 Romain Manni-Bucau

No message body writer has been found for class

2015-05-19 Thread Can Eskikaya
I try to get a JSON object response from my REST implementation. For test purpose i wrote a Foo class annotated with @XmlRootElement I use the openejb 4.7.0 version and it works like a charme In the openejb 5.0.0-snapshot version i get the error message: *No message body writer has been found

Re: Jax-RS 2.0 Snapshot missing

2015-05-19 Thread Romain Manni-Bucau
good catch, done + added http://tomee.apache.org/download/tomee-7.0.0-snapshot.html Romain Manni-Bucau @rmannibucau https://twitter.com/rmannibucau | Blog http://rmannibucau.wordpress.com | Github https://github.com/rmannibucau | LinkedIn https://www.linkedin.com/in/rmannibucau | Tomitriber

Re: AWS Beanstalk TomEE

2015-05-19 Thread kirys.it
On 05/19/2015 08:15 PM, Jonathan Gallimore wrote: AWS Beanstalk supports Docker - you could use one of these Dockerfiles to get you started: https://github.com/tomitribe/docker-tomee They're (hopefully) pretty straightforward - a download and unzip of TomEE. You should be able to add your app

Re: Jax-RS 2.0 Snapshot missing

2015-05-19 Thread David Goodenough
Thank you, I think the only thing you missed was listing JAX-RS in the list of components in the Web Profile version. BTW, when was the name changed from 2.0.0 to 7.0.0. Would I be right to presume that the 7.0.0 is meant to follow the version of Java-EE it implements? David On Tuesday 19

Re: Serialize ArrayList as JSON array?

2015-05-19 Thread kirys.it
On 05/19/2015 04:03 PM, Romain Manni-Bucau wrote: jdk1.7 or 1.8 doesnt make any change, tomee 1.7.2/1.7.3-SNAPSHOT/7.0.0-SNAPSHOT (but got it working on 1.7.1 as well even if I dont use it anymore since months) I've replaced official java spec with this: dependency

Re: Serialize ArrayList as JSON array?

2015-05-19 Thread kirys.it
On 05/19/2015 10:27 AM, Romain Manni-Bucau wrote: then you surely have something broken in your setup, I use this everyday in tomee 1.7 and 7.x, try to rreproduce on github maybe I'll try to make some tests which edition do you use and jdk? I was trying 1.7.1 plume and using jdk8u45 I would

Re: AWS Beanstalk TomEE

2015-05-19 Thread José Luis Cetina
ok, im reading now about Docker and all of this stuff, thanks to all. I will be ask you again for something sure!! Thanks 2015-05-19 15:03 GMT-05:00 Romain Manni-Bucau rmannibu...@gmail.com: Same should work Le 19 mai 2015 21:02, Aldrin Leal ald...@leal.eng.br a écrit : AWS has one for

Re: AWS Beanstalk TomEE

2015-05-19 Thread Romain Manni-Bucau
Same should work Le 19 mai 2015 21:02, Aldrin Leal ald...@leal.eng.br a écrit : AWS has one for DynamoDB as well: http://docs.aws.amazon.com/AWSSdkDocsJava/latest//DeveloperGuide/java-dg-tomcat-session-manager.html Not really sure how to wrap this guy for TomEE though -- -- Aldrin Leal,

Re: No message body writer has been found for class

2015-05-19 Thread Romain Manni-Bucau
Hi 7.x doesnt activate jettison (jaxb to json) by default since it is broken in 99% of the cases, you have to configure JsonProvider from cxf manually (in openejb-jar.xml for instance) to get it back Romain Manni-Bucau @rmannibucau https://twitter.com/rmannibucau | Blog

Re: Jax-RS 2.0 Snapshot missing

2015-05-19 Thread Romain Manni-Bucau
2015-05-19 18:00 GMT+02:00 David Goodenough david.goodeno...@linkchoose.co.uk: Thank you, I think the only thing you missed was listing JAX-RS in the list of components in the Web Profile version. BTW, when was the name changed from 2.0.0 to 7.0.0. last week Would I be right to presume

AWS Beanstalk TomEE

2015-05-19 Thread José Luis Cetina
Hi, im currently using AWS EC2, i configure tomee by myself along to apache2 server etc... AWS Beanstalk can be use it with Tomcat 7. Is there a way to use tomee inside of a tomcat 7? Im reading about: War-overlay TomEE to deploy your EE application in Tomcat

Re: AWS Beanstalk TomEE

2015-05-19 Thread Romain Manni-Bucau
2015-05-19 20:09 GMT+02:00 José Luis Cetina maxtorz...@gmail.com: Hi, im currently using AWS EC2, i configure tomee by myself along to apache2 server etc... AWS Beanstalk can be use it with Tomcat 7. Is there a way to use tomee inside of a tomcat 7? Im reading about: War-overlay TomEE to

Re: AWS Beanstalk TomEE

2015-05-19 Thread Jonathan Gallimore
AWS Beanstalk supports Docker - you could use one of these Dockerfiles to get you started: https://github.com/tomitribe/docker-tomee They're (hopefully) pretty straightforward - a download and unzip of TomEE. You should be able to add your app to /usr/local/tomee/webapps, and any config in

Re: AWS Beanstalk TomEE

2015-05-19 Thread Aldrin Leal
I'm not sure about how to wrap tomee for those, but look at my AWS EB Archetype $ mvn archetype:generate -Dfilter=elasticbeanstalk -- -- Aldrin Leal, ald...@leal.eng.br Master your EC2-fu! Get the latest ekaterminal public beta http://www.ingenieux.com.br/products/ekaterminal/ On Tue, May 19,

Re: AWS Beanstalk TomEE

2015-05-19 Thread Aldrin Leal
AWS has one for DynamoDB as well: http://docs.aws.amazon.com/AWSSdkDocsJava/latest//DeveloperGuide/java-dg-tomcat-session-manager.html Not really sure how to wrap this guy for TomEE though -- -- Aldrin Leal, ald...@leal.eng.br Master your EC2-fu! Get the latest ekaterminal public beta