When an update of TomEE with all the recent security fixes?

2017-10-04 Thread Kirys
Hi all recently many vulnerabilities were found in tomcat like https://nvd.nist.gov/vuln/detail/CVE-2017-12617 When there will be a release of tomee with an updated tomcat? Thank You K.

Re: Tomcat security issues and tomee 1.7.x

2017-05-17 Thread Kirys
On 19/04/2017 22:33, Howard W. Smith, Jr. wrote: Looking forward to (and have been waiting patiently for) TomEE+ 1.7.5 release, too. Thank you in advance! any news on this? meanwhile apache has two sites referring to tomee one host only older info releases but it is also the first that result

Re: Tomcat security issues and tomee 1.7.x

2017-04-16 Thread Kirys
On 15/04/2017 09:44, Alex The Rocker wrote: Hello, Thank you very much for this initiative. I'm getting ready to test TomEE+ 1.7.5 release candidate artifacts as soon as they'll be available. So do I ;)

Tomcat security issues and tomee 1.7.x

2017-04-13 Thread Kirys
Hi all Knowiing the latest security issues of tomcat 7, is there any plan of release another version of tomee 1.7 with updated tomcat? Bye K.

Re: Tomee 1.7.4 tries to parse a binary multipart as json

2016-12-28 Thread Kirys
On 28/12/2016 18:25, Romain Manni-Bucau wrote: can be, as mentionned this has a bit changed for jaxrs 2 and even if the new algorithm didn't make everyone happy, it at least makes it a bit more deterministic :) Yep I plan to upgrade to v7 next year ^_^, but i want to have a working version of

Re: Tomee 1.7.4 tries to parse a binary multipart as json

2016-12-28 Thread Kirys
On 28/12/2016 17:01, Romain Manni-Bucau wrote: 2016-12-28 16:56 GMT+01:00 Kirys : On 28/12/2016 16:17, Romain Manni-Bucau wrote: johnzon declares @Produces("application/json") @Consumes("application/json") so it shouldnt match the content-type of your request this

Re: Tomee 1.7.4 tries to parse a binary multipart as json

2016-12-28 Thread Kirys
On 28/12/2016 16:17, Romain Manni-Bucau wrote: johnzon declares @Produces("application/json") @Consumes("application/json") so it shouldnt match the content-type of your request this is what is weird a workaround is to configure it in openejb-jar.xml/resources.xml and add to ignorable type

Re: Tomee 1.7.4 tries to parse a binary multipart as json

2016-12-28 Thread Kirys
On 28/12/2016 15:31, Romain Manni-Bucau wrote: looks good, think the easiest is to debug in https://github.com/apache/cxf/blob/2.6.x-fixes/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/JAXRSUtils.java#L1019 to identify the issue ok from what i see reading the code this maybe beca

Re: Tomee 1.7.4 tries to parse a binary multipart as json

2016-12-28 Thread Kirys
On 28/12/2016 14:35, Romain Manni-Bucau wrote: Hi you added johnzon yourself in tomee right? If so did you use a recent version like 0.9.5 or 1.0.0? 0.9.5 netbeans doesn't show 1.0 as available, i'll force the redownload of the catalogue Also has your request the Content-Type header well

Tomee 1.7.4 tries to parse a binary multipart as json

2016-12-28 Thread Kirys
Hi all I have this method @POST @Path("/rest/saveLogo.do") @Produces(MediaType.APPLICATION_JSON) @Consumes(MediaType.MULTIPART_FORM_DATA) public Response saveLogo( MultipartBody body ) { return genericJsonResponse(CommandResult.NOT_IMPLEMENTED); }

Re: WARNING: No operation matching request path on a full jax-rs app

2016-06-07 Thread Kirys
On 06/06/2016 22:35, Romain Manni-Bucau wrote: It is a tomee 7 feature I think In the log i see this: INFO: Can't use CDI to create provider it.kirys.tomeetests.jmvc.exceptionmappers.WebApplicationExceptionHandler But no more info are available

Re: WARNING: No operation matching request path on a full jax-rs app

2016-06-06 Thread Kirys
Got only null On Jun 6, 2016 9:52 PM, "Romain Manni-Bucau" wrote: > 2016-06-06 21:44 GMT+02:00 Kirys : > > > On 06/06/2016 12:09, Kirys wrote: > > > >> > >> Good point, but it is just a little counterintuitive, actually there is > >> no

Re: WARNING: No operation matching request path on a full jax-rs app

