[OBM] Backend MiniG
Yassine AYACHI
ayachi.yassine at gmail.com
Tue Nov 4 17:10:56 CET 2008
2008/11/4 Yassine AYACHI <ayachi.yassine at gmail.com>
> 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*
>
> Déseperement j'ajoute ceci généré par le log backend minig, mon imap est
> anaccessible par minig, ou devrais-je configurer cela?
>
* 2008-11-04 16:53:17,686 ResponderImpl WARN - Denying access*
2008-11-04 17:06:34,524 LoginImpl INFO - imap: imap://127.0.0.1 smtp:
smtp://127.0.0.1
2008-11-04 17:06:34,525 LocatorRegistry INFO - Locator resolved imap://
127.0.0.1 for cyrus at localhost as 127.0.0.1
2008-11-04 17:06:34,525 LocatorRegistry INFO - Locator resolved smtp://
127.0.0.1 for cyrus at localhost as 127.0.0.1
2008-11-04 17:06:34,543 StoreClientCallback INFO - connected() callback
called.
2008-11-04 17:06:34,563 ClientSupport INFO - Connection to server
established, sending login informations.
2008-11-04 17:06:37,569 MinigConnectionFactory ERROR - Cannot establish IMAP
connection for cyrus at localhost with password 'MotDePasse' (Login refused for
cyrus at localhost / pouf)
2008-11-04 17:06:37,569 LoginImpl ERROR - Login refused for 'cyrus at localhost'
with password 'MotDePasse' on 127.0.0.1 (Cannot connect to IMAP server at
127.0.0.1)
fr.aliasource.webmail.common.imap.StoreException: Cannot connect to IMAP
server at 127.0.0.1
at fr.aliasource.webmail.common.IMAPAccount.<init>(IMAPAccount.java:63)
at
fr.aliasource.webmail.common.AccountFactory.getAccount(AccountFactory.java:47)
at fr.aliasource.webmail.proxy.impl.LoginImpl.doLogin(LoginImpl.java:68)
at fr.aliasource.webmail.proxy.impl.ProxyImpl.doLogin(ProxyImpl.java:66)
at
fr.aliasource.webmail.proxy.Controller.loginHandling(Controller.java:109)
at
fr.aliasource.webmail.proxy.Controller.validateLoginRequest(Controller.java:91)
at fr.aliasource.webmail.proxy.Controller.service(Controller.java:73)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
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:75)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at
org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet.service(HttpServerManager.java:269)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at
org.mortbay.jetty.servlet.ServletHandler.dispatch(ServletHandler.java:677)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
2008-11-04 17:06:37,576 ResponderImpl WARN - Denying access
> 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
>>
>>
>>
>>
>
>
>
>
--
Yassine AYACHI
Ingénieur réseaux & systèmes
SQLI MAROC www.sqli.com
yassinegtr4 at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.list.aliasource.fr/pipermail/obm/attachments/20081104/5c7d2ae9/attachment-0001.html
More information about the Obm
mailing list