Seems like you hooked the imap protocol with your own implementation.

mailreaderservice.MailReader$1.run(MailReader.java:121)

If this is the case, you have to debug what's happening in this
mailreaderservice.

Can you share the configuration changes you made?


On 08/12/2014 05:54 PM, Girivaraprasad Nambari wrote:
> Hi Eric,
> 
> Thanks for responding. you are back, which is good news for James
> community.
> 
> That is the full stack track I got after enable imap.debug.
> 
> 
> *wrong password?wrongly cased password?*
> 
> I did couple of things to validate wrong password (or) wrong case password
> may not be the reason:
> 
> 1) Manually updated password with james-cli.bat
> 2) Reverse hashed Password from James users table and that is exact match
> with what user entering
> 
> Any other thoughts?
> 
> Thanks for your time and help!
> 
> 
> On Tue, Aug 12, 2014 at 11:45 AM, Eric Charles <e...@apache.org> wrote:
> 
>> wrong password?
>> wrongly cased password?
>> can you paste the rest of the stacktrace (if any)?
>>
>> On 08/12/2014 05:34 AM, Girivaraprasad Nambari wrote:
>>> Hi Team,
>>>
>>> Out of all users we have, only one user having authentication issue with
>>> following debug trace. Can someone please help me with how I can solve
>>> this? Thanks for your time and help!
>>>
>>> DEBUG: JavaMail version 1.4.7
>>> DEBUG: URL jar:file:/lib/imap.jar!/META-INF/javamail.providers
>>> DEBUG: successfully loaded resource:
>>> jar:file:/lib/imap.jar!/META-INF/javamail.providers
>>> DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
>>> DEBUG: Tables of loaded providers
>>> DEBUG: Providers Listed By Class Name:
>>>
>> {com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Oracle],
>>>
>> com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle],
>>>
>> com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Oracle],
>>>
>> com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Oracle],
>>>
>> com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Oracle],
>>>
>> com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Oracle]}
>>> DEBUG: Providers Listed By Protocol:
>>>
>> {imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Oracle],
>>> imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Oracle],
>>>
>> smtps=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Oracle],
>>> pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Oracle],
>>>
>> pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Oracle],
>>>
>> smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle]}
>>> DEBUG: successfully loaded resource:
>> /META-INF/javamail.default.address.map
>>> DEBUG: getProvider() returning
>>> javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Oracle]
>>> DEBUG IMAP: mail.imap.fetchsize: 16384
>>> DEBUG IMAP: mail.imap.ignorebodystructuresize: false
>>> DEBUG IMAP: mail.imap.statuscachetimeout: 1000
>>> DEBUG IMAP: mail.imap.appendbuffersize: -1
>>> DEBUG IMAP: mail.imap.minidletime: 10
>>> DEBUG IMAP: protocolConnect returning false, host=imap.mailserver.com,
>>> user=authorizeduser, password=<null>
>>> DEBUG IMAP: trying to connect to host "imap.mailserver.com", port 143,
>>> isSSL false
>>> * OK JAMES IMAP4rev1 Server  Server WIN-64F7SVGJL3I is ready.
>>> A0 CAPABILITY
>>> * CAPABILITY SASL-IR IDLE LITERAL+ AUTH=PLAIN CONDSTORE ESEARCH CHILDREN
>>> UIDPLUS UNSELECT WITHIN ENABLE I18NLEVEL=1 SEARCHRES IMAP4rev1 NAMESPACE
>>> QRESYNC
>>> A0 OK CAPABILITY completed.
>>> DEBUG IMAP: AUTH: PLAIN
>>> DEBUG IMAP: protocolConnect login, host=imap.mailserver.com, user=
>>> usern...@mailserver.com, password=<non-null>
>>> DEBUG IMAP: AUTHENTICATE PLAIN command trace suppressed
>>> DEBUG IMAP: AUTHENTICATE PLAIN command result: A1 NO AUTHENTICATE failed.
>>> Authentication failed.
>>> javax.mail.AuthenticationFailedException: AUTHENTICATE failed.
>>> Authentication failed.
>>>         at
>> com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:661)
>>>         at javax.mail.Service.connect(Service.java:317)
>>>         at javax.mail.Service.connect(Service.java:176)
>>>         at javax.mail.Service.connect(Service.java:125)
>>>         at mailreaderservice.MailReader$1.run(MailReader.java:121)
>>>         at
>>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>>>         at
>> java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
>>>         at
>>>
>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
>>>         at
>>>
>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
>>>         at
>>>
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>>>         at
>>>
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>>>         at java.lang.Thread.run(Thread.java:744)
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
>> For additional commands, e-mail: server-user-h...@james.apache.org
>>
>>
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org

Reply via email to