2016-06-06 Thread Kirys
On 06/06/2016 12:09, Kirys wrote: Good point, but it is just a little counterintuitive, actually there is no "processor" designed for it. I'll try the code you provided and also catch all function approach. Ok the exception mapper was working but that code doesn't fire

Re: WARNING: No operation matching request path on a full jax-rs app

2016-06-06 Thread Kirys
Good point, but it is just a little counterintuitive, actually there is no "processor" designed for it. I'll try the code you provided and also catch all function approach. On Jun 6, 2016 11:39 AM, "Romain Manni-Bucau" wrote: > 2016-06-06 11:00 GMT+02:00 Kirys : >

Re: WARNING: No operation matching request path on a full jax-rs app

2016-06-06 Thread Kirys
On 06/06/2016 09:59, Romain Manni-Bucau wrote: I suspect it is cause there was no exception from a service bean but just no matching so ExceptionMapper resolution is not triggered at all - which makes sense but it would have been an elegant way to solve it. Understood, but is it right that a ja

Re: WARNING: No operation matching request path on a full jax-rs app

2016-06-06 Thread Kirys
On 06/06/2016 09:28, Kirys wrote: I don't think I'll use something different by TomEE so portability isn't an issue. But I would like to figure out why the ExceptionMapper doesn't work, maybe it is something that I didn't configure properly. I'll try to make

Re: WARNING: No operation matching request path on a full jax-rs app

2016-06-06 Thread Kirys
au <https://twitter.com/rmannibucau> | Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber <http://www.tomitribe.com> | JavaEE Factory <https://javaeefactory-rmannibucau.rh

Re: WARNING: No operation matching request path on a full jax-rs app

