JsonReader.readObject() fails with ArrayIndexOutOfBoundsException when a string is too long, but is full of backslashes?

2019-02-25 Thread Kean Erickson
I'm using TomEE webprofile 7.04 in an exploded WAR deployment. I need to use JsonReader's readObject() to read from a JsonReader created from a string, but the JsonReader's readObject() call fails ineloquently when the object read is too long. I unfortunately haven't been able to find a way to

Re: Johnzon Threads Locking up marshalling from String to Object

2019-02-25 Thread Jonathan Gallimore
I'd be pretty surprised if the ear vs war deployment made a difference, but you never know... feel free to send your working war sample over, it might just help us bootstrap something. It would be useful to get the full guru.jini.arch.impl.json.JsonImpl.toObject and

Re: Johnzon Threads Locking up marshalling from String to Object

2019-02-25 Thread Paul Carter-Brown
Hi Daniel, For the life of me I cannot recreate the issue in a simple project with a WAR. My project is an EAR with multiple WARS. I will continue trying but in the meantime wondered if anyone has any clues where to look? Paul Carter-Brown Director Jini Guru m: +27 (0) 83 442 7179 <+27834427179>

Re: TomEE Web vs TomEE MP vs TomEE Plus

2019-02-25 Thread Roberto Cortez
Hi Francois, There is a thread about doing one. If I have some time, I may try to do it during this week (no promises :)). Or if someone else wants to do it, it is also fine by me :) Cheers, Roberto > On 25 Feb 2019, at 08:47, COURTAULT Francois > wrote: > > Hello Roberto, > > Glad to

Re: Johnzon Threads Locking up marshalling from String to Object

2019-02-25 Thread Daniel Cunha
Hi Paul, could you share a sample project with your issue? It will help to reproduce and analyze your case. Thank you. Em seg, 25 de fev de 2019 às 14:35, Paul Carter-Brown escreveu: > Hi, > > I'm using Johnzon in TomEE 8.0.0-M2. In some rest calls, I do my own > marshalling from a string to

Johnzon Threads Locking up marshalling from String to Object

2019-02-25 Thread Paul Carter-Brown
Hi, I'm using Johnzon in TomEE 8.0.0-M2. In some rest calls, I do my own marshalling from a string to an Object. Intermittently (maybe 50% of the times I bounce TomEE), after TomEE starts and I send rest requests to the server, threads lock up and I get timeouts. It appears as though the threads

Re: Try to build a JWT sample

2019-02-25 Thread Josef Puff
thx u :) > Am 25.02.2019 um 15:30 schrieb Jean-Louis Monteiro : > > users-unsubscr...@tomee.apache.org

Re: Try to build a JWT sample

2019-02-25 Thread Jean-Louis Monteiro
Hi Josef, I don't know how to do it on your behalf. But you can do it yourself by sending an email to users-unsubscr...@tomee.apache.org Hope it helps -- Jean-Louis Monteiro http://twitter.com/jlouismonteiro http://www.tomitribe.com On Mon, Feb 25, 2019 at 3:28 PM Josef Puff wrote: > Please

Re: Try to build a JWT sample

2019-02-25 Thread Josef Puff
Please remove me from the mailing list. thx > Am 25.02.2019 um 15:28 schrieb Jean-Louis Monteiro : > > Yes that correct. > You need to plugin that producer and the producer is the one that can > leverage mp-config and the same property names. > > This way, when switching to next TomEE, you

Re: TomEE 8.0.0-M2 no more available on download site ?

2019-02-25 Thread Jonathan Gallimore
I got this to staging: http://tomee.staging.apache.org/download-archive.html and have tried to publish it to production. It isn't showing up in production - should there be a tomee-site-production job here: https://ci.apache.org/builders? Jon On Mon, Feb 25, 2019 at 11:30 AM Jonathan Gallimore

Re: TomEE 8.0.0-M2 no more available on download site ?

2019-02-25 Thread Jonathan Gallimore
Looks like that Downloads class is not used (and hasn't been updated for a while). The download-ng.adoc and download-archive.adoc pages hadn't been updated. I've done that here, and I'm just checking they are correct. Jon On Mon, Feb 25, 2019 at 11:16 AM Jonathan Gallimore <

Re: TomEE 8.0.0-M2 no more available on download site ?

2019-02-25 Thread Jonathan Gallimore
Just taking a quick peek and seeing if I can see the issue. Jon On Sat, Feb 23, 2019 at 11:03 AM Jean-Louis Monteiro < jlmonte...@tomitribe.com> wrote: > Hey David, > > Since the website has been reworked I am not familiar with the technique. > To fix the issue François reported, looks like we

RE: Try to build a JWT sample

2019-02-25 Thread COURTAULT Francois
Hello Jean-Louis, I have looked at the samples code. As I am using TomEE 7.1.0 (MP JWT 1.0 compliant), I guess I can't use the mp.jwt.verify.publickey or mp.jwt.verify.publickey.location and mp.jwt.verify.issuer config properties, right ? Instead, I have to write a

RE: TomEE Web vs TomEE MP vs TomEE Plus

2019-02-25 Thread COURTAULT Francois
Hello Roberto, Glad to hear that. When M3 release is scheduled ? Best Regards. -Original Message- From: Roberto Cortez [mailto:radcor...@yahoo.com.INVALID] Sent: vendredi 22 février 2019 18:48 To: users@tomee.apache.org Subject: Re: TomEE Web vs TomEE MP vs TomEE Plus Hi Francois, You