[Obm] [Urgent] Synchronisation de l'agenda ne fonctionne plus avec obm-connector 3.1.0.34 et adresse mail différente du login

Vince tux45 at hotmail.fr
Mon Sep 24 17:11:33 CEST 2012


Bonjour,

En faisant des essais de migration de Thunderbird 3.1 vers Thunderbird 
10 ESR, je rencontre un problème qui empêche la synchronisation de l'agenda.

En effet, je me suis aperçu que la synchronisation ne se faisait plus 
avec un nom de login différent de l'adresse mail.

Exemple :
utilisateur : *toto*
login : *toto at domain.com*
adresse mail : *toto.societe at domain.com*

En revenant en version 3.1, tout fonctionne bien.

Par contre les contacts se synchronisent bien !!

Ci-dessous log du fichier /var/log/obm-tomcat/obm-java.log lors d'une 
synchronisation en version 10 et connecteur OBM 3.1.0.34 :

2012-09-24 12:59:04,550 SyncServlet INFO - handler responded to 
calendar/listCategories in 1ms.
2012-09-24 12:59:04,622 CalendarBindingImpl INFO - [CUID 2271] Calendar 
: getSync(*toto.societe at domain.com*, Thu Jan 01 00:00:00 GMT 1970)
2012-09-24 12:59:04,623 UserServiceImpl INFO - user 
:*toto.societe at domain.com* not found, archived or have no email
2012-09-24 12:59:04,623 TransactionalInterceptor ERROR - Calendar not 
exist or not valid
org.obm.sync.auth.ServerFault: Calendar not exist or not valid
         at 
fr.aliacom.obm.common.calendar.CalendarBindingImpl.getSync(CalendarBindingImpl.java:669)
         at 
fr.aliacom.obm.common.calendar.CalendarBindingImpl.getSyncWithSortedChanges(CalendarBindingImpl.java:613)
         at 
org.obm.annotations.transactional.TransactionalInterceptor.managerTransaction(TransactionalInterceptor.java:82)
         at 
org.obm.annotations.transactional.TransactionalInterceptor.invoke(TransactionalInterceptor.java:68)
         at 
org.obm.sync.server.handler.EventHandler.getSyncWithSortedChanges(EventHandler.java:455)
         at 
org.obm.sync.server.handler.EventHandler.searchAndInvokeMethod(EventHandler.java:136)
         at 
org.obm.sync.server.handler.EventHandler.handle(EventHandler.java:123)
         at 
org.obm.sync.server.SyncServlet.handleQuery(SyncServlet.java:124)
         at org.obm.sync.server.SyncServlet.service(SyncServlet.java:83)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
         at 
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
         at 
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
         at 
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)
         at 
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)
         at 
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891)
         at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
         at java.lang.Thread.run(Thread.java:636)
2012-09-24 12:59:04,623 TransactionalInterceptor ERROR - transaction was 
rollback
org.obm.sync.auth.ServerFault: Calendar not exist or not valid
         at 
fr.aliacom.obm.common.calendar.CalendarBindingImpl.getSync(CalendarBindingImpl.java:669)
         at 
fr.aliacom.obm.common.calendar.CalendarBindingImpl.getSyncWithSortedChanges(CalendarBindingImpl.java:613)
         at 
org.obm.annotations.transactional.TransactionalInterceptor.managerTransaction(TransactionalInterceptor.java:82)
         at 
org.obm.annotations.transactional.TransactionalInterceptor.invoke(TransactionalInterceptor.java:68)
         at 
org.obm.sync.server.handler.EventHandler.getSyncWithSortedChanges(EventHandler.java:455)
         at 
org.obm.sync.server.handler.EventHandler.searchAndInvokeMethod(EventHandler.java:136)
         at 
org.obm.sync.server.handler.EventHandler.handle(EventHandler.java:123)
         at 
org.obm.sync.server.SyncServlet.handleQuery(SyncServlet.java:124)
         at org.obm.sync.server.SyncServlet.service(SyncServlet.java:83)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
         at 
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
         at 
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
         at 
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)
         at 
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)
         at 
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891)
         at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
         at java.lang.Thread.run(Thread.java:636)
2012-09-24 12:59:04,624 SyncServlet ERROR - Calendar not exist or not valid
org.obm.sync.auth.ServerFault: Calendar not exist or not valid
         at 
fr.aliacom.obm.common.calendar.CalendarBindingImpl.getSync(CalendarBindingImpl.java:669)
         at 
fr.aliacom.obm.common.calendar.CalendarBindingImpl.getSyncWithSortedChanges(CalendarBindingImpl.java:613)
         at 
org.obm.annotations.transactional.TransactionalInterceptor.managerTransaction(TransactionalInterceptor.java:82)
         at 
org.obm.annotations.transactional.TransactionalInterceptor.invoke(TransactionalInterceptor.java:68)
         at 
org.obm.sync.server.handler.EventHandler.getSyncWithSortedChanges(EventHandler.java:455)
         at 
org.obm.sync.server.handler.EventHandler.searchAndInvokeMethod(EventHandler.java:136)
         at 
org.obm.sync.server.handler.EventHandler.handle(EventHandler.java:123)
         at 
org.obm.sync.server.SyncServlet.handleQuery(SyncServlet.java:124)
         at org.obm.sync.server.SyncServlet.service(SyncServlet.java:83)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
         at 
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
         at 
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
         at 
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)
         at 
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)
         at 
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891)
         at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
         at java.lang.Thread.run(Thread.java:636)
2012-09-24 12:59:04,624 DOMUtils INFO - <?xml version="1.0" 
encoding="UTF-8"?>
<error xmlns="http://www.obm.org/xsd/sync/error.xsd">
<message>Calendar not exist or not valid</message>
<type>org.obm.sync.auth.ServerFault</type>
</error>


Ci-dessous log du même fichier en version 3.1 connecteur 2.4.2.22 :

2012-09-24 15:05:30,594 CalendarBindingImpl INFO - [CUID 1097] Calendar 
: getSync(*toto at domain.com*, Mon Sep 24 15:05:29 GMT 2012)
2012-09-24 15:05:30,600 CalendarBindingImpl INFO - [CUID 1097] Calendar 
: getSync(*toto at domain.com*) => 0 upd, 0 rmed.
2012-09-24 15:05:30,600 Preparer WARN - executing transaction with 0 
enlisted resource
2012-09-24 15:05:30,600 DOMUtils INFO - <?xml version="1.0" 
encoding="UTF-8"?>
<calendar-changes lastSync="1348499130599" 
xmlns="http://www.obm.org/xsd/sync/calendar-changes.xsd">
<removed/>
<updated/>
<participationChanges/>
</calendar-changes>

2012-09-24 15:05:30,600 SyncServlet INFO - handler responded to 
calendar/getSyncWithSortedChanges in 6ms.


Nous pouvons constatez la différence suivante : le connecteur version 
2.4.2.22  prend le user + le domaine alors qu'en 3.1.0.34 il utilise 
l'adresse mail.

Pourriez-vous regarder rapidement ce problème qui je pense n'impactera 
pas que notre société.

Cordialement

Vincent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.obm.org/pipermail/obm/attachments/20120924/33fcd7d4/attachment.htm 


More information about the Obm mailing list