You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by Alex The Rocker <al...@gmail.com> on 2017/10/06 19:57:09 UTC

Specifying org.apache.johnzon.max-string-length for a given TomEE+ instance

Hello,

Some of our apps fail to work with default value of
org.apache.johnzon.max-string-length setting (8KB).

But most of our apps are happy with this settings' default value.

Thus, I don't want to change this default value in TomEE+ install directory.
Would it be possible to overlead this
org.apache.johnzon.max-string-length property for a TomEE+ instance
pointing to a TomEE+ installation where this property is kept at its
default value?

If yes then how?

Best regards,
Alexandre

Re: Specifying org.apache.johnzon.max-string-length for a given TomEE+ instance

Posted by Alex The Rocker <al...@gmail.com>.
Great, thanks!

2017-10-07 16:36 GMT+02:00 Romain Manni-Bucau <rm...@gmail.com>:
> yes in CATALINA_OPTS
>
>
> Romain Manni-Bucau
> @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> <https://rmannibucau.metawerx.net/> | Old Blog
> <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
> LinkedIn <https://www.linkedin.com/in/rmannibucau>
>
> 2017-10-07 15:56 GMT+02:00 Alex The Rocker <al...@gmail.com>:
>
>> Hi Romain,
>>
>> Thanks, and could this property be set using setenv.sh ?
>>
>> Best regards,
>> Alexandre
>>
>> 2017-10-06 23:17 GMT+02:00 Romain Manni-Bucau <rm...@gmail.com>:
>> > Hi
>> >
>> > You can set it in conf/system.properties of the instance (base) yes
>> >
>> > Le 6 oct. 2017 21:57, "Alex The Rocker" <al...@gmail.com> a écrit :
>> >
>> >> Hello,
>> >>
>> >> Some of our apps fail to work with default value of
>> >> org.apache.johnzon.max-string-length setting (8KB).
>> >>
>> >> But most of our apps are happy with this settings' default value.
>> >>
>> >> Thus, I don't want to change this default value in TomEE+ install
>> >> directory.
>> >> Would it be possible to overlead this
>> >> org.apache.johnzon.max-string-length property for a TomEE+ instance
>> >> pointing to a TomEE+ installation where this property is kept at its
>> >> default value?
>> >>
>> >> If yes then how?
>> >>
>> >> Best regards,
>> >> Alexandre
>> >>
>>

Re: Specifying org.apache.johnzon.max-string-length for a given TomEE+ instance

Posted by Romain Manni-Bucau <rm...@gmail.com>.
yes in CATALINA_OPTS


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau>

2017-10-07 15:56 GMT+02:00 Alex The Rocker <al...@gmail.com>:

> Hi Romain,
>
> Thanks, and could this property be set using setenv.sh ?
>
> Best regards,
> Alexandre
>
> 2017-10-06 23:17 GMT+02:00 Romain Manni-Bucau <rm...@gmail.com>:
> > Hi
> >
> > You can set it in conf/system.properties of the instance (base) yes
> >
> > Le 6 oct. 2017 21:57, "Alex The Rocker" <al...@gmail.com> a écrit :
> >
> >> Hello,
> >>
> >> Some of our apps fail to work with default value of
> >> org.apache.johnzon.max-string-length setting (8KB).
> >>
> >> But most of our apps are happy with this settings' default value.
> >>
> >> Thus, I don't want to change this default value in TomEE+ install
> >> directory.
> >> Would it be possible to overlead this
> >> org.apache.johnzon.max-string-length property for a TomEE+ instance
> >> pointing to a TomEE+ installation where this property is kept at its
> >> default value?
> >>
> >> If yes then how?
> >>
> >> Best regards,
> >> Alexandre
> >>
>

Re: Specifying org.apache.johnzon.max-string-length for a given TomEE+ instance

Posted by Alex The Rocker <al...@gmail.com>.
Hi Romain,

Thanks, and could this property be set using setenv.sh ?

Best regards,
Alexandre

2017-10-06 23:17 GMT+02:00 Romain Manni-Bucau <rm...@gmail.com>:
> Hi
>
> You can set it in conf/system.properties of the instance (base) yes
>
> Le 6 oct. 2017 21:57, "Alex The Rocker" <al...@gmail.com> a écrit :
>
>> Hello,
>>
>> Some of our apps fail to work with default value of
>> org.apache.johnzon.max-string-length setting (8KB).
>>
>> But most of our apps are happy with this settings' default value.
>>
>> Thus, I don't want to change this default value in TomEE+ install
>> directory.
>> Would it be possible to overlead this
>> org.apache.johnzon.max-string-length property for a TomEE+ instance
>> pointing to a TomEE+ installation where this property is kept at its
>> default value?
>>
>> If yes then how?
>>
>> Best regards,
>> Alexandre
>>

Re: Specifying org.apache.johnzon.max-string-length for a given TomEE+ instance

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi

You can set it in conf/system.properties of the instance (base) yes

Le 6 oct. 2017 21:57, "Alex The Rocker" <al...@gmail.com> a écrit :

> Hello,
>
> Some of our apps fail to work with default value of
> org.apache.johnzon.max-string-length setting (8KB).
>
> But most of our apps are happy with this settings' default value.
>
> Thus, I don't want to change this default value in TomEE+ install
> directory.
> Would it be possible to overlead this
> org.apache.johnzon.max-string-length property for a TomEE+ instance
> pointing to a TomEE+ installation where this property is kept at its
> default value?
>
> If yes then how?
>
> Best regards,
> Alexandre
>