[Obm] obm-connector et liste des ressources
David Dolcimascolo
ddolcimascolo at linagora.com
Fri Jan 24 17:57:33 CET 2014
Bonsoir Patrick,
Pouvez-vous regarder un /SELECT * FROM Resource/ et valider que vos
ressources ont bien un nom et un email.
Cordialement,
David DOLCIMASCOLO
Responsable Equipe OBM
06 76 20 62 28
Le 24/01/2014 15:02, Patrick BOSSARD a écrit :
> Bonjour,
>
> Je vous fait part de ce soucis concernant la souscription de ressources sous lightning.
> En cliquant dans les options sur le bouton souscrire, la liste des utilisateurs se charge, mais en arrivant sur l'onglet ressources, j'ai l'erreur suivante :
>> Erreur lors de la synchronisation
>
> Coté serveur (obm-java.log), l'erreur correspondante est la suivante :
>
>> 2014-01-24 10:46:13,408 SyncServlet INFO - handler responded to login/doLogin in 33ms.
>> 2014-01-24 10:46:14,820 SessionManagement INFO - [CUID 114583] logout.
>> 2014-01-24 10:46:14,838 TransactionalInterceptor ERROR - transaction was rollback
>> org.obm.sync.auth.ServerFault: java.lang.IllegalStateException
>> at fr.aliacom.obm.common.calendar.CalendarBindingImpl.listResources(CalendarBindingImpl.java:194)
>> at org.obm.annotations.transactional.TransactionalInterceptor.managerTransaction(TransactionalInterceptor.java:88)
>> at org.obm.annotations.transactional.TransactionalInterceptor.invoke(TransactionalInterceptor.java:74)
>> at org.obm.sync.server.handler.EventHandler.listResources(EventHandler.java:391)
>> at org.obm.sync.server.handler.EventHandler.searchAndInvokeMethod(EventHandler.java:161)
>> at org.obm.sync.server.handler.EventHandler.handle(EventHandler.java:128)
>> at org.obm.sync.server.SyncServlet.service(SyncServlet.java:85)
>> 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 com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:66)
>> at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)
>> at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>> 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:662)
>> Caused by: java.lang.IllegalStateException
>> at com.google.common.base.Preconditions.checkState(Preconditions.java:133)
>> at org.obm.sync.calendar.ResourceInfo$Builder.build(ResourceInfo.java:67)
>> at fr.aliacom.obm.common.calendar.CalendarDaoJdbcImpl.buildResourceInfo(CalendarDaoJdbcImpl.java:1439)
>> at fr.aliacom.obm.common.calendar.CalendarDaoJdbcImpl.listUserAndPublicResources(CalendarDaoJdbcImpl.java:1423)
>> at fr.aliacom.obm.common.calendar.CalendarDaoJdbcImpl.listResources(CalendarDaoJdbcImpl.java:1330)
>> at fr.aliacom.obm.common.calendar.CalendarBindingImpl.getResources(CalendarBindingImpl.java:200)
>> at fr.aliacom.obm.common.calendar.CalendarBindingImpl.listResources(CalendarBindingImpl.java:189)
>> ... 27 more
>> 2014-01-24 10:46:14,839 SyncServlet ERROR - java.lang.IllegalStateException
>> org.obm.sync.auth.ServerFault: java.lang.IllegalStateException
>> at fr.aliacom.obm.common.calendar.CalendarBindingImpl.listResources(CalendarBindingImpl.java:194)
>> at org.obm.annotations.transactional.TransactionalInterceptor.managerTransaction(TransactionalInterceptor.java:88)
>> at org.obm.annotations.transactional.TransactionalInterceptor.invoke(TransactionalInterceptor.java:74)
>> at org.obm.sync.server.handler.EventHandler.listResources(EventHandler.java:391)
>> at org.obm.sync.server.handler.EventHandler.searchAndInvokeMethod(EventHandler.java:161)
>> at org.obm.sync.server.handler.EventHandler.handle(EventHandler.java:128)
>> at org.obm.sync.server.SyncServlet.service(SyncServlet.java:85)
>> 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 com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:66)
>> at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)
>> at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>> 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:662)
>> Caused by: java.lang.IllegalStateException
>> at com.google.common.base.Preconditions.checkState(Preconditions.java:133)
>> at org.obm.sync.calendar.ResourceInfo$Builder.build(ResourceInfo.java:67)
>> at fr.aliacom.obm.common.calendar.CalendarDaoJdbcImpl.buildResourceInfo(CalendarDaoJdbcImpl.java:1439)
>> at fr.aliacom.obm.common.calendar.CalendarDaoJdbcImpl.listUserAndPublicResources(CalendarDaoJdbcImpl.java:1423)
>> at fr.aliacom.obm.common.calendar.CalendarDaoJdbcImpl.listResources(CalendarDaoJdbcImpl.java:1330)
>> at fr.aliacom.obm.common.calendar.CalendarBindingImpl.getResources(CalendarBindingImpl.java:200)
>> at fr.aliacom.obm.common.calendar.CalendarBindingImpl.listResources(CalendarBindingImpl.java:189)
>> ... 27 more
> concernant notre config, les différences majeures sont l'utilisation d'un proxy AJP vers le tomcat d'obm-sync (au lieu d'un proxy HTTP), et s'il devait y avoir une histoire d'authentification en base, nous passons par CAS (donc plus de mots de passe
> stockés), sachant qu’avant CAS, les mots de passes étaient encodés en MD5 (et non pas en clair).
> Je ne sais pas si ca peut jouer sur notre soucis.
>
>
> Le soucis est remonté sur toutes les version d'obm-connector, sous tb 17 (lightning OBM 1.9.24 && obm-connector 3.2.0.13) , ou sous tb 24 avec le connecteur 4.0.1
>
> Cordialement,
>
> Patrick.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.obm.org/pipermail/obm/attachments/20140124/206955ae/attachment.html
More information about the Obm
mailing list