Bonjour, J'ai avancé dans la mise en place de o-push, toutefois la synchro ne se fait pas encore, il doit rester deux ou trois choses ! Actuellement j'ai mis en place un VHost activesync.mondomaine.com sur mon serveur apache avec le proxy configuré vers http://mamachine:8082/Microsoft-Server-ActiveSync je configure Mail for Exchange, je fais un test de synchro, erreur système veuillez réessayer plus tard ... Voici ce que j'ai dans les logs de O-push :
2009-11-30 13:35:14,839 ActiveSyncServlet INFO - q: User=p.perrigault%40mondomaine.com&DeviceId=IMEI356950031433796&DeviceType=IMEI356950031433796 pending: false resumed: false m: OPTIONS 2009-11-30 13:35:16,537 ActiveSyncServlet INFO - q: User=p.perrigault%40mondomaine.com&DeviceId=IMEI356950031433796&DeviceType=IMEI356950031433796&Cmd=Settings pending: false resumed: false m: POST 2009-11-30 13:35:16,595 ActiveSyncServlet INFO - [[email protected]] policy used: 86407919 2009-11-30 13:35:16,596 BackendSession WARN - could not load hints for device type Nokia6210Navigator/2.09(158)MailforExchange 2009-11-30 13:35:16,596 ActiveSyncServlet INFO - [[[[[[[[[ new session: [email protected]/IMEI356950031433796 ]]]]]]] 2009-11-30 13:35:16,596 ActiveSyncServlet INFO - activeSyncMethod: Settings 2009-11-30 13:35:16,596 ActiveSyncServlet INFO - Client supports protocol 12.1 2009-11-30 13:35:16,617 WbxmlParser INFO - document charset is UTF-8 2009-11-30 13:35:16,634 SettingsHandler INFO - from pda: <?xml version="1.0" encoding="UTF-8"?> <Settings> <DeviceInformaton> <Set> <Model>Nokia6210Navigator</Model> <IMEI>IMEI356950031433796</IMEI> <FriendlyName>Nokia/Mail For Exchange</FriendlyName> <OS>4.13</OS> </Set> </DeviceInformaton> </Settings> 2009-11-30 13:35:16,634 SettingsHandler INFO - process([email protected]/Nokia6210Navigator/2.09(158)MailforExchange) 2009-11-30 13:35:16,635 Responder INFO - to pda: <?xml version="1.0" encoding="UTF-8"?> <Settings> <DeviceInformaton> <Set> <Model>Nokia6210Navigator</Model> <IMEI>IMEI356950031433796</IMEI> <FriendlyName>Nokia/Mail For Exchange</FriendlyName> <OS>4.13</OS> </Set> </DeviceInformaton> </Settings> 2009-11-30 13:35:19,628 ActiveSyncServlet INFO - q: User=p.perrigault%40mondomaine.com&DeviceId=IMEI356950031433796&DeviceType=IMEI356950031433796&Cmd=FolderSync pending: false resumed: false m: POST 2009-11-30 13:35:19,643 ActiveSyncServlet INFO - [[email protected]] policy used: 86407919 2009-11-30 13:35:19,643 ActiveSyncServlet INFO - [[[[[[ Existing session: org.obm.push.backend.backendsess...@19ccba null ]]]]]] 2009-11-30 13:35:19,644 ActiveSyncServlet INFO - activeSyncMethod: FolderSync 2009-11-30 13:35:19,644 ActiveSyncServlet INFO - Client supports protocol 12.1 2009-11-30 13:35:19,644 WbxmlParser INFO - document charset is UTF-8 2009-11-30 13:35:19,645 FolderSyncHandler INFO - from pda: <?xml version="1.0" encoding="UTF-8"?> <FolderSync> <SyncKey>0</SyncKey> </FolderSync> 2009-11-30 13:35:19,645 FolderSyncHandler INFO - process([email protected]/Nokia6210Navigator/2.09(158)MailforExchange) 2009-11-30 13:35:19,645 OBMBackend INFO - resetForFullSync devId: IMEI356950031433796 2009-11-30 13:35:19,647 EmailManager INFO - resetForFullSync 2009-11-30 13:35:19,650 SyncStorage WARN - mappings & states cleared for full sync of device IMEI356950031433796 2009-11-30 13:35:19,652 HierarchyExporter INFO - configure(bs, null, null, org.obm.push.state.syncst...@43da1b, 0, 0) 2009-11-30 13:35:19,653 HierarchyExporter INFO - synchronize 2009-11-30 13:35:19,817 Responder INFO - to pda: <?xml version="1.0" encoding="UTF-8"?> <FolderSync> <Status>1</Status> <SyncKey>156b9b69-82e0-4e9e-8574-788c70624c3d</SyncKey> <Changes> <Count>5</Count> <Add> <ServerId>14</ServerId> <ParentId>0</ParentId> <DisplayName>[email protected]</DisplayName> <Type>8</Type> </Add> <Add> <ServerId>16</ServerId> <ParentId>0</ParentId> <DisplayName>Inbox</DisplayName> <Type>2</Type> </Add> <Add> <ServerId>17</ServerId> <ParentId>0</ParentId> <DisplayName>Sent</DisplayName> <Type>5</Type> </Add> <Add> <ServerId>18</ServerId> <ParentId>0</ParentId> <DisplayName>Trash</DisplayName> <Type>4</Type> </Add> <Add> <ServerId>15</ServerId> <ParentId>0</ParentId> <DisplayName>[email protected] contacts</DisplayName> <Type>9</Type> </Add> </Changes> </FolderSync> et ça s'arrète là .... J'ai rien de très indicatif dans les logs d'apache non plus ... Auriez vous une piste ? Bien cordialement !!!! ----- Message d'origine ---- De : CATALDO Thomas <[email protected]> À : Pierrick Perrigault <[email protected]>; [email protected] Envoyé le : Jeu 26 Novembre 2009, 15 h 30 min 19 s Objet : RE: [Obm] o-push Pierrick Perrigault a écrit : > Bonjour, > Je suis en train d'essayer O-push 2.3 actuellement. Je l'ai installé mais > j'ai quelques difficultés ... > Une fois installé, je vois bien que le processus O-push est bien lancé et que > le port 8082 est ouvert sur la machine en question ! > J'essaie de paramétrer un portable (Nokia 6210 Navigator), celui ci me > retourne une problème d'adresse he qui n'est pas valide ... Soit ! > Je teste via mon navigateur web sur l'adresse > http://mamachine:8082/Microsoft-Server-ActiveSync. J'arrive à un prompt > d'authentification ! > J'essaie de m'authentifier, voici le message affiché : > Problem accessing /Microsoft-Server-ActiveSync. Reason: > INTERNAL_SERVER_ERROR > Caused by: > java.lang.NullPointerException > at org.obm.push.ActiveSyncServlet.p(ActiveSyncServlet.java:205) > at > org.obm.push.ActiveSyncServlet.performAuthentification(ActiveSyncServlet.java:164) > at org.obm.push.ActiveSyncServlet.service(ActiveSyncServlet.java:111) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) > at > org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180) > at > org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90) > at > org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111) > at > org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:59) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) > at > org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet.service(HttpServerManager.java:318) > at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) > at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:380) > at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) > at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) > at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) > at org.mortbay.jetty.Server.handle(Server.java:324) > at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:535) > at > org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:865) > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:540) > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:213) > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) > at > org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) > at > org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520) > J'ai l'impression qu'il y'a un problème d'authentification ! Je vais voir > dans les logs de o-push : > 2009-11-26 13:04:29,058 Application INFO - Push server started. > 2009-11-26 13:04:29,121 CalendarMonitoringThread INFO - changed collections: > 0 dbDate: Thu Nov 26 13:04:29 GMT 2009 > 2009-11-26 13:04:29,123 CalendarMonitoringThread INFO - DB lastSync: Thu Nov > 26 13:04:29 GMT 2009 > 2009-11-26 13:04:29,130 ContactsMonitoringThread INFO - changed collections: > 0 dbDate: Thu Nov 26 13:04:29 GMT 2009 > 2009-11-26 13:04:29,130 ContactsMonitoringThread INFO - DB lastSync: Thu Nov > 26 13:04:29 GMT 2009 > 2009-11-26 13:04:31,438 ActiveSyncServlet INFO - q: null pending: false > resumed: false m: GET > 2009-11-26 13:04:32,541 ActiveSyncServlet INFO - q: null pending: false > resumed: false m: GET > 2009-11-26 13:04:59,262 ActiveSyncServlet INFO - q: null pending: false > resumed: false m: GET > 2009-11-26 13:04:59,262 ActiveSyncServlet WARN - invalid auth, sending http > 401 (uri: GET /Microsoft-Server-ActiveSync null) > 2009-11-26 13:05:08,681 ActiveSyncServlet INFO - q: null pending: false > resumed: false m: GET > Pouvez vous m'aider ? Ce comportement est "normal" dans le sens que la requete simple faite par le navigateur n'est pas conforme au protocole : il manque certains des paramètres obligatoires dans l'url. Il semble prêt à fonctionner (avec MailForExchange puisque vous utilisez un nokia) _______________________________________________ Obm mailing list [email protected] http://www.list.aliasource.fr/mailman/listinfo/obm
