Hi,
after upgrading to 6.18 on CentOS5 we have some problems syncing our phones. We are using Sony Ericsson w995 and Android Moxir (yes, they aren't supported, but with 6.16 everything works fine)
Now, on 6.18 mail, task and contacts are ok. Calender is syncing, as long as the dates are created through web interface. Dates created on the phone are synced to the server, but the phone doesn't get a positive response, so on every further sync the date will be created again.
I tried a fresh install and got the same behavior. The only change from the default, was the activation of apache ssl support.
See the open-xchange logfile:
See the EAS debug file:
Maybe its an issue with the timezone. Are there any docs describing "Status 5"
Thanks for your help,
Chris
after upgrading to 6.18 on CentOS5 we have some problems syncing our phones. We are using Sony Ericsson w995 and Android Moxir (yes, they aren't supported, but with 6.16 everything works fine)
Now, on 6.18 mail, task and contacts are ok. Calender is syncing, as long as the dates are created through web interface. Dates created on the phone are synced to the server, but the phone doesn't get a positive response, so on every further sync the date will be created again.
I tried a fresh install and got the same behavior. The only change from the default, was the activation of apache ssl support.
See the open-xchange logfile:
Code:
Sep 14, 2010 8:28:53 PM com.openexchange.usm.eas.servlet.EASServlet doPost
FINE: HTTP POST command:Sync, user:chrkon01, deviceId:SEMC358218031087550, deviceType:SonyEricssonW995
Sep 14, 2010 8:28:53 PM com.openexchange.usm.database.ox.OXDBService getWritable
FINE: Retrieving read/write JDBC Connection for 1
Sep 14, 2010 8:28:53 PM com.openexchange.usm.database.ox.OXDBService backWritable
FINE: Releasing read/write JDBC Connection for 1
Sep 14, 2010 8:28:53 PM com.openexchange.usm.eas.delegate.SyncDelegate handleRequest
FINE: Ignoring DeletesAsMoves
Sep 14, 2010 8:28:53 PM com.openexchange.usm.database.ox.OXDBService getReadOnly
FINE: Retrieving read only JDBC Connection for 1
Sep 14, 2010 8:28:53 PM com.openexchange.usm.database.ox.OXDBService backReadOnly
FINE: Releasing read only JDBC Connection for 1
Sep 14, 2010 8:28:53 PM com.openexchange.usm.contenttypes.calendar.impl.AppointmentContentTypeTransferHandler writeNewDataObject
FINE: 1:3:chrkon01:EAS:SEMC358218031087550 New calendar
Sep 14, 2010 8:28:53 PM com.openexchange.usm.ox_json.impl.OXJSONAccessImpl doPut
FINE: 1:3:chrkon01:EAS:SEMC358218031087550 PUT http://localhost/ajax/calendar
{"folder_id":"25","ignore_conflicts":true,"title":"Test","private_flag":false,"timezone":"Africa/Ceuta","shown_as":1,"end_date":1284618600000,"start_date":1284616800000}
Sep 14, 2010 8:28:53 PM com.openexchange.usm.contenttypes.util.AbstractTransferHandler readDataObject
FINE: 1:3:chrkon01:EAS:SEMC358218031087550 Read calendar with id 909
Sep 14, 2010 8:28:53 PM com.openexchange.usm.ox_json.impl.OXJSONAccessImpl doGet
FINE: 1:3:chrkon01:EAS:SEMC358218031087550 GET http://localhost/ajax/calendar
Sep 14, 2010 8:28:53 PM com.openexchange.usm.ox_event.impl.OXEventManagerImpl handleCommonEvent
FINE: CommonEvent false:1:3:com.openexchange.groupware.container.FolderObject@18290a3
ObjectID=25 Parent Folder ID=1 Folder Name=Calendar Type=1 Module=2 Created By=3 Creation Date=Tue Sep 14 16:35:40 CEST 2010 Modified By=3 Last Modified=Tue Sep 14 16:58:17 CEST 2010 Default Folder=true Has Subfolders=false permissions=_FolderAdminUser3@128.128.128.128 system=0:null
Sep 14, 2010 8:28:53 PM com.openexchange.usm.eas.delegate.BaseXMLDelegate logError
SEVERE: 1:3:chrkon01:EAS:SEMC358218031087550 null
java.lang.NullPointerException
at com.openexchange.usm.session.sync.ContentSyncerSupport$2.update(ContentSyncerSupport.java:204)
at com.openexchange.usm.session.sync.ContentSyncerSupport.performOneUpdate(ContentSyncerSupport.java:273)
at com.openexchange.usm.session.sync.ContentSyncerSupport.performUpdates(ContentSyncerSupport.java:240)
at com.openexchange.usm.session.sync.ContentSyncerSupport.executeServerUpdatesInternal(ContentSyncerSupport.java:188)
at com.openexchange.usm.session.sync.ContentSyncerSupport.executeServerUpdates(ContentSyncerSupport.java:124)
at com.openexchange.usm.session.impl.SessionImpl.checkTimestampAndUpdate(SessionImpl.java:642)
at com.openexchange.usm.session.impl.SessionImpl.updateDataObjects(SessionImpl.java:597)
at com.openexchange.usm.eas.delegate.SyncDelegate.handleRequest(SyncDelegate.java:247)
at com.openexchange.usm.eas.delegate.BaseXMLDelegate.handleRequest(BaseXMLDelegate.java:97)
at com.openexchange.usm.eas.servlet.EASServlet.handleRequest(EASServlet.java:477)
at com.openexchange.usm.eas.servlet.EASServlet.doPost(EASServlet.java:364)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at com.openexchange.ajp13.najp.AJPv13RequestHandlerImpl.doServletService(AJPv13RequestHandlerImpl.java:504)
at com.openexchange.ajp13.AJPv13Request.response(AJPv13Request.java:129)
at com.openexchange.ajp13.najp.AJPv13RequestHandlerImpl.createResponse(AJPv13RequestHandlerImpl.java:316)
at com.openexchange.ajp13.najp.AJPv13ConnectionImpl.createResponse(AJPv13ConnectionImpl.java:207)
at com.openexchange.ajp13.najp.AJPv13Task.call(AJPv13Task.java:346)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at com.openexchange.threadpool.internal.CustomThreadPoolExecutor$Worker.runTask(CustomThreadPoolExecutor.java:738)
at com.openexchange.threadpool.internal.CustomThreadPoolExecutor$Worker.run(CustomThreadPoolExecutor.java:764)
at java.lang.Thread.run(Thread.java:595)
Sep 14, 2010 8:28:53 PM com.openexchange.usm.eas.servlet.EASServlet logResponse
FINE: 1:3:chrkon01:EAS:SEMC358218031087550: Sync executed in 42 ms, 2 OX calls took 21 ms.
Code:
2010-09-14 20:28:50.758: b9c74e78-01ba-4706-a321-4f25de68533b --- Outgoing result: application/vnd.ms-sync.wbxml ---
<?xml version='1.0' encoding='utf-8' ?>
<FolderSync>
<Status>1</Status>
<SyncKey>OX_1284488928999</SyncKey>
<Changes>
<Count>0</Count>
</Changes>
</FolderSync>
1:3:chrkon01:EAS:SEMC358218031087550: FolderSync executed in 4629 ms, 6 OX calls took 2171 ms.
2010-09-14 20:28:53.728: 72db586c-1068-4b08-aaa1-5f8a178cb1bc --- POST: chrkon01(93.111.215.74) application/vnd.ms-sync.wbxml ---
<?xml version='1.0' encoding='utf-8' ?>
<Sync>
<Collections>
<Collection>
<Class>Calendar</Class>
<SyncKey>OX_1284481503417</SyncKey>
<CollectionId>F25</CollectionId>
<DeletesAsMoves />
<WindowSize>20</WindowSize>
<Options>
<FilterType>4</FilterType>
<Truncation>1</Truncation>
<Conflict>0</Conflict>
</Options>
<Commands>
<Add>
<ClientId>3145</ClientId>
<ApplicationData>
<Timezone>xP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoAAAAFAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAFAAIAAAAAAAAAxP///w==</Timezone>
<Body />
<BusyStatus>2</BusyStatus>
<DtStamp>20100914T182748Z</DtStamp>
<EndTime>20100916T063000Z</EndTime>
<Location />
<Sensitivity>0</Sensitivity>
<Subject>Test</Subject>
<StartTime>20100916T060000Z</StartTime>
<UID>3145104235821803108755</UID>
</ApplicationData>
</Add>
</Commands>
</Collection>
</Collections>
</Sync>
2010-09-14 20:28:53.770: 72db586c-1068-4b08-aaa1-5f8a178cb1bc --- Outgoing result: application/vnd.ms-sync.wbxml ---
<?xml version='1.0' encoding='utf-8' ?>
<Sync>
<Status>5</Status>
</Sync>
1:3:chrkon01:EAS:SEMC358218031087550: Sync executed in 42 ms, 2 OX calls took 21 ms.
Thanks for your help,
Chris
Comment