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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Alex The Rocker
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
Reply | Threaded
Open this post in threaded view
|

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

Romain Manni-Bucau
Hi

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

Le 6 oct. 2017 21:57, "Alex The Rocker" <[hidden email]> 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
>
Reply | Threaded
Open this post in threaded view
|

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

Alex The Rocker
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 <[hidden email]>:

> Hi
>
> You can set it in conf/system.properties of the instance (base) yes
>
> Le 6 oct. 2017 21:57, "Alex The Rocker" <[hidden email]> 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
>>
Reply | Threaded
Open this post in threaded view
|

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

Romain Manni-Bucau
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 <[hidden email]>:

> 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 <[hidden email]>:
> > Hi
> >
> > You can set it in conf/system.properties of the instance (base) yes
> >
> > Le 6 oct. 2017 21:57, "Alex The Rocker" <[hidden email]> 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
> >>
>
Reply | Threaded
Open this post in threaded view
|

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

Alex The Rocker
Great, thanks!

2017-10-07 16:36 GMT+02:00 Romain Manni-Bucau <[hidden email]>:

> 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 <[hidden email]>:
>
>> 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 <[hidden email]>:
>> > Hi
>> >
>> > You can set it in conf/system.properties of the instance (base) yes
>> >
>> > Le 6 oct. 2017 21:57, "Alex The Rocker" <[hidden email]> 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
>> >>
>>