Announcement

Collapse
No announcement yet.

Problem With OX-admin and Imap

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

  • Problem With OX-admin and Imap

    Hi

    When i try in ox-admin edit one user for example to asign a vacation message, in the moment of click in the button save the interface show me this alert.

    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,1194672020-1961)

    Of course i cant save the changes, i think this is very strange because i can send and receive mails and make another works related with imap without problem, i open the log of ox-admin in complete mode and see the next large exception related with imap:

    May 5, 2009 4:40:58 PM com.openexchange.admin.rmi.impl.SieveHandler measureEnd
    FINE: SieveHandler.selectAuth() took 15ms to perform
    May 5, 2009 4:40:58 PM com.openexchange.admin.rmi.impl.OXUserIMAPImpl newImapSession
    FINE: IMAP session initialized
    May 5, 2009 4:40:58 PM com.openexchange.admin.rmi.impl.OXUserIMAPImpl initImap
    SEVERE: Connection refused
    javax.mail.MessagingException: Connection refused;
    nested exception is:
    java.net.ConnectException: Connection refused
    at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPSt ore.java:479)
    at javax.mail.Service.connect(Service.java:275)
    at com.openexchange.admin.rmi.impl.OXUserIMAPImpl.ini tImap(OXUserIMAPImpl.java:235)
    at com.openexchange.admin.rmi.impl.OXUserMailfilterIm pl.createSpamFilter(OXUserMailfilterImpl.java:841)
    at com.openexchange.admin.rmi.impl.OXUserMailfilterIm pl.changeimpl(OXUserMailfilterImpl.java:563)
    at com.openexchange.admin.rmi.impl.OXUserMailfilterIm pl.change(OXUserMailfilterImpl.java:171)
    at com.openexchange.admin.rmi.impl.OXUser.change(OXUs er.java:290)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastSe rverRef.java:305)
    at sun.rmi.transport.Transport$1.run(Transport.java:1 59)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport. java:155)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages( TCPTransport.java:535)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandl er.run0(TCPTransport.java:790)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandl er.run(TCPTransport.java:649)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: 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(PlainSoc ketImpl.java:195)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.j ava:182)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.j ava:366)
    at java.net.Socket.connect(Socket.java:519)
    at java.net.Socket.connect(Socket.java:469)
    at com.sun.mail.util.SocketFetcher.createSocket(Socke tFetcher.java:232)
    at com.sun.mail.util.SocketFetcher.getSocket(SocketFe tcher.java:189)
    at com.sun.mail.iap.Protocol.<init>(Protocol.java:84)
    at com.sun.mail.imap.protocol.IMAPProtocol.<init>(IMA PProtocol.java:87)
    at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPSt ore.java:446)
    ... 20 more
    May 5, 2009 4:40:58 PM com.openexchange.admin.rmi.impl.OXUserIMAPImpl initImap
    SEVERE: javax.mail.MessagingException: Connection refused;
    nested exception is:
    java.net.ConnectException: Connection refused
    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.OXUserIMAPImpl.ini tImap(OXUserIMAPImpl.java:261)
    at com.openexchange.admin.rmi.impl.OXUserMailfilterIm pl.createSpamFilter(OXUserMailfilterImpl.java:841)
    at com.openexchange.admin.rmi.impl.OXUserMailfilterIm pl.changeimpl(OXUserMailfilterImpl.java:563)
    at com.openexchange.admin.rmi.impl.OXUserMailfilterIm pl.change(OXUserMailfilterImpl.java:171)
    at com.openexchange.admin.rmi.impl.OXUser.change(OXUs er.java:290)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastSe rverRef.java:305)
    at sun.rmi.transport.Transport$1.run(Transport.java:1 59)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport. java:155)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages( TCPTransport.java:535)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandl er.run0(TCPTransport.java:790)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandl er.run(TCPTransport.java:649)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
    May 5, 2009 4:40:58 PM com.openexchange.admin.rmi.impl.OXUserMailfilterIm pl change
    SEVERE: com.openexchange.admin.rmi.exceptions.OXUserIMAPEx ception: javax.mail.MessagingException: Connection refused;
    nested exception is:
    java.net.ConnectException: Connection refused
    May 5, 2009 4:40:58 PM com.openexchange.admin.rmi.impl.OXUser change
    SEVERE: Error while calling change for plugin: open_xchange_admin_plugin_mailfilter
    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.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastSe rverRef.java:305)
    at sun.rmi.transport.Transport$1.run(Transport.java:1 59)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport. java:155)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages( TCPTransport.java:535)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandl er.run0(TCPTransport.java:790)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandl er.run(TCPTransport.java:649)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
    May 5, 2009 4:40:58 PM sun.rmi.server.UnicastServerRef logCallException
    FINE: RMI TCP Connection(40)-127.0.0.2: [127.0.0.2] 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.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastSe rverRef.java:305)
    at sun.rmi.transport.Transport$1.run(Transport.java:1 59)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport. java:155)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages( TCPTransport.java:535)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandl er.run0(TCPTransport.java:790)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandl er.run(TCPTransport.java:649)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
    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)
    ... 14 more
    May 5, 2009 4:40:58 PM sun.rmi.transport.StreamRemoteCall getOutputStream
    FINER: RMI TCP Connection(40)-127.0.0.2: getting output stream

    Its Very strange because in the log show the first steps in the connection are successful but the connection are refused, thanks form Colombia for any help excusme for my bad english

  • #2
    Hi,

    can you tell us, what version you are using? From the log shown this seems to be a very old version, because the mailfilter module is located in the admin. Nowadays the mailfilter part is embedded in the groupware and is capable of more functions than the old part inside the admin.

    Nevertheless the problem seems to be, that the mail server cannot be reached. Thus a "Connection refused" comes from the imap part and the mailfilter part while trying to reach the server for configuration issues.

    Regards,

    Dennis

    Comment

    Working...
    X