[Obm] Plus de synchronisation suite mise à jour en 2.4.1.2
Matthieu Baechler
matthieu.baechler at linagora.com
Fri Nov 16 10:00:37 CET 2012
Bonjour,
Il semble que vous avez des "jar" en double dans vos "webapp".
Je m'explique : si lors de la mise à jour, tous les jars de la version
précédente ne sont pas enlevées, au démarrage de la nouvelle version,
ils seront chargé dans leur nouvelle et leur ancienne version.
Ça mène très souvent à des bugs multiples comme vous les rencontrez.
Pouvez-vous vérifier le contenu des webapps (sous debian
c'est /var/lib/jetty/webapps/opush/WEB-INF/lib/, /var/lib/jetty/webapps/obm-locator/WEB-INF/lib/ et /usr/share/obm-sync/WEB-INF/lib/) ?
--
Matthieu Baechler
Le jeudi 15 novembre 2012 à 16:30 +0100, Vince a écrit :
> Bonjour,
>
> Décidément, j'enchaîne les problèmes.
>
> Nous avons mis à jour notre serveur de production (ver 2.4.0.1 vers
> 2.4.1.2) et depuis plus de synchro avec obm-connecteur pour lightning
> et également plus de synchro avec les smartphones.
> Pourtant nous avions fait des phases de test sur un serveur de test et
> malgré quelques déboires, cela fonctionnait bien.
>
> Si quelque'un peut m'aider rapidement car les utilisateurs n'ont plus
> leurs synchro qui fonctionnent.
> Merci
>
> Vincent
>
> Voici les logs que j'ai (je les ai coupé pour garder que l'essentiel
> de l'erreur et faire moins de 40ko) :
> Ce qui est bizarre c'est qu'il parle d'un
> fichierlocator-2.4.0.1.jar:na alors qu'on est en version 2.4.1.2
> Un problème de cache ??
>
> /var/log/jetty/2012_11_15.stderrout.log :
>
> 2012-11-15 16:17:51.576:WARN::Committed before 404 null
> 2012-11-15
> 16:17:51.576:WARN::/obm-locator/location/host/sync/obm_sync/vboisseau at cire.fr
> java.lang.IllegalStateException: Committed
> at org.mortbay.jetty.Response.resetBuffer(Response.java:1024)
>
> [...]
>
> at org.mortbay.thread.QueuedThreadPool
> $PoolThread.run(QueuedThreadPool.java:582)
> 2012-11-15 16:17:51.586:WARN::/Microsoft-Server-ActiveSync/
> com.google.common.collect.ComputationException:
> org.obm.locator.LocatorCacheException: No host for
> { Key{serviceSlashProperty=sync/obm_sync,
> loginAtDomain=vboisseau at cire.fr} }
> at com.google.common.collect.ComputingConcurrentHashMap
> $ComputingMapAdapter.get(ComputingConcurrentHashMap.java:397)
> at
> org.obm.locator.store.LocatorCache.getServiceLocation(LocatorCache.java:93)
> at
> org.obm.sync.locators.Locator.getObmSyncHost(Locator.java:59)
>
>
>
> /var/log/opush/opush.log :
>
> 15:18:40.347 [DEBUG] {org.obm.push.ActiveSyncServlet} [t/c/r/]:query =
> User=gberthault&DeviceId=Appl810470UXEDG&DeviceType=iPhone&Cmd=FolderSync, initial = true, resume = false, m = POST, num = 186
> 15:18:40.347 [DEBUG] {org.obm.push.ActiveSyncServlet}
> [t/c/r/]:com.google.inject.servlet.ServletDefinition$2 at 68f507d2
> 15:18:40.347 [DEBUG] {org.obm.push.ActiveSyncServlet}
> [t/c/r/]:com.google.inject.servlet.ServletDefinition$2 at 68f507d2
> 15:18:40.349 [ERROR] {o.obm.locator.LocatorClientImpl} [t/c/r/]:Server
> returned HTTP response code: 503 for URL:
> http://127.0.0.1:8084/obm-locator/location/host/sync/obm_sync/gberthault@cire.fr
> 15:18:40.351 [ERROR] {org.obm.push.ActiveSyncServlet}
> [t/c/r/]:org.obm.locator.LocatorCacheException: No host for
> { Key{serviceSlashProperty=sync/obm_sync,
> loginAtDomain=gberthault at cire.fr} }
> com.google.common.collect.ComputationException:
> org.obm.locator.LocatorCacheException: No host for
> { Key{serviceSlashProperty=sync/obm_sync,
> loginAtDomain=gberthault at cire.fr} }
> at com.google.common.collect.ComputingConcurrentHashMap
> $ComputingMapAdapter.get(ComputingConcurrentHashMap.java:397)
> ~[guava-10.0.1.jar:na]
> at
> org.obm.locator.store.LocatorCache.getServiceLocation(LocatorCache.java:93) ~[locator-2.4.0.1.jar:na]
>
> [...]
>
> at org.mortbay.thread.QueuedThreadPool
> $PoolThread.run(QueuedThreadPool.java:582)
> [jetty-util-6.1.24.jar:6.1.24]
> Caused by: org.obm.locator.LocatorCacheException: No host for
> { Key{serviceSlashProperty=sync/obm_sync,
> loginAtDomain=gberthault at cire.fr} }
> at
> org.obm.locator.store.LocatorCache.getServiceLocation(LocatorCache.java:86) ~[locator-2.4.0.1.jar:na]
> at org.obm.locator.store.LocatorCache.access
> $000(LocatorCache.java:51) ~[locator-2.4.0.1.jar:na]
> at org.obm.locator.store.LocatorCache
> $1.apply(LocatorCache.java:72) ~[locator-2.4.0.1.jar:na]
> at org.obm.locator.store.LocatorCache
> $1.apply(LocatorCache.java:69) ~[locator-2.4.0.1.jar:na]
> at com.google.common.collect.ComputingConcurrentHashMap
> $ComputingValueReference.compute(ComputingConcurrentHashMap.java:355)
> ~[guava-10.0.1.jar:na]
> at com.google.common.collect.ComputingConcurrentHashMap
> $ComputingSegment.compute(ComputingConcurrentHashMap.java:184)
> ~[guava-10.0.1.jar:na]
> at com.google.common.collect.ComputingConcurrentHashMap
> $ComputingSegment.getOrCompute(ComputingConcurrentHashMap.java:153)
> ~[guava-10.0.1.jar:na]
> at
> com.google.common.collect.ComputingConcurrentHashMap.getOrCompute(ComputingConcurrentHashMap.java:69) ~[guava-10.0.1.jar:na]
> at com.google.common.collect.ComputingConcurrentHashMap
> $ComputingMapAdapter.get(ComputingConcurrentHashMap.java:393)
> ~[guava-10.0.1.jar:na]
> ... 48 common frames omitted
> Caused by: org.obm.locator.LocatorClientException: Server returned
> HTTP response code: 503 for URL:
> http://127.0.0.1:8084/obm-locator/location/host/sync/obm_sync/gberthault@cire.fr
> at
> org.obm.locator.LocatorClientImpl.getServiceLocation(LocatorClientImpl.java:75) ~[locator-2.4.0.1.jar:na]
> at
> org.obm.locator.store.LocatorCache.getServiceLocation(LocatorCache.java:83) ~[locator-2.4.0.1.jar:na]
> ... 56 common frames omitted
> Caused by: java.io.IOException: Server returned HTTP response code:
> 503 for URL:
> http://127.0.0.1:8084/obm-locator/location/host/sync/obm_sync/gberthault@cire.fr
> at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1436) ~[na:1.6.0_26]
> at java.net.URL.openStream(URL.java:1010) ~[na:1.6.0_26]
> at
> org.obm.locator.LocatorClientImpl.getServiceLocation(LocatorClientImpl.java:69) ~[locator-2.4.0.1.jar:na]
> ... 57 common frames omitted
> 15:18:40.355 [ERROR] {o.o.a.t.TransactionalInterceptor}
> [t/c/r/]:org.obm.locator.LocatorCacheException: No host for
> { Key{serviceSlashProperty=sync/obm_sync,
> loginAtDomain=gberthault at cire.fr} }
> com.google.common.collect.ComputationException:
> org.obm.locator.LocatorCacheException: No host for
> { Key{serviceSlashProperty=sync/obm_sync,
> loginAtDomain=gberthault at cire.fr} }
> at com.google.common.collect.ComputingConcurrentHashMap
> $ComputingMapAdapter.get(ComputingConcurrentHashMap.java:397)
> ~[guava-10.0.1.jar:na]
> at
> org.obm.locator.store.LocatorCache.getServiceLocation(LocatorCache.java:93) ~[locator-2.4.0.1.jar:na]
> at
> org.obm.sync.locators.Locator.getObmSyncHost(Locator.java:59)
> ~[client-2.4.0.1.jar:na]
> at org.obm.sync.locators.Locator.backendUrl(Locator.java:54)
> ~[client-2.4.0.1.jar:na]
> at
> org.obm.sync.client.impl.AbstractClientImpl.getBackendUrl(AbstractClientImpl.java:234) ~[client-2.4.0.1.jar:na]
> at
> org.obm.sync.client.impl.AbstractClientImpl.getPostMethod(AbstractClientImpl.java:238) ~[client-2.4.0.1.jar:na]
> at
> org.obm.sync.client.impl.AbstractClientImpl.execute(AbstractClientImpl.java:107) ~[client-2.4.0.1.jar:na]
> at
> org.obm.sync.client.impl.AbstractClientImpl.login(AbstractClientImpl.java:205) ~[client-2.4.0.1.jar:na]
>
> [...]
>
> at
> org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
> [jetty-6.1.24.jar:6.1.24]
> at
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410) [jetty-6.1.24.jar:6.1.24]
> at org.mortbay.thread.QueuedThreadPool
> $PoolThread.run(QueuedThreadPool.java:582)
> [jetty-util-6.1.24.jar:6.1.24]
> Caused by: org.obm.locator.LocatorCacheException: No host for
> { Key{serviceSlashProperty=sync/obm_sync,
> loginAtDomain=gberthault at cire.fr} }
> at
> org.obm.locator.store.LocatorCache.getServiceLocation(LocatorCache.java:86) ~[locator-2.4.0.1.jar:na]
> at org.obm.locator.store.LocatorCache.access
> $000(LocatorCache.java:51) ~[locator-2.4.0.1.jar:na]
> at org.obm.locator.store.LocatorCache
> $1.apply(LocatorCache.java:72) ~[locator-2.4.0.1.jar:na]
> at org.obm.locator.store.LocatorCache
> $1.apply(LocatorCache.java:69) ~[locator-2.4.0.1.jar:na]
> at com.google.common.collect.ComputingConcurrentHashMap
> $ComputingValueReference.compute(ComputingConcurrentHashMap.java:355)
> ~[guava-10.0.1.jar:na]
> at com.google.common.collect.ComputingConcurrentHashMap
> $ComputingSegment.compute(ComputingConcurrentHashMap.java:184)
> ~[guava-10.0.1.jar:na]
> at com.google.common.collect.ComputingConcurrentHashMap
> $ComputingSegment.getOrCompute(ComputingConcurrentHashMap.java:153)
> ~[guava-10.0.1.jar:na]
> at
> com.google.common.collect.ComputingConcurrentHashMap.getOrCompute(ComputingConcurrentHashMap.java:69) ~[guava-10.0.1.jar:na]
> at com.google.common.collect.ComputingConcurrentHashMap
> $ComputingMapAdapter.get(ComputingConcurrentHashMap.java:393)
> ~[guava-10.0.1.jar:na]
> ... 41 common frames omitted
> Caused by: org.obm.locator.LocatorClientException: Server returned
> HTTP response code: 503 for URL:
> http://127.0.0.1:8084/obm-locator/location/host/sync/obm_sync/gberthault@cire.fr
> at
> org.obm.locator.LocatorClientImpl.getServiceLocation(LocatorClientImpl.java:75) ~[locator-2.4.0.1.jar:na]
> at
> org.obm.locator.store.LocatorCache.getServiceLocation(LocatorCache.java:83) ~[locator-2.4.0.1.jar:na]
> ... 49 common frames omitted
> Caused by: java.io.IOException: Server returned HTTP response code:
> 503 for URL:
> http://127.0.0.1:8084/obm-locator/location/host/sync/obm_sync/gberthault@cire.fr
> at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1436) ~[na:1.6.0_26]
> at java.net.URL.openStream(URL.java:1010) ~[na:1.6.0_26]
> at
> org.obm.locator.LocatorClientImpl.getServiceLocation(LocatorClientImpl.java:69) ~[locator-2.4.0.1.jar:na]
> ... 50 common frames omitted
> 15:18:40.358 [ERROR] {o.o.a.t.TransactionalInterceptor}
> [t/c/r/]:transaction was rollback
> com.google.common.collect.ComputationException:
> org.obm.locator.LocatorCacheException: No host for
> { Key{serviceSlashProperty=sync/obm_sync,
> loginAtDomain=gberthault at cire.fr} }
> at com.google.common.collect.ComputingConcurrentHashMap
> $ComputingMapAdapter.get(ComputingConcurrentHashMap.java:397)
> ~[guava-10.0.1.jar:na]
> at
> org.obm.locator.store.LocatorCache.getServiceLocation(LocatorCache.java:93) ~[locator-2.4.0.1.jar:na]
> at
> org.obm.sync.locators.Locator.getObmSyncHost(Locator.java:59)
> ~[client-2.4.0.1.jar:na]
> at org.obm.sync.locators.Locator.backendUrl(Locator.java:54)
> ~[client-2.4.0.1.jar:na]
> at
> org.obm.sync.client.impl.AbstractClientImpl.getBackendUrl(AbstractClientImpl.java:234) ~[client-2.4.0.1.jar:na]
> at
> org.obm.sync.client.impl.AbstractClientImpl.getPostMethod(AbstractClientImpl.java:238) ~[client-2.4.0.1.jar:na]
> at
> org.obm.sync.client.impl.AbstractClientImpl.execute(AbstractClientImpl.java:107) ~[client-2.4.0.1.jar:na]
> at
> org.obm.sync.client.impl.AbstractClientImpl.login(AbstractClientImpl.java:205) ~[client-2.4.0.1.jar:na]
> at
> org.obm.push.impl.ObmSyncBackend.login(ObmSyncBackend.java:80)
> ~[classes/:na]
>
> [...]
>
> at org.mortbay.jetty.Server.handle(Server.java:326)
> [jetty-6.1.24.jar:6.1.24]
> at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) [jetty-6.1.24.jar:6.1.24]
> at org.mortbay.jetty.HttpConnection
> $RequestHandler.content(HttpConnection.java:943)
> [jetty-6.1.24.jar:6.1.24]
> at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
> [jetty-6.1.24.jar:6.1.24]
> at
> org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
> [jetty-6.1.24.jar:6.1.24]
> at
> org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
> [jetty-6.1.24.jar:6.1.24]
> at
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410) [jetty-6.1.24.jar:6.1.24]
> at org.mortbay.thread.QueuedThreadPool
> $PoolThread.run(QueuedThreadPool.java:582)
> [jetty-util-6.1.24.jar:6.1.24]
> Caused by: org.obm.locator.LocatorCacheException: No host for
> { Key{serviceSlashProperty=sync/obm_sync,
> loginAtDomain=gberthault at cire.fr} }
> at
> org.obm.locator.store.LocatorCache.getServiceLocation(LocatorCache.java:86) ~[locator-2.4.0.1.jar:na]
> at org.obm.locator.store.LocatorCache.access
> $000(LocatorCache.java:51) ~[locator-2.4.0.1.jar:na]
> at org.obm.locator.store.LocatorCache
> $1.apply(LocatorCache.java:72) ~[locator-2.4.0.1.jar:na]
> at org.obm.locator.store.LocatorCache
> $1.apply(LocatorCache.java:69) ~[locator-2.4.0.1.jar:na]
> at com.google.common.collect.ComputingConcurrentHashMap
> $ComputingValueReference.compute(ComputingConcurrentHashMap.java:355)
> ~[guava-10.0.1.jar:na]
> at com.google.common.collect.ComputingConcurrentHashMap
> $ComputingSegment.compute(ComputingConcurrentHashMap.java:184)
> ~[guava-10.0.1.jar:na]
> at com.google.common.collect.ComputingConcurrentHashMap
> $ComputingSegment.getOrCompute(ComputingConcurrentHashMap.java:153)
> ~[guava-10.0.1.jar:na]
> at
> com.google.common.collect.ComputingConcurrentHashMap.getOrCompute(ComputingConcurrentHashMap.java:69) ~[guava-10.0.1.jar:na]
> at com.google.common.collect.ComputingConcurrentHashMap
> $ComputingMapAdapter.get(ComputingConcurrentHashMap.java:393)
> ~[guava-10.0.1.jar:na]
> ... 41 common frames omitted
> Caused by: org.obm.locator.LocatorClientException: Server returned
> HTTP response code: 503 for URL:
> http://127.0.0.1:8084/obm-locator/location/host/sync/obm_sync/gberthault@cire.fr
> at
> org.obm.locator.LocatorClientImpl.getServiceLocation(LocatorClientImpl.java:75) ~[locator-2.4.0.1.jar:na]
> at
> org.obm.locator.store.LocatorCache.getServiceLocation(LocatorCache.java:83) ~[locator-2.4.0.1.jar:na]
> ... 49 common frames omitted
> Caused by: java.io.IOException: Server returned HTTP response code:
> 503 for URL:
> http://127.0.0.1:8084/obm-locator/location/host/sync/obm_sync/gberthault@cire.fr
> at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1436) ~[na:1.6.0_26]
> at java.net.URL.openStream(URL.java:1010) ~[na:1.6.0_26]
> at
> org.obm.locator.LocatorClientImpl.getServiceLocation(LocatorClientImpl.java:69) ~[locator-2.4.0.1.jar:na]
> ... 50 common frames omitted
>
>
> /var/log/apache2/obm-access.log :
>
> - - [15/Nov/2012:16:20:26 +0100]
> "POST /obm-sync/services/login/doLogin HTTP/1.1" 404 382
> - - [15/Nov/2012:16:20:26 +0100]
> "POST /obm-sync/services/login/doLogin HTTP/1.1" 404 382
> - - [15/Nov/2012:16:20:26 +0100]
> "POST /obm-sync/services/login/doLogin HTTP/1.1" 404 382
> - - [15/Nov/2012:16:20:36 +0100]
> "POST /Microsoft-Server-ActiveSync?Cmd=Ping&User=cire.fr%
> 5Cvboisseau&DeviceId=androidc876615970&DeviceType=Android HTTP/1.1"
> 500 1665
> - - [15/Nov/2012:16:20:58 +0100]
> "POST /obm-sync/services/login/doLogin HTTP/1.1" 404 382
>
> _______________________________________________
> Obm mailing list
> Obm at list.obm.org
> http://list.obm.org/mailman/listinfo/obm
More information about the Obm
mailing list