Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Results 1 to 8 of 8
  1. #1
    Join Date
    Nov 2010
    Posts
    24

    Default Bekomme Business Mobility nicht zum laufen

    Hallo,

    ich habe OpenXchange installiert, auch die Erweiterung für Business Mobility. Aber irgendwie bekomme ich das ganze nicht ans laufen.
    Ich habe die Erweiterung wie hier beschrieben installiert. Als OS kommt CentOS 5 zum Einsatz.
    Damit das Setup leichter ist wollte ich die Exchange-Synchronisation zuerst auch nur im lokalen Netz testen, sprich das Smartphone befindet sich über WLAN im gleichen Netz wie der OX-Server.
    Ich gebe die Daten für den Server dann wie in den PDF's angegeben in mein Smartphone (Galaxy Tab) ein und bekomme jedesmal die Meldung "Verbindung nicht möglich" zurück.

    Auf dem Server bekomme ich folgende Fehlermeldung:
    Code:
    Nov 10, 2011 5:20:13 PM com.openexchange.usm.eas.servlet.EASServlet doOptions
    SEVERE: Internal error while authenticating for OPTIONS command
    18000e: com.openexchange.usm.api.exceptions.OXCommunicationException: Exception occurred during communication with OX server
            at com.openexchange.usm.ox_json.impl.OXJSONAccessImpl.executeMethodOnce(OXJSONAccessImpl.java:434)
            at com.openexchange.usm.ox_json.impl.OXJSONAccessImpl.performLogin(OXJSONAccessImpl.java:183)
            at com.openexchange.usm.ox_json.impl.OXJSONAccessImpl.obtainConnectionData(OXJSONAccessImpl.java:367)
            at com.openexchange.usm.ox_json.impl.OXJSONAccessImpl.login(OXJSONAccessImpl.java:121)
            at com.openexchange.usm.ox_json.impl.OXJSONAccessService.login(OXJSONAccessService.java:107)
            at com.openexchange.usm.session.impl.SessionManagerImpl.getSession(SessionManagerImpl.java:307)
            at com.openexchange.usm.session.impl.SessionManagerService.getSession(SessionManagerService.java:77)
            at com.openexchange.usm.eas.servlet.EASServlet.doOptions(EASServlet.java:344)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:736)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
            at com.openexchange.ajp13.najp.AJPv13RequestHandlerImpl.doServletService(AJPv13RequestHandlerImpl.java:562)
            at com.openexchange.ajp13.AJPv13Request.response(AJPv13Request.java:138)
            at com.openexchange.ajp13.najp.AJPv13RequestHandlerImpl.createResponse(AJPv13RequestHandlerImpl.java:364)
            at com.openexchange.ajp13.najp.AJPv13ConnectionImpl.createResponse(AJPv13ConnectionImpl.java:224)
            at com.openexchange.ajp13.najp.AJPv13Task.call(AJPv13Task.java:394)
            at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
            at java.util.concurrent.FutureTask.run(FutureTask.java:166)
            at com.openexchange.threadpool.internal.CustomThreadPoolExecutor$Worker.runTask(CustomThreadPoolExecutor.java:750)
            at com.openexchange.threadpool.internal.CustomThreadPoolExecutor$Worker.run(CustomThreadPoolExecutor.java:776)
            at java.lang.Thread.run(Thread.java:636)
    Caused by: java.net.ConnectException: Connection refused
            at java.net.PlainSocketImpl.socketConnect(Native Method)
            at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:327)
            at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:193)
            at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180)
            at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
            at java.net.Socket.connect(Socket.java:546)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:616)
            at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140)
            at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125)
            at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
            at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
            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 com.openexchange.usm.ox_json.impl.OXJSONAccessImpl.executeMethod(OXJSONAccessImpl.java:630)
            at com.openexchange.usm.ox_json.impl.OXJSONAccessImpl.executeMethodOnce(OXJSONAccessImpl.java:422)
            ... 19 more
    Kann mir bitte bitte irgendwer sagen was ich falsch gemacht haben kann?

  2. #2
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

    Hallo,

    schau mal bitte ob der OX Server über die in der usm.properties angegebene URL erreichbar ist. Vielleicht lauscht dein Webserver nicht auf "localhost". USM baut eine HTTP Verbindung zum OX auf um die Daten zu synchronisieren.

    Gruß

  3. #3
    Join Date
    Nov 2010
    Posts
    24

    Default

    Hmm okay, da bekomme ich einen Fehler zurück, also auf

    http://localhost/ajax/
    http://localhost

    ist der OX-Server nicht zu erreichen. Jetzt mal schauen woran das liegen kann.

  4. #4
    Join Date
    Nov 2010
    Posts
    24

    Default

    jetzt bekomme ich den folgenden Fehler zurück
    Code:
    Nov 13, 2011 10:12:53 PM com.openexchange.usm.eas.servlet.EASServlet doOptions
    FINE: HTTP OPTIONS received
    Nov 13, 2011 10:12:53 PM com.openexchange.usm.ox_json.impl.OXJSONAccessImpl obtainConnectionData
    FINE: 0:0:cboehm@defaultcontext:EAS:validate Retrieving OX session with ID: null
    Nov 13, 2011 10:12:53 PM com.openexchange.log.internal.LoggerTask call
    INFO: Logged at: com.openexchange.ajax.Login.doLogin(Login.java:857)
    Login:cboehm@defaultcontext IP:81.210.253.232 AuthID:682f556d-74c7-47f8-b74f-76a70bcefe13 Agent:Jakarta Commons-HttpClient/3.1 Client:USM-EAS(6.20.0.0-4401) Interface:HTTP_JSON Context:1(1,defaultcontext,kraus) User:2(cboehm) Session:a945f7e3e6974c24ad6317a2bcc2075a Random:526635d838b14484a7efa3d34d823892
    Nov 13, 2011 10:12:53 PM com.openexchange.usm.ox_json.impl.OXJSONAccessImpl login
    FINE: 0:0:cboehm@defaultcontext:EAS:validate Logged in, session id = a945f7e3e6974c24ad6317a2bcc2075a
    Nov 13, 2011 10:12:53 PM com.openexchange.usm.ox_json.impl.OXJSONAccessImpl obtainConnectionData
    FINE: 0:0:cboehm@defaultcontext:EAS:validate Retrieving OX session with ID: OX session a945f7e3e6974c24ad6317a2bcc2075a
    Nov 13, 2011 10:12:53 PM com.openexchange.usm.ox_json.impl.OXJSONAccessImpl doGet
    FINE: 0:0:cboehm@defaultcontext:EAS:validate GET http://oxserver/ajax/config/
    Nov 13, 2011 10:12:53 PM com.openexchange.log.internal.LoggerTask call
    INFO: Logged at: com.openexchange.ajax.SessionServlet.checkIP(SessionServlet.java:358)
    Request to server denied for session: a945f7e3e6974c24ad6317a2bcc2075a. Client login IP changed from 81.210.253.232 to 192.168.16.227.
    com.openexchange.session.contextId=1
    com.openexchange.session.userId=2
    Nov 13, 2011 10:12:53 PM com.openexchange.log.internal.LoggerTask call
    INFO: Logged at: com.openexchange.mail.cache.MailAccessCacheEventListener.handleEvent(MailAccessCacheEventListener.java:120)
    Detected a removed session: a945f7e3e6974c24ad6317a2bcc2075a. Removed all possibly cached mail access instances for user 2 in context 1
    Nov 13, 2011 10:12:53 PM com.openexchange.usm.eas.servlet.EASServlet doOptions
    SEVERE: Internal error while authenticating for OPTIONS command
    180003: com.openexchange.usm.api.exceptions.OXCommunicationException: Unknown OX response reading configuration, server-response=OX Error: {"category":3,"error":"Request to server was refused. Original client IP address changed. Please try again.","error_params":[],"error_id":"-237506809-72","code":"SES-0205"}
            at com.openexchange.usm.ox_json.impl.OXJSONAccessImpl.readConfiguration(OXJSONAccessImpl.java:153)
            at com.openexchange.usm.ox_json.impl.OXJSONAccessImpl.getConfiguration(OXJSONAccessImpl.java:136)
            at com.openexchange.usm.ox_json.impl.OXJSONAccessService.getConfiguration(OXJSONAccessService.java:156)
            at com.openexchange.usm.session.impl.SessionManagerImpl.getSession(SessionManagerImpl.java:308)
            at com.openexchange.usm.session.impl.SessionManagerService.getSession(SessionManagerService.java:77)
            at com.openexchange.usm.eas.servlet.EASServlet.doOptions(EASServlet.java:344)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:736)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
            at com.openexchange.ajp13.najp.AJPv13RequestHandlerImpl.doServletService(AJPv13RequestHandlerImpl.java:562)
            at com.openexchange.ajp13.AJPv13Request.response(AJPv13Request.java:138)
            at com.openexchange.ajp13.najp.AJPv13RequestHandlerImpl.createResponse(AJPv13RequestHandlerImpl.java:364)
            at com.openexchange.ajp13.najp.AJPv13ConnectionImpl.createResponse(AJPv13ConnectionImpl.java:224)
            at com.openexchange.ajp13.najp.AJPv13Task.call(AJPv13Task.java:394)
            at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
            at java.util.concurrent.FutureTask.run(FutureTask.java:166)
            at com.openexchange.threadpool.internal.CustomThreadPoolExecutor$Worker.runTask(CustomThreadPoolExecutor.java:750)
            at com.openexchange.threadpool.internal.CustomThreadPoolExecutor$Worker.run(CustomThreadPoolExecutor.java:776)
            at java.lang.Thread.run(Thread.java:636)
    Wie gehts weiter?

  5. #5
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

    Hi,

    bitte die IP des Webservers in der noipcheck.properties eintragen.

    Gruß

  6. #6
    Join Date
    Nov 2010
    Posts
    24

    Default

    Hi,

    danke für die schnelle Antwort. Aber wo bitte finde ich diese Datei oder in welcher Datei befindet sich die Variable?
    Und soll ich dort die interne IP des Webservers oder die öffentliche eintragen?

  7. #7
    Join Date
    Nov 2010
    Posts
    24

    Default

    habs gefunden, heisst etwas anders:

    Code:
     /opt/open-xchange/etc/groupware/noipcheck.cnf
    Danach scheint es zu funktionieren. Danke!!!

    Jetzt hätte ich nur noch eine Frage.
    Der OX-Server sitzt hinter dem Router/Firewall und ich frage mich welche Ports ich alle per NAT weiterleiten muss damit ich die komplette Business Mobility nutzen kann?

  8. #8
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

    Port 443/tcp wenn SSL verwendet wird, ansonsten Port 80/tcp.

    Gruß

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •