Project

General

Profile

Bug #61146

Devices not receiving changes in mailbox due IOExceptions

Added by Alexey Bobyr over 1 year ago.

Status:
Resolved
Priority:
Immediate
Assignee:
Alexey Bobyr
Category:
Scalix Wireless
Target version:
Start date:
03/28/2018
Due date:
% Done:

0%

Estimated time:
Operation System:
--

Description

If device uses scalix ActiveSync implementation in some situations do not receive changes in mailbox.
So far was recorded several situations:
1. IOException at api side during writing response for wireless . Client dropped connection without waiting for a an end of response.
2. Wireless (AS implementation) - was not able to send changes to the client because connection lost during writing response to the client.

Fixes to prevent data loss is in:
scalix-platform-12.7.0.28804-0
scalix-wireless-12.7.0.29006-1

(Please note that 12.7.0 must be 12.7.1 and those changes are not in released 12.7. To get them please
contact with support).

The behavior is simple difference in mailbox at api side saved after response was rendered and sent
to the client.
In Wireless in case of some IOException
wireless logs will contain


XXX-XX-XXX 13:58:03.019 [FATAL] [ajp-nio2-8009-exec-117] [HttpRequestHandler.handleRequest:117] SERVLET - deviceId: XXXXXXXXXXXXXXXX, user: xxxxxx@xxxxx.xxxxx.xxxx -  Unable to send response to client:
XXXX-XXX-XXX 13:58:03.024 [FATAL] [ajp-nio2-8009-exec-117] [WirelessServlet.doPost:97]  WirelessServlet - - Uncaught and unhandled exception was reported by the server: /wirelessUser=xxxx@xxxx.xxxxx.xxxx&DeviceId=xxxxxxxxxx&DeviceType=xxxxxx&Cmd=Sync
[root@riodejaneiro logs]#

scalix-wireless-activity.log will contain

XXXX-XX-XX 13:58:02.992 [WARN ] [ajp-nio2-8009-exec-117] [SyncCommand.createWirelessOutputFormart:xxx] CCOMMAND ......
..... sync key:989 has newMessages: 4 hasRomovedMessages: 0 hasChangedMessages: 0

XXXX-XX-XX 13:58:02.992 [WARN ] [ajp-nio2-8009-exec-117] [SyncCommand.rollBack:169] Running roll back for <Sync><Collections><Collection><Class>Email</Class><SyncKey>988</SyncKey><CollectionId>......
...
XXXX-XX-XX 14:02:02.992 [WARN ] [ajp-nio2-8009-exec-117] [SyncCommand.createWirelessOutputFormart:xxx] CCOMMAND ......
..... sync key:989 has newMessages: 4 hasRomovedMessages: 0 hasChangedMessages: 1

Also available in: Atom PDF