You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airavata.apache.org by "Kotabagi, Karan" <kk...@iu.edu> on 2018/10/06 18:40:04 UTC
Airavata Email Monitor Error
Hi Dev,
In the airavata centos image, the email-monitor log of the helix is being spammed with the following error message and the centos image is getting full.
2018-10-06 11:40:33,362 [Thread-1] ERROR o.a.a.m.e.EmailBasedMonitor - [EJM]: Caught a throwable while closing email store
java.lang.NullPointerException: null
at org.apache.airavata.monitor.email.EmailBasedMonitor.run(EmailBasedMonitor.java:220)
at java.lang.Thread.run(Thread.java:748)
2018-10-06 11:40:33,362 [Thread-1] ERROR o.a.a.m.e.EmailBasedMonitor - [EJM]: Couldn't connect to the store
javax.mail.MessagingException: imap.gmail.com
at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:670)
at javax.mail.Service.connect(Service.java:295)
at javax.mail.Service.connect(Service.java:176)
at org.apache.airavata.monitor.email.EmailBasedMonitor.run(EmailBasedMonitor.java:174)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.UnknownHostException: imap.gmail.com
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at java.net.Socket.connect(Socket.java:538)
at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:319)
at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:233)
at com.sun.mail.iap.Protocol.<init>(Protocol.java:113)
at com.sun.mail.imap.protocol.IMAPProtocol.<init>(IMAPProtocol.java:111)
at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:637)
... 4 common frames omitted
2018-10-06 11:40:33,362 [Thread-1] ERROR o.a.a.m.e.EmailBasedMonitor - [EJM]: Caught a throwable while closing email store
java.lang.NullPointerException: null
at org.apache.airavata.monitor.email.EmailBasedMonitor.run(EmailBasedMonitor.java:220)
at java.lang.Thread.run(Thread.java:748)
2018-10-06 11:40:33,362 [Thread-1] ERROR o.a.a.m.e.EmailBasedMonitor - [EJM]: Couldn't connect to the store
javax.mail.MessagingException: imap.gmail.com
at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:670)
at javax.mail.Service.connect(Service.java:295)
at javax.mail.Service.connect(Service.java:176)
Please advise if there are any of the solutions to resolve the same.
Regards
Karan?
Re: Airavata Email Monitor Error
Posted by "Kotabagi, Karan" <kk...@iu.edu>.
Hi Dimuthu,
I have checked the credentials and they are correct.
Regards
Karan
________________________________
From: DImuthu Upeksha <di...@gmail.com>
Sent: Saturday, October 6, 2018 3:46 PM
To: Airavata Dev
Subject: Re: Airavata Email Monitor Error
Hi Karan,
Can you check whether the email credentials that you have provided are correct in conf/airavata-server.properties file?
Thanks
Dimuthu
On Sat, Oct 6, 2018 at 2:40 PM Kotabagi, Karan <kk...@iu.edu>> wrote:
Hi Dev,
In the airavata centos image, the email-monitor log of the helix is being spammed with the following error message and the centos image is getting full.
2018-10-06 11:40:33,362 [Thread-1] ERROR o.a.a.m.e.EmailBasedMonitor - [EJM]: Caught a throwable while closing email store
java.lang.NullPointerException: null
at org.apache.airavata.monitor.email.EmailBasedMonitor.run(EmailBasedMonitor.java:220)
at java.lang.Thread.run(Thread.java:748)
2018-10-06 11:40:33,362 [Thread-1] ERROR o.a.a.m.e.EmailBasedMonitor - [EJM]: Couldn't connect to the store
javax.mail.MessagingException: imap.gmail.com<http://imap.gmail.com>
at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:670)
at javax.mail.Service.connect(Service.java:295)
at javax.mail.Service.connect(Service.java:176)
at org.apache.airavata.monitor.email.EmailBasedMonitor.run(EmailBasedMonitor.java:174)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.UnknownHostException: imap.gmail.com<http://imap.gmail.com>
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at java.net.Socket.connect(Socket.java:538)
at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:319)
at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:233)
at com.sun.mail.iap.Protocol.<init>(Protocol.java:113)
at com.sun.mail.imap.protocol.IMAPProtocol.<init>(IMAPProtocol.java:111)
at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:637)
... 4 common frames omitted
2018-10-06 11:40:33,362 [Thread-1] ERROR o.a.a.m.e.EmailBasedMonitor - [EJM]: Caught a throwable while closing email store
java.lang.NullPointerException: null
at org.apache.airavata.monitor.email.EmailBasedMonitor.run(EmailBasedMonitor.java:220)
at java.lang.Thread.run(Thread.java:748)
2018-10-06 11:40:33,362 [Thread-1] ERROR o.a.a.m.e.EmailBasedMonitor - [EJM]: Couldn't connect to the store
javax.mail.MessagingException: imap.gmail.com<http://imap.gmail.com>
at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:670)
at javax.mail.Service.connect(Service.java:295)
at javax.mail.Service.connect(Service.java:176)
Please advise if there are any of the solutions to resolve the same.
Regards
Karan?
Re: Airavata Email Monitor Error
Posted by DImuthu Upeksha <di...@gmail.com>.
Hi Karan,
Can you check whether the email credentials that you have provided are
correct in conf/airavata-server.properties file?
Thanks
Dimuthu
On Sat, Oct 6, 2018 at 2:40 PM Kotabagi, Karan <kk...@iu.edu> wrote:
> Hi Dev,
>
>
> In the airavata centos image, the email-monitor log of the helix is being
> spammed with the following error message and the centos image is getting
> full.
>
>
> 2018-10-06 11:40:33,362 [Thread-1] ERROR o.a.a.m.e.EmailBasedMonitor -
> [EJM]: Caught a throwable while closing email store
> java.lang.NullPointerException: null
> at
> org.apache.airavata.monitor.email.EmailBasedMonitor.run(EmailBasedMonitor.java:220)
> at java.lang.Thread.run(Thread.java:748)
> 2018-10-06 11:40:33,362 [Thread-1] ERROR o.a.a.m.e.EmailBasedMonitor -
> [EJM]: Couldn't connect to the store
> javax.mail.MessagingException: imap.gmail.com
> at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:670)
> at javax.mail.Service.connect(Service.java:295)
> at javax.mail.Service.connect(Service.java:176)
> at
> org.apache.airavata.monitor.email.EmailBasedMonitor.run(EmailBasedMonitor.java:174)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: java.net.UnknownHostException: imap.gmail.com
> at
> java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
> at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
> at java.net.Socket.connect(Socket.java:589)
> at java.net.Socket.connect(Socket.java:538)
> at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:319)
> at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:233)
> at com.sun.mail.iap.Protocol.<init>(Protocol.java:113)
> at com.sun.mail.imap.protocol.IMAPProtocol.<init>(IMAPProtocol.java:111)
> at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:637)
> ... 4 common frames omitted
> 2018-10-06 11:40:33,362 [Thread-1] ERROR o.a.a.m.e.EmailBasedMonitor -
> [EJM]: Caught a throwable while closing email store
> java.lang.NullPointerException: null
> at
> org.apache.airavata.monitor.email.EmailBasedMonitor.run(EmailBasedMonitor.java:220)
> at java.lang.Thread.run(Thread.java:748)
> 2018-10-06 11:40:33,362 [Thread-1] ERROR o.a.a.m.e.EmailBasedMonitor -
> [EJM]: Couldn't connect to the store
> javax.mail.MessagingException: imap.gmail.com
> at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:670)
> at javax.mail.Service.connect(Service.java:295)
> at javax.mail.Service.connect(Service.java:176)
>
>
> Please advise if there are any of the solutions to resolve the same.
>
>
> Regards
>
> Karan​
>