2016-06-05 Thread Kirys
On 05/06/2016 21:20, Romain Manni-Bucau wrote: Did you try an ExceptionMapper? It could handle 404 and delegate others. tried these two without any result: @Provider public class EntityNotFoundMapper implements ExceptionMapper { @Override public Response toResponse(EntityNotFoundEx

WARNING: No operation matching request path on a full jax-rs app

2016-06-05 Thread Kirys
Hi again, I'm building a rest service that is a bunch of stateless beans with @Path("/whatever"), and as suggested here some time ago a @ApplicationPath("/") public class WebApp extends Application { } My issue is that if i requested a path that have no handler path instead of a 404 an empt

Re: Is this legit? @RequestScoped vs HttpServletRequest

2016-05-10 Thread Kirys
On 08/05/2016 20:04, Romain Manni-Bucau wrote: If you use tomee 1 that's normal since it is a JavaEE 7 feature. TomEE 7 supports it. A filter is safe if you support asynchroron't use it. Asynchronism or banalized threads is the main issue you can encounter with a ThreadLocal. I'm not sure if

Re: Is this legit? @RequestScoped vs HttpServletRequest

2016-05-08 Thread Kirys
On 08/05/2016 18:09, John D. Ament wrote: I know Romain's done some work in this area before. Per the spec, its not required to work the way you have it defined. JAX-RS injection via @Context is only mandated to work in JAX-RS managed components. Try to use @Inject instead of @Context, that ma

Is this legit? @RequestScoped vs HttpServletRequest

2016-05-08 Thread Kirys
I'm am making some experiments and I've written this cdi called from within a jsf page but I get a nullpointer exception is that a valid setup or is not legit to get HttpServletRequest from within a request scoped cdi? Thank You Details follow: Apache Tomcat (TomEE)/7.0.68 (1.7.4) (plumee) C

Re: Serving static resources and jax-rs on root path

2015-07-11 Thread Kirys
On 07/11/2015 07:43 PM, Romain Manni-Bucau wrote: Hi Why not just putting your resources in /resources? You can need to edit conf/web.xml to remove default mapping if you remap this servlet yourself. ok thank you Bye

Serving static resources and jax-rs on root path

2015-07-11 Thread Kirys
y the default servlet instead of the jax servlet. I though that using the default servlet to serve static resources should reduce issues of path manipulation, but I don't know if this the correct solution. the code is here (tomee-plugin included): https://bitbucket.org/kirys/tomee-tests

Re: Jax-ws and Virtual Hosts

2015-06-03 Thread Kirys
On 06/03/2015 04:38 PM, Romain Manni-Bucau wrote: well I guess it is fixed in 1.7.2. Think to add this system property: openejb.deploymentId.format = {host}/{appId}/{ejbJarId}/{ejbName} good This week end I'll update the server I use at home to 1.7.2 Thank You K.

Re: Jax-ws and Virtual Hosts

2015-06-03 Thread Kirys
On 06/03/2015 03:31 PM, Romain Manni-Bucau wrote: I guess thewar is not in your demo host directory, you can just reuse webapps/ I think I've found the solution, and it does reproduce the issue as it is on my virtual machine You have to set your client to resolve "demohost" as "localhost". o

Re: Jax-ws and Virtual Hosts

2015-06-03 Thread Kirys
On 06/03/2015 08:15 AM, Romain Manni-Bucau wrote: 2015-06-02 20:06 GMT+02:00 Kirys : [..]-> addChild: Child name 'localhost' is not unique I've pushed the experiment to the repo. you need to add true otherwise we replqce the host with the configured one (default in y

Re: Jax-ws and Virtual Hosts

2015-06-02 Thread Kirys
On 06/02/2015 06:12 PM, Romain Manni-Bucau wrote: I've never used it (netbeans take care of starting tomee for me) I'm trying to understand how to make it deploy to the virtualhost app base. you can create a src/main/tomee/conf and put server.xml inside, then mvn clean package tomee:run will st

Re: Jax-ws and Virtual Hosts

2015-06-02 Thread Kirys
On 06/02/2015 04:55 PM, Romain Manni-Bucau wrote: Hmm maybe I did it wrong but there isonly JAXRS and not JAXWS services in this project no? Yes you are right as always, sorry messed up the acronym. How should we reproduce, we use your server.xml and copy the war in all appBase? Into the

Re: Jax-ws and Virtual Hosts

2015-06-02 Thread Kirys
t but only into the main host (does not matter if the war is in both the directory at the same time or not). https://bitbucket.org/kirys/tomee-tests Let me know if you need more info. Thank You K.

Re: Jax-ws and Virtual Hosts

2015-06-01 Thread Kirys
t; <http://rmannibucau.wordpress.com> | Github < > https://github.com/rmannibucau> | > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber > <http://www.tomitribe.com> > > 2015-06-01 10:23 GMT-07:00 Kirys : > > > Hi all, > > I'm stil

Jax-ws and Virtual Hosts

2015-06-01 Thread Kirys
Hi all, I'm still studing, and i made some test, everything works when deploying on the main host, but when deploying on tomcat virtual hosts jax-ws (on a EJB) doesn't seem to register the paths. What I want to achieve: I would like to use the same app on multiple virtual hosts, each virtual

Re: JSF and Jax-rs ->welcome-file ingored

2015-05-18 Thread Kirys
.com> | Github < > https://github.com/rmannibucau> | > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber > <http://www.tomitribe.com> > > 2015-05-18 18:35 GMT+02:00 Kirys : > > > Ok got it > > I've used the application way. And it wo

Re: JSF and Jax-rs ->welcome-file ingored

2015-05-18 Thread Kirys
Ok got it I've used the application way. And it works as expected :) thank you. But the only fishy thing is that no 404 page is shown when the path has no processor, not sure if this is correct. Bye K. On 18 May 2015 08:28, "Romain Manni-Bucau" wrote: > Le 18 mai 2015 07:47

Re: Serialize ArrayList as JSON array?

2015-05-18 Thread Kirys
Sorry again I've found how to set it into openejb-jar But it still collapse array of one element into json. Is there a correct set of parameters or should I use another provider (Jackson?)? Thank you K On 18 May 2015 17:06, "kirys.it" wrote: > On 03/05/2015 05:27 PM, bibhas wrote: > >> Never min

Re: JSF and Jax-rs ->welcome-file ingored

2015-05-17 Thread Kirys
On 17 May 2015 19:45, "Romain Manni-Bucau" wrote: > > Hi > > This is "fixed" on coming version but good way to solve it is to bind > jaxrs endpoints to a subpath. See @ApplicationPath I'll look at it Is the fix going to a minor release, or into 2.0? Thank you K.

Re: Images Missing into some website pages

2013-05-04 Thread Kirys
cau.wordpress.com/*< > http://rmannibucau.wordpress.com/> > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* > *Github: https://github.com/rmannibucau* > > > > 2013/4/28 Kirys > > > Hi all browsing tomee website i see some images missing. > > for example this page > &

Images Missing into some website pages

2013-04-28 Thread Kirys
Hi all browsing tomee website i see some images missing. for example this page http://tomee.apache.org/tomee-and-netbeans.html has no image at all like http://tomee.apache.org/images/netbeans-serverCreate1.png ecc.. Best regards F