You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Ilya Terskov <pr...@gmail.com> on 2025/04/28 05:03:27 UTC

James Guice Groups

Hi there guys.

I can't find the answer to my question - why only 3 items in this request

curl -XPUT
http://localhost:8000/address/groups/all@kps-t.ru/a.belomyttsev@kps-t.ru
curl -XPUT
http://localhost:8000/address/groups/all@kps-t.ru/a.bolohnin@kps-t.ru
curl -XPUT
http://localhost:8000/address/groups/all@kps-t.ru/a.chachina@kps-t.ru
curl -XPUT
http://localhost:8000/address/groups/all@kps-t.ru/a.chernyak@kps-t.ru
curl -XPUT
http://localhost:8000/address/groups/all@kps-t.ru/a.karachevcev@kps-t.ru

and more 50 like this but only first 3 was added

D:\mail\curl\bin>curl -XGET
http://localhost:8000/address/groups/all@kps-t.ru
["a.belomyttsev@kps-t.ru","a.bolohnin@kps-t.ru","a.chachina@kps-t.ru"]

after this i remove one

D:\mail\curl\bin>curl -XGET
http://localhost:8000/address/groups/all@kps-t.ru
["a.belomyttsev@kps-t.ru","a.bolohnin@kps-t.ru"]

so i try

curl -XPUT
http://localhost:8000/address/groups/all@kps-t.ru/a.karachevcev@kps-t.ru

and its worked

D:\mail\curl\bin>curl -XGET
http://localhost:8000/address/groups/all@kps-t.ru
["a.belomyttsev@kps-t.ru","a.bolohnin@kps-t.ru","a.karachevcev@kps-t.ru"]

but more than 3 in group tell me error 500

D:\mail\curl\bin>curl -XPUT
http://localhost:8000/address/groups/all@kps-t.ru/a.chernyak@kps-t.ru
{"statusCode":500,"type":"ServerError","message":"Unable to update
mapping","details":null}

So tell me where i need configurate limits?

Re: Re : James Guice Groups

Posted by Терсков Илья Андреевич <i....@kps-t.ru.INVALID>.
james.log show nothing about this, checked 3 times nothing in log 
generated while i try curl request with 500 error

28.04.2025 15:43, Терсков Илья Андреевич пишет:
> sorry about missclick
>
> All logs already here - curl output :) james 3.8.2 guice
>
> 28.04.2025 15:37, Benoit TELLIER пишет:
>> Please provide:
>>   - james version  - james distribution  - relevant logs
>>
>> Note that jpa is known to limit the mapping size, leading to limits 
>> in the number of mapping that can be created per entry. I am on the 
>> phone in vacations so I will not recall the JIRA entry.--
>>
>> Best regards,
>>
>> Benoit TELLIER
>>
>> General manager of Linagora VIETNAM.
>> Product owner for Team-Mail product.
>> Chairman of the Apache James project.
>>
>> Mail: btellier@linagora.com
>> Tel: (0033) 6 77 26 04 58 (WhatsApp, Signal)
>>
>>
>> Le avr. 28, 2025 7:04 AM, de Ilya Terskov <pr...@gmail.com>Hi 
>> there guys.
>>
>> I can't find the answer to my question - why only 3 items in this 
>> request
>>
>> curl -XPUT
>> http://localhost:8000/address/groups/all@kps-t.ru/a.belomyttsev@kps-t.ru
>> curl -XPUT
>> http://localhost:8000/address/groups/all@kps-t.ru/a.bolohnin@kps-t.ru
>> curl -XPUT
>> http://localhost:8000/address/groups/all@kps-t.ru/a.chachina@kps-t.ru
>> curl -XPUT
>> http://localhost:8000/address/groups/all@kps-t.ru/a.chernyak@kps-t.ru
>> curl -XPUT
>> http://localhost:8000/address/groups/all@kps-t.ru/a.karachevcev@kps-t.ru
>>
>> and more 50 like this but only first 3 was added
>>
>> D:\mail\curl\bin>curl -XGET
>> http://localhost:8000/address/groups/all@kps-t.ru
>> ["a.belomyttsev@kps-t.ru","a.bolohnin@kps-t.ru","a.chachina@kps-t.ru"]
>>
>> after this i remove one
>>
>> D:\mail\curl\bin>curl -XGET
>> http://localhost:8000/address/groups/all@kps-t.ru
>> ["a.belomyttsev@kps-t.ru","a.bolohnin@kps-t.ru"]
>>
>> so i try
>>
>> curl -XPUT
>> http://localhost:8000/address/groups/all@kps-t.ru/a.karachevcev@kps-t.ru
>>
>> and its worked
>>
>> D:\mail\curl\bin>curl -XGET
>> http://localhost:8000/address/groups/all@kps-t.ru
>> ["a.belomyttsev@kps-t.ru","a.bolohnin@kps-t.ru","a.karachevcev@kps-t.ru"] 
>>
>>
>> but more than 3 in group tell me error 500
>>
>> D:\mail\curl\bin>curl -XPUT
>> http://localhost:8000/address/groups/all@kps-t.ru/a.chernyak@kps-t.ru
>> {"statusCode":500,"type":"ServerError","message":"Unable to update
>> mapping","details":null}
>>
>> So tell me where i need configurate limits?
>>
>>
-- 
С уважением,
Руководитель ИТ ООО <КПС-Технологии>
Терсков Илья Андреевич
Тел.: +7 (3843) 73-14-42
Моб.: +7-996-415-16-29
e-mail: i.terskov@kps-t.ru


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: Re : James Guice Groups

Posted by Терсков Илья Андреевич <i....@kps-t.ru.INVALID>.
sorry about missclick

All logs already here - curl output :) james 3.8.2 guice

