[OBM] Backend MiniG

Yassine AYACHI ayachi.yassine at gmail.com
Tue Nov 4 15:47:52 CET 2008


J'ai fais la manip que vous m'avez proposé... les choses ont changé à ceci :

message retourné par le navigateur : Login failed (check login & password).

le fichier log catalina.out montre ceci :

2008-11-04 15:42:58,743 ProxyClientFactory INFO - Creating proxy client
2008-11-04 15:42:58,753 ProxyClient INFO - [anonymous] [
http://127.0.0.1:8081] Proxy client created*
2008-11-04 15:42:58,865 LoginMethod ERROR - Connection refused*
java.net.ConnectException: Connection refused
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    at java.net.Socket.connect(Socket.java:519)
    at java.net.Socket.connect(Socket.java:469)
    at java.net.Socket.<init>(Socket.java:366)
    at java.net.Socket.<init>(Socket.java:240)
    at
org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)
    at
org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122)
    at
org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
    at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
    at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
    at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
    at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
    at
fr.aliasource.webmail.server.proxy.client.http.AbstractClientMethod.executeStream(AbstractClientMethod.java:71)
    at
fr.aliasource.webmail.server.proxy.client.http.AbstractClientMethod.execute(AbstractClientMethod.java:48)
    at
fr.aliasource.webmail.server.proxy.client.http.LoginMethod.login(LoginMethod.java:37)
    at
fr.aliasource.webmail.server.proxy.client.http.ProxyClient.login(ProxyClient.java:161)
    at fr.aliasource.webmail.server.LoginImpl.doLogin(LoginImpl.java:71)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:527)
    at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:164)
    at
com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    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:175)
    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:263)
    at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
    at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:619)
*2008-11-04 15:42:58,870 ProxyClient WARN - backend rejected login to
l:yassine @:testobm.com p:MotDePasse*


Une idée SVP... merci d'avance !

Yassine.



Le 4 novembre 2008 09:55, Thomas Cataldo <thomas.cataldo at aliasource.fr> a
écrit :

> On Mon, 2008-11-03 at 22:14 +0000, Yassine AYACHI wrote:
> > Mon système postfix+cyrus+ldap est bien configuré... j'arrive à
> > envoyer et recevoir des mails correctement sur mon serveur. mon pb est
> > avec l'interface MiniG lorsque j'entre un login/mdp d'un utilisateur
> > de messagerie le navigateur tourne indéfiniment sans retourner
> > d'erreur...
> > Je suis à court d'idées un coup de pouce plz.
> > Voici mes fichier de conf :
> > frontend_conf.ini
> > ########################################################
> > # General Frontend settings #
> > # copy this file to /etc/minig/frontend_conf.ini #
> > ########################################################
> > # IMAP proxy location (MiniG backend location)
> > frontend.proxyUrl=http://127.0.0.1:143
>
> http://127.0.0.1:8081 ici, le "proxy" (ou backend) est un service web
> fonctionnant sur le port 8081.
>
> > # Set to "true" if frontend handles login by itself . If "false", a
> > # previous app layer MUST perform login before showing the frontend.
> > #
> > # With the GWT frontend running in tomcat, a servlet filter might
> > perform
> > # the login operation.
> > frontend.ajaxLogin=true
> > # those settings are needed when OBM acts as single sign on provider
> > for MiniG
> > #frontend.ssoProvider=fr.aliasource.webmail.server.OBMSSOProvider
> > #frontend.ssoServerUrl=http://192.168.10.42/sso/sso_index.php
> > #frontend.logoutUrl=http://192.168.10.42/obm.php?action=logout
> > ####################################
> > # gwt front specific settings #
> > ####################################
> > # client implementation
> > # uncomment for the dummy implementation
> >
> #frontend.gwt.proxyClientFactoryClass=fr.aliasource.webmail.server.proxy.client.DummyProxyClientFactory
> > # real client implementation
> >
> frontend.gwt.proxyClientFactoryClass=fr.aliasource.webmail.server.proxy.client.http.ProxyClientFactory
> >
> > backend_conf.ini
> > #IMAP & SMTP server configuration
> > backend.imap.uri=imap://127.0.0.1
> > backend.imap.singleDomain=false
> > backend.smtp.uri=smtp://127.0.0.1
> > #
> > # ldap address book. %q is replaced by the query.
> > #
> > completion.ldap.filter=(&(objectClass=inetOrgPerson)(mail=%q*))
> > completion.ldap.url=ldap://127.0.0.1
> > completion.ldap.basedn=dc=testobm
> >
> > sachant que ds mon fichier web.xml j'ai le le filter et le
> > filter-mapping commentés (ceci me permet d'accéder à la page d"cceuil
> > MiniG)
>
>
> Le reste de la conf me semble bon.
>
> Il manque un dernier fichier de conf indexing_conf.ini :
>
> solr.server.url=http://10.0.0.5:8080/solr/webmail
>
> qui contiens l'addresse du serveur d'indexation solr
> ( http://lucene.apache.org/solr )
>
> I'm expanding the documentation on this part of the setup in
> http://code.google.com/p/minig/wiki/FullTextIndexing
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.list.aliasource.fr/pipermail/obm/attachments/20081104/b4de11e8/attachment.htm


More information about the Obm mailing list