Announcement

Collapse
No announcement yet.

com.openexchange.admin.rmi.exceptions.OXUserIMAPEx ception: javax.mail.MessagingExcept

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • com.openexchange.admin.rmi.exceptions.OXUserIMAPEx ception: javax.mail.MessagingExcept

    hello und good morning,

    in the past days i have setup OX Build: 6306
    i was following exactly the howto as documented.

    i have checked the admininterface, which works well, except this part
    where i can setup "aliases the vaccationstuff etc.." -

    if as a example i setup an alias, the alias is in the sql-db but the typical error appears: Error code: com.openexchange.admin.plugins.PluginException: com.openexchange.admin.rmi.exceptions.OXUserIMAPEx ception: javax.mail.MessagingException: Connection refused; nested exception is: java.net.ConnectException: Connection refused (SVL-0001,-1138441829-193)

    i am unsere which application is refusing..

    i understood that the vaccationstuff and some other things working with sieve.. (my sieve is running under tcp port 2000) - whalt else could be
    the reason for that problem?

    would be really great if someone have an idea for me..

    greetings

    chris

  • #2
    hi have just set debugging to "ALL"

    i now see follwing:
    Aug 9, 2008 9:01:10 AM com.openexchange.admin.rmi.impl.BasicAuthenticator doUserAuthentication
    SEVERE: User authentication:
    com.openexchange.admin.rmi.exceptions.InvalidCrede ntialsException: Authentication failed for user oxadmin

    where can i setup the correct credentials for oxadmin?

    thank you!

    Comment


    • #3
      Hi,

      did you try to set the IMAP credentials for oxadmin? I guess if you followed the old guide so this could be done by "saslpasswd2 oxadmin"

      Comment


      • #4
        it was my mistake,

        the creds. are ok. - it was an mistyping while logging in..
        sorry for confusing.

        but still have the problem with the actuall errormessage as seen in the subject..
        any idea regarding that?

        thank you!

        chris

        Comment


        • #5
          hi again,

          and this is the ouput from "open-xchange.log":

          may it says a bit more... but not for me

          Aug 9, 2008 2:12:22 PM com.openexchange.monitoring.MonitoringInfo changeNumberOfConnections
          INFO: MonitoringInfo.changeNumberOfConnections(): Unknown connection type: -1
          Aug 9, 2008 2:12:22 PM sun.rmi.server.UnicastRef newCall
          FINE: AJPListener-00003: get connection
          Aug 9, 2008 2:12:22 PM sun.rmi.transport.tcp.TCPChannel newConnection
          FINE: AJPListener-00003: reuse connection
          Aug 9, 2008 2:12:22 PM sun.rmi.server.UnicastRef newCall
          FINER: AJPListener-00003: create call context
          Aug 9, 2008 2:12:22 PM sun.rmi.server.UnicastRef logClientCall
          FINER: AJPListener-00003: outbound call: [endpoint:[localhost:1099](remote),objID:[0:0:0, 0]] : sun.rmi.registry.RegistryImpl_Stub[0:0:0, 0]: java.rmi.Remote lookup(java.lang.String)
          Aug 9, 2008 2:12:22 PM sun.rmi.transport.StreamRemoteCall <init>
          FINER: AJPListener-00003: write remote call header...
          Aug 9, 2008 2:12:22 PM sun.rmi.transport.StreamRemoteCall getOutputStream
          FINER: AJPListener-00003: getting output stream
          Aug 9, 2008 2:12:22 PM sun.rmi.server.UnicastRef invoke
          FINER: AJPListener-00003: execute call
          Aug 9, 2008 2:12:22 PM sun.rmi.transport.StreamRemoteCall getInputStream
          FINER: AJPListener-00003: getting input stream
          Aug 9, 2008 2:12:22 PM sun.rmi.server.LoaderHandler loadProxyClass
          FINE: AJPListener-00003: interfaces = [com.openexchange.admin.rmi.OXUserInterface], codebase = "", defaultLoader = sun.misc.Launcher$AppClassLoader@12498b5
          Aug 9, 2008 2:12:22 PM sun.rmi.server.LoaderHandler loadProxyClass
          FINER: AJPListener-00003: (thread context class loader: sun.misc.Launcher$AppClassLoader@12498b5)
          Aug 9, 2008 2:12:22 PM sun.rmi.server.LoaderHandler loadProxyClass
          FINER: AJPListener-00003: proxy interfaces found via defaultLoader, defined by [sun.misc.Launcher$AppClassLoader@12498b5]
          Aug 9, 2008 2:12:22 PM sun.rmi.server.LoaderHandler loadProxyClass
          FINER: AJPListener-00003: (no security manager: codebase disabled) proxy class defined by sun.misc.Launcher$AppClassLoader@12498b5
          Aug 9, 2008 2:12:22 PM sun.rmi.server.LoaderHandler loadClass
          FINE: AJPListener-00003: name = "java.lang.reflect.Proxy", codebase = "", defaultLoader = sun.misc.Launcher$AppClassLoader@12498b5
          Aug 9, 2008 2:12:22 PM sun.rmi.server.LoaderHandler loadClass
          FINER: AJPListener-00003: class "java.lang.reflect.Proxy" found via defaultLoader, defined by null
          Aug 9, 2008 2:12:22 PM sun.rmi.server.LoaderHandler loadClass
          FINE: AJPListener-00003: name = "java.rmi.server.RemoteObjectInvocationHandler ", codebase = "", defaultLoader = sun.misc.Launcher$AppClassLoader@12498b5
          Aug 9, 2008 2:12:22 PM sun.rmi.server.LoaderHandler loadClass
          FINER: AJPListener-00003: class "java.rmi.server.RemoteObjectInvocationHandler " found via defaultLoader, defined by null
          Aug 9, 2008 2:12:22 PM sun.rmi.server.LoaderHandler loadClass
          FINE: AJPListener-00003: name = "java.rmi.server.RemoteObject", codebase = "", defaultLoader = sun.misc.Launcher$AppClassLoader@12498b5
          Aug 9, 2008 2:12:22 PM sun.rmi.server.LoaderHandler loadClass
          FINER: AJPListener-00003: class "java.rmi.server.RemoteObject" found via defaultLoader, defined by null
          Aug 9, 2008 2:12:22 PM sun.rmi.server.UnicastRef done
          FINE: AJPListener-00003: free connection (reuse = true)
          Aug 9, 2008 2:12:22 PM sun.rmi.transport.tcp.TCPChannel free
          FINE: AJPListener-00003: reuse connection
          Aug 9, 2008 2:12:22 PM sun.rmi.transport.ConnectionInputStream done
          FINER: AJPListener-00003: send ack
          Aug 9, 2008 2:12:22 PM sun.rmi.transport.tcp.TCPChannel newConnection
          FINE: AJPListener-00003: reuse connection
          Aug 9, 2008 2:12:22 PM sun.rmi.transport.tcp.TCPChannel free
          FINE: AJPListener-00003: reuse connection
          Aug 9, 2008 2:12:22 PM sun.rmi.server.UnicastRef invoke
          FINER: AJPListener-00003: method: public abstract void com.openexchange.admin.rmi.OXUserInterface.change( com.openexchange.admin.rmi.dataobjects.Context,com .openexchange.admin.rmi.dataobjects.User,com.opene xchange.admin.rmi.dataobjects.Credentials) throws java.rmi.RemoteException,com.openexchange.admin.rm i.exceptions.StorageException,com.openexchange.adm in.rmi.exceptions.InvalidCredentialsException,com. openexchange.admin.rmi.exceptions.NoSuchContextExc eption,com.openexchange.admin.rmi.exceptions.Inval idDataException,com.openexchange.admin.rmi.excepti ons.DatabaseUpdateException,com.openexchange.admin .rmi.exceptions.NoSuchUserException
          Aug 9, 2008 2:12:22 PM sun.rmi.server.UnicastRef logClientCall
          FINER: AJPListener-00003: outbound call: [endpoint:[:37921](remote),objID:[-2b94dc57:11b97d75fed:-7fff, 0]] : $Proxy8[-2b94dc57:11b97d75fed:-7fff, 0]: public abstract void com.openexchange.admin.rmi.OXUserInterface.change( com.openexchange.admin.rmi.dataobjects.Context,com .openexchange.admin.rmi.dataobjects.User,com.opene xchange.admin.rmi.dataobjects.Credentials) throws java.rmi.RemoteException,com.openexchange.admin.rm i.exceptions.StorageException,com.openexchange.adm in.rmi.exceptions.InvalidCredentialsException,com. openexchange.admin.rmi.exceptions.NoSuchContextExc eption,com.openexchange.admin.rmi.exceptions.Inval idDataException,com.openexchange.admin.rmi.excepti ons.DatabaseUpdateException,com.openexchange.admin .rmi.exceptions.NoSuchUserException
          Aug 9, 2008 2:12:22 PM sun.rmi.transport.tcp.TCPChannel newConnection
          FINE: AJPListener-00003: reuse connection
          Aug 9, 2008 2:12:22 PM sun.rmi.server.UnicastRef invoke
          FINER: AJPListener-00003: opnum = -1524169948991080323
          Aug 9, 2008 2:12:22 PM sun.rmi.transport.StreamRemoteCall <init>
          FINER: AJPListener-00003: write remote call header...
          Aug 9, 2008 2:12:22 PM sun.rmi.transport.StreamRemoteCall getOutputStream
          FINER: AJPListener-00003: getting output stream
          Aug 9, 2008 2:12:22 PM sun.rmi.transport.StreamRemoteCall getInputStream
          FINER: AJPListener-00003: getting input stream
          Aug 9, 2008 2:12:22 PM sun.rmi.server.LoaderHandler loadClass
          FINE: AJPListener-00003: name = "com.openexchange.admin.rmi.exceptions.StorageExce ption", codebase = "", defaultLoader = sun.misc.Launcher$AppClassLoader@12498b5
          Aug 9, 2008 2:12:22 PM sun.rmi.server.LoaderHandler loadClass
          FINER: AJPListener-00003: class "com.openexchange.admin.rmi.exceptions.StorageExce ption" found via defaultLoader, defined by sun.misc.Launcher$AppClassLoader@12498b5
          Aug 9, 2008 2:12:22 PM sun.rmi.server.LoaderHandler loadClass
          FINE: AJPListener-00003: name = "java.lang.Exception", codebase = "", defaultLoader = sun.misc.Launcher$AppClassLoader@12498b5
          Aug 9, 2008 2:12:22 PM sun.rmi.server.LoaderHandler loadClass
          FINER: AJPListener-00003: class "java.lang.Exception" found via defaultLoader, defined by null
          Aug 9, 2008 2:12:22 PM sun.rmi.server.LoaderHandler loadClass
          FINE: AJPListener-00003: name = "java.lang.Throwable", codebase = "", defaultLoader = sun.misc.Launcher$AppClassLoader@12498b5
          Aug 9, 2008 2:12:22 PM sun.rmi.server.LoaderHandler loadClass
          FINER: AJPListener-00003: class "java.lang.Throwable" found via defaultLoader, defined by null
          Aug 9, 2008 2:12:22 PM sun.rmi.server.LoaderHandler loadClass
          FINE: AJPListener-00003: name = "com.openexchange.admin.plugins.PluginExceptio n", codebase = "", defaultLoader = sun.misc.Launcher$AppClassLoader@12498b5
          Aug 9, 2008 2:12:22 PM sun.rmi.server.LoaderHandler loadClass
          FINER: AJPListener-00003: class "com.openexchange.admin.plugins.PluginExceptio n" found via defaultLoader, defined by sun.misc.Launcher$AppClassLoader@12498b5
          Aug 9, 2008 2:12:22 PM sun.rmi.server.LoaderHandler loadClass
          FINE: AJPListener-00003: name = "[Ljava.lang.StackTraceElement;", codebase = "", defaultLoader = sun.misc.Launcher$AppClassLoader@12498b5
          Aug 9, 2008 2:12:22 PM sun.rmi.server.LoaderHandler loadClass
          FINER: AJPListener-00003: class "[Ljava.lang.StackTraceElement;" found via defaultLoader, defined by null
          Aug 9, 2008 2:12:22 PM sun.rmi.server.LoaderHandler loadClass
          FINE: AJPListener-00003: name = "java.lang.StackTraceElement", codebase = "", defaultLoader = sun.misc.Launcher$AppClassLoader@12498b5
          Aug 9, 2008 2:12:22 PM sun.rmi.server.LoaderHandler loadClass
          FINER: AJPListener-00003: class "java.lang.StackTraceElement" found via defaultLoader, defined by null
          Aug 9, 2008 2:12:22 PM sun.rmi.transport.StreamRemoteCall exceptionReceivedFromServer
          FINE: AJPListener-00003: outbound call received exception: [:37921] exception:
          com.openexchange.admin.rmi.exceptions.StorageExcep tion: com.openexchange.admin.plugins.PluginException: com.openexchange.admin.rmi.exceptions.OXUserIMAPEx ception: javax.mail.MessagingException: Connection refused;
          nested exception is:
          java.net.ConnectException: Connection refused
          at com.openexchange.admin.rmi.impl.OXUser.change(OXUs er.java:293)
          at sun.reflect.GeneratedMethodAccessor9.invoke(Unknow n Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:585)
          at sun.rmi.server.UnicastServerRef.dispatch(UnicastSe rverRef.java:294)
          at sun.rmi.transport.Transport$1.run(Transport.java:1 53)
          at java.security.AccessController.doPrivileged(Native Method)
          at sun.rmi.transport.Transport.serviceCall(Transport. java:149)
          at sun.rmi.transport.tcp.TCPTransport.handleMessages( TCPTransport.java:466)
          at sun.rmi.transport.tcp.TCPTransport$ConnectionHandl er.run(TCPTransport.java:707)
          at java.lang.Thread.run(Thread.java:595)
          at sun.rmi.transport.StreamRemoteCall.exceptionReceiv edFromServer(StreamRemoteCall.java:247)
          at sun.rmi.transport.StreamRemoteCall.executeCall(Str eamRemoteCall.java:223)
          at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:1 26)
          at java.rmi.server.RemoteObjectInvocationHandler.invo keRemoteMethod(RemoteObjectInvocationHandler.java: 179)
          at java.rmi.server.RemoteObjectInvocationHandler.invo ke(RemoteObjectInvocationHandler.java:132)
          at $Proxy8.change(Unknown Source)
          at com.openexchange.admin.ajax.actions.UserAction.act ionUpdate(UserAction.java:272)
          at com.openexchange.admin.ajax.actions.UserAction.act ionUpdate(UserAction.java:91)
          at com.openexchange.admin.ajax.actions.AbstractAction .action(AbstractAction.java:113)
          at com.openexchange.admin.ajax.AJAXServlet.doPut(AJAX Servlet.java:353)
          at javax.servlet.http.HttpServlet.service(HttpServlet .java:763)
          at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)
          at com.openexchange.tools.ajp13.AJPv13Request.respons e(AJPv13Request.java:92)
          at com.openexchange.tools.ajp13.AJPv13RequestHandler. createResponse(AJPv13RequestHandler.java:363)
          at com.openexchange.tools.ajp13.AJPv13Connection.crea teResponse(AJPv13Connection.java:168)
          at com.openexchange.tools.ajp13.AJPv13Listener.run(AJ Pv13Listener.java:245)
          at java.lang.Thread.run(Thread.java:595)
          Caused by: com.openexchange.admin.plugins.PluginException: com.openexchange.admin.rmi.exceptions.OXUserIMAPEx ception: javax.mail.MessagingException: Connection refused;
          nested exception is:
          java.net.ConnectException: Connection refused
          at com.openexchange.admin.rmi.impl.OXUserMailfilterIm pl.change(OXUserMailfilterImpl.java:186)
          at com.openexchange.admin.rmi.impl.OXUser.change(OXUs er.java:290)
          at sun.reflect.GeneratedMethodAccessor9.invoke(Unknow n Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:585)
          at sun.rmi.server.UnicastServerRef.dispatch(UnicastSe rverRef.java:294)
          at sun.rmi.transport.Transport$1.run(Transport.java:1 53)
          at java.security.AccessController.doPrivileged(Native Method)
          at sun.rmi.transport.Transport.serviceCall(Transport. java:149)
          at sun.rmi.transport.tcp.TCPTransport.handleMessages( TCPTransport.java:466)
          at sun.rmi.transport.tcp.TCPTransport$ConnectionHandl er.run(TCPTransport.java:707)
          ... 1 more
          Aug 9, 2008 2:12:22 PM sun.rmi.server.UnicastRef invoke
          FINE: AJPListener-00003: free connection (reuse = true)
          Aug 9, 2008 2:12:22 PM sun.rmi.transport.tcp.TCPChannel free
          FINE: AJPListener-00003: reuse connection
          Aug 9, 2008 2:12:22 PM com.openexchange.tools.Logging log
          SEVERE: SVL-0001 Category=8 Message=com.openexchange.admin.plugins.PluginExcep tion: com.openexchange.admin.rmi.exceptions.OXUserIMAPEx ception: javax.mail.MessagingException: Connection refused;
          nested exception is:
          java.net.ConnectException: Connection refused exceptionID=-852884648-14
          SVL-0001 Category=8 Message=com.openexchange.admin.plugins.PluginExcep tion: com.openexchange.admin.rmi.exceptions.OXUserIMAPEx ception: javax.mail.MessagingException: Connection refused;
          nested exception is:
          java.net.ConnectException: Connection refused exceptionID=-852884648-14
          at com.openexchange.admin.ajax.actions.UserAction.act ionUpdate(UserAction.java:312)
          at com.openexchange.admin.ajax.actions.UserAction.act ionUpdate(UserAction.java:91)
          at com.openexchange.admin.ajax.actions.AbstractAction .action(AbstractAction.java:113)
          at com.openexchange.admin.ajax.AJAXServlet.doPut(AJAX Servlet.java:353)
          at javax.servlet.http.HttpServlet.service(HttpServlet .java:763)
          at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)
          at com.openexchange.tools.ajp13.AJPv13Request.respons e(AJPv13Request.java:92)
          at com.openexchange.tools.ajp13.AJPv13RequestHandler. createResponse(AJPv13RequestHandler.java:363)
          at com.openexchange.tools.ajp13.AJPv13Connection.crea teResponse(AJPv13Connection.java:168)
          at com.openexchange.tools.ajp13.AJPv13Listener.run(AJ Pv13Listener.java:245)
          at java.lang.Thread.run(Thread.java:595)
          Caused by: com.openexchange.admin.rmi.exceptions.StorageExcep tion: com.openexchange.admin.plugins.PluginException: com.openexchange.admin.rmi.exceptions.OXUserIMAPEx ception: javax.mail.MessagingException: Connection refused;
          nested exception is:
          java.net.ConnectException: Connection refused
          at com.openexchange.admin.rmi.impl.OXUser.change(OXUs er.java:293)
          at sun.reflect.GeneratedMethodAccessor9.invoke(Unknow n Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:585)
          at sun.rmi.server.UnicastServerRef.dispatch(UnicastSe rverRef.java:294)
          at sun.rmi.transport.Transport$1.run(Transport.java:1 53)
          at java.security.AccessController.doPrivileged(Native Method)
          at sun.rmi.transport.Transport.serviceCall(Transport. java:149)
          at sun.rmi.transport.tcp.TCPTransport.handleMessages( TCPTransport.java:466)
          at sun.rmi.transport.tcp.TCPTransport$ConnectionHandl er.run(TCPTransport.java:707)
          at java.lang.Thread.run(Thread.java:595)
          at sun.rmi.transport.StreamRemoteCall.exceptionReceiv edFromServer(StreamRemoteCall.java:247)
          at sun.rmi.transport.StreamRemoteCall.executeCall(Str eamRemoteCall.java:223)
          at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:1 26)
          at java.rmi.server.RemoteObjectInvocationHandler.invo keRemoteMethod(RemoteObjectInvocationHandler.java: 179)
          at java.rmi.server.RemoteObjectInvocationHandler.invo ke(RemoteObjectInvocationHandler.java:132)
          at $Proxy8.change(Unknown Source)
          at com.openexchange.admin.ajax.actions.UserAction.act ionUpdate(UserAction.java:272)
          ... 10 more
          Caused by: com.openexchange.admin.plugins.PluginException: com.openexchange.admin.rmi.exceptions.OXUserIMAPEx ception: javax.mail.MessagingException: Connection refused;
          nested exception is:
          java.net.ConnectException: Connection refused
          at com.openexchange.admin.rmi.impl.OXUserMailfilterIm pl.change(OXUserMailfilterImpl.java:186)
          at com.openexchange.admin.rmi.impl.OXUser.change(OXUs er.java:290)
          at sun.reflect.GeneratedMethodAccessor9.invoke(Unknow n Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:585)
          at sun.rmi.server.UnicastServerRef.dispatch(UnicastSe rverRef.java:294)
          at sun.rmi.transport.Transport$1.run(Transport.java:1 53)
          at java.security.AccessController.doPrivileged(Native Method)
          at sun.rmi.transport.Transport.serviceCall(Transport. java:149)
          at sun.rmi.transport.tcp.TCPTransport.handleMessages( TCPTransport.java:466)
          at sun.rmi.transport.tcp.TCPTransport$ConnectionHandl er.run(TCPTransport.java:707)
          ... 1 more
          Aug 9, 2008 2:12:22 PM com.openexchange.monitoring.MonitoringInfo changeNumberOfConnections
          INFO: MonitoringInfo.changeNumberOfConnections(): Unknown connection type: -1

          chris

          Comment


          • #6
            RESOLVED!

            the clue was my trace on the loopbackinterface!

            tshark -n -n -i lo port 993
            Capturing on lo
            0.000000 127.0.0.1 -> 127.0.0.1 TCP 34408 > 993 [SYN] Seq=0 Len=0 MSS=16396 WS=8
            0.000372 127.0.0.1 -> 127.0.0.1 TCP 993 > 34408 [RST, ACK] Seq=0 Ack=1 Win=0 Len=0
            0.000683 127.0.0.1 -> 127.0.0.1 TCP 34409 > 993 [SYN] Seq=0 Len=0 MSS=16396 WS=8
            0.000699 127.0.0.1 -> 127.0.0.1 TCP 993 > 34409 [RST, ACK] Seq=0 Ack=1 Win=0 Len=0

            i just enabled imapds and now everything is working!

            chris

            Comment

            Working...
            X