28.04.2025 15:37, Benoit TELLIER пишет:
> Please provide:
>   - james version  - james distribution  - relevant logs
>
> Note that jpa is known to limit the mapping size, leading to limits in the number of mapping that can be created per entry. I am on the phone in vacations so I will not recall the JIRA entry.--
>
> Best regards,
>
> Benoit TELLIER
>
> General manager of Linagora VIETNAM.
> Product owner for Team-Mail product.
> Chairman of the Apache James project.
>
> Mail: btellier@linagora.com
> Tel: (0033) 6 77 26 04 58 (WhatsApp, Signal)
>
>
> Le avr. 28, 2025 7:04 AM, de Ilya Terskov <pr...@gmail.com>Hi there guys.
>
> I can't find the answer to my question - why only 3 items in this request
>
> curl -XPUT
> http://localhost:8000/address/groups/all@kps-t.ru/a.belomyttsev@kps-t.ru
> curl -XPUT
> http://localhost:8000/address/groups/all@kps-t.ru/a.bolohnin@kps-t.ru
> curl -XPUT
> http://localhost:8000/address/groups/all@kps-t.ru/a.chachina@kps-t.ru
> curl -XPUT
> http://localhost:8000/address/groups/all@kps-t.ru/a.chernyak@kps-t.ru
> curl -XPUT
> http://localhost:8000/address/groups/all@kps-t.ru/a.karachevcev@kps-t.ru
>
> and more 50 like this but only first 3 was added
>
> D:\mail\curl\bin>curl -XGET
> http://localhost:8000/address/groups/all@kps-t.ru
> ["a.belomyttsev@kps-t.ru","a.bolohnin@kps-t.ru","a.chachina@kps-t.ru"]
>
> after this i remove one
>
> D:\mail\curl\bin>curl -XGET
> http://localhost:8000/address/groups/all@kps-t.ru
> ["a.belomyttsev@kps-t.ru","a.bolohnin@kps-t.ru"]
>
> so i try
>
> curl -XPUT
> http://localhost:8000/address/groups/all@kps-t.ru/a.karachevcev@kps-t.ru
>
> and its worked
>
> D:\mail\curl\bin>curl -XGET
> http://localhost:8000/address/groups/all@kps-t.ru
> ["a.belomyttsev@kps-t.ru","a.bolohnin@kps-t.ru","a.karachevcev@kps-t.ru"]
>
> but more than 3 in group tell me error 500
>
> D:\mail\curl\bin>curl -XPUT
> http://localhost:8000/address/groups/all@kps-t.ru/a.chernyak@kps-t.ru
> {"statusCode":500,"type":"ServerError","message":"Unable to update
> mapping","details":null}
>
> So tell me where i need configurate limits?
>
>
-- 
С уважением,
Руководитель ИТ ООО <КПС-Технологии>
Терсков Илья Андреевич
Тел.: +7 (3843) 73-14-42
Моб.: +7-996-415-16-29
e-mail: i.terskov@kps-t.ru


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re : James Guice Groups

Posted by Benoit TELLIER <bt...@linagora.com>.
Please provide:
 - james version  - james distribution  - relevant logs

Note that jpa is known to limit the mapping size, leading to limits in the number of mapping that can be created per entry. I am on the phone in vacations so I will not recall the JIRA entry.-- 

Best regards,

Benoit TELLIER

General manager of Linagora VIETNAM.
Product owner for Team-Mail product.
Chairman of the Apache James project.

Mail: btellier@linagora.com
Tel: (0033) 6 77 26 04 58 (WhatsApp, Signal)


Le avr. 28, 2025 7:04 AM, de Ilya Terskov <pr...@gmail.com>Hi there guys.

I can't find the answer to my question - why only 3 items in this request

curl -XPUT
http://localhost:8000/address/groups/all@kps-t.ru/a.belomyttsev@kps-t.ru
curl -XPUT
http://localhost:8000/address/groups/all@kps-t.ru/a.bolohnin@kps-t.ru
curl -XPUT
http://localhost:8000/address/groups/all@kps-t.ru/a.chachina@kps-t.ru
curl -XPUT
http://localhost:8000/address/groups/all@kps-t.ru/a.chernyak@kps-t.ru
curl -XPUT
http://localhost:8000/address/groups/all@kps-t.ru/a.karachevcev@kps-t.ru

and more 50 like this but only first 3 was added

D:\mail\curl\bin>curl -XGET
http://localhost:8000/address/groups/all@kps-t.ru
["a.belomyttsev@kps-t.ru","a.bolohnin@kps-t.ru","a.chachina@kps-t.ru"]

after this i remove one

D:\mail\curl\bin>curl -XGET
http://localhost:8000/address/groups/all@kps-t.ru
["a.belomyttsev@kps-t.ru","a.bolohnin@kps-t.ru"]

so i try

curl -XPUT
http://localhost:8000/address/groups/all@kps-t.ru/a.karachevcev@kps-t.ru

and its worked

D:\mail\curl\bin>curl -XGET
http://localhost:8000/address/groups/all@kps-t.ru
["a.belomyttsev@kps-t.ru","a.bolohnin@kps-t.ru","a.karachevcev@kps-t.ru"]

but more than 3 in group tell me error 500

D:\mail\curl\bin>curl -XPUT
http://localhost:8000/address/groups/all@kps-t.ru/a.chernyak@kps-t.ru
{"statusCode":500,"type":"ServerError","message":"Unable to update
mapping","details":null}

So tell me where i need configurate limits?