" /> Java Email Server error - Genesys CTI User Forum

Author Topic: Java Email Server error  (Read 6756 times)

Offline Ansh

  • Newbie
  • *
  • Posts: 28
  • Karma: 0
Java Email Server error
« on: February 09, 2009, 09:53:55 AM »
Advertisement
Hi,

Please have a look at the logs from my JES:

02/09/09 03:24:54.406  Trace  igate123  E-MailServer  GCTI-64-21315  Opening connection to MS TServer.
02/09/09 03:24:54.437  Trace  igate123  E-MailServer  GCTI-64-21310  Connected to MS TServer.
02/09/09 03:24:54.437  Trace  igate123  E-MailServer  GCTI-64-21310  Connected to MS TServer.
02/09/09 03:24:54.437  Trace  igate123  E-MailServer  GCTI-64-21057  Resubmitting failed review messages.
02/09/09 03:24:54.437  Standard  igate123  E-MailServer  GCTI-64-20202  Unexpected error
02/09/09 03:24:54.437  Trace  igate123  E-MailServer  GCTI-64-21005  <<<<<<<<<< End 'ExtAgentSender' Event Handler
02/09/09 03:24:54.437  Standard  igate123  E-MailServer  GCTI-64-20202  Unexpected error
02/09/09 03:24:54.437  Trace  igate123  E-MailServer  GCTI-64-21005  <<<<<<<<<< End 'EmoutMain' Event Handler
02/09/09 03:24:54.437  Trace  igate123  E-MailServer  GCTI-64-21004  >>>>>>>>>> Begin 'SendLoopback' Event Handler
02/09/09 03:24:54.437  Standard  igate123  E-MailServer  GCTI-64-20202  Unexpected error
02/09/09 03:24:54.437  Trace  igate123  E-MailServer  GCTI-64-21005  <<<<<<<<<< End 'SendLoopback' Event Handler
02/09/09 03:24:54.578  Trace  igate123  E-MailServer  GCTI-64-21007  Firing Outbound event 'EmoutEndOfSendCycle'
02/09/09 03:24:54.578  Trace  igate123  E-MailServer  GCTI-64-21005  <<<<<<<<<< End 'DoAllSendActions' Event Handler
02/09/09 03:24:55.234  Trace  igate123  E-MailServer  GCTI-64-21006  Firing Inbound event 'RunInboundCycle'.
02/09/09 03:24:55.250  Trace  igate123  E-MailServer  GCTI-64-21004  >>>>>>>>>> Begin 'RunInboundCycle' Event Handler
02/09/09 03:24:55.265  Trace  igate123  E-MailServer  GCTI-64-21044  Processing 0 .msg files from 'mail/inbound\'.
02/09/09 03:24:55.265  Trace  igate123  E-MailServer  GCTI-64-21005  <<<<<<<<<< End 'RunInboundCycle' Event Handler
02/09/09 03:24:59.843  Standard  igate123  E-MailServer  GCTI-64-20015  JavaMail Exception

Please advice on this. I am using yahoo pop3 for testing on network outside my office.

pop.mail.yahoo.com, with ssl enabled and port 995

Thanks,
Ansh

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: Java Email Server error
« Reply #1 on: February 09, 2009, 10:08:55 AM »
Ansh,

Please enable debug level on ESJ and post debug log here. It's very hard to say what is wrong using standard/trace level.

R.

Offline Ansh

  • Newbie
  • *
  • Posts: 28
  • Karma: 0
Re: Java Email Server error
« Reply #2 on: February 09, 2009, 10:30:01 AM »
Hi R,

I have the trace level to all, and i guess it will have all the information even which debug won't have.

Please suggest.

Thanks,
Ansh

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: Java Email Server error
« Reply #3 on: February 09, 2009, 10:38:38 AM »
Hi Ansh,

What version of ESJ you have?

Please try to enable debug log in POP client section -see option "enable-debug".

René

Offline Ansh

  • Newbie
  • *
  • Posts: 28
  • Karma: 0
Re: Java Email Server error
« Reply #4 on: February 10, 2009, 09:36:13 AM »
Hi R,

I am using 6.5.112.00 version. I made the changes you suggested but didn't get any different information in ESJ Logs.

While In console i can see some more info. Attached is the screen shot.


Thanks,
Ansh

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: Java Email Server error
« Reply #5 on: February 10, 2009, 10:01:10 AM »
Hi Ansh,

It still isn't sufficient as we don't see full text of JavaMail exception (last line of your log/console screenshot). That exception should tell us where the problem is.

You haven't mentioned used version of ESJ and I expected release 7.x. In case you have ESJ 6.5 there are different options that have to be added/modified to enable debug logging:

- section "Log" - add new key "log4j.debug" with value "true"
- section "POP client" - add new key "Debug" (if not exists) and set value to "true"

René

Offline Ansh

  • Newbie
  • *
  • Posts: 28
  • Karma: 0
Re: Java Email Server error
« Reply #6 on: February 10, 2009, 10:40:44 AM »
Hi René,

Thanks for the help. I mentioned in my earlier reply that i am using 6.5x. I made the suggested changes and still i am not getting anything in the logs but console has more information now. Please see the screenshots.

Thanks and regards,
Ansh

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: Java Email Server error
« Reply #7 on: February 10, 2009, 10:49:32 AM »
Hi Ansh,

Yes, it looks better... I see in the log that ESJ is able to contact Yahoo mail server but the response from mail server consists of non-ASCII characters. Have you enabled SSL support on ESJ? Please check section "POP client", option "SSL" is set to "true".

R.

Offline Ansh

  • Newbie
  • *
  • Posts: 28
  • Karma: 0
Re: Java Email Server error
« Reply #8 on: February 10, 2009, 11:12:51 AM »
Yes R. I have SSl as true.

Thanks,
Ansh

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: Java Email Server error
« Reply #9 on: February 10, 2009, 11:39:08 AM »
Something is wrong with the configuration as ESJ doesn't use SSL when connecting to Yahoo mail server. I see on the screenshot that used Java class is "com.sun.mail.pop3.POP3Store" = standard POP3 client. It has to be "com.sun.mail.POP3SSLStore" for SSL enabled client.

Could you export ESJ options and post it here?

R.

Offline Ansh

  • Newbie
  • *
  • Posts: 28
  • Karma: 0
Re: Java Email Server error
« Reply #10 on: February 10, 2009, 06:03:53 PM »
Hi R,

Here are the export of ESJ Options. I just changed the password for my mailbox in options  ;D

Thanks,
Ansh

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: Java Email Server error
« Reply #11 on: February 10, 2009, 08:17:05 PM »
Hi,

I haven't found any issue in the options. The question is why ESJ doesn't use correct Java class for connection to Yahoo mail server. Could you try to upgrade to newer ESJ 6.5 release? Version 6.5.112.00 is about 6 years old...

R.


Offline Ansh

  • Newbie
  • *
  • Posts: 28
  • Karma: 0
Re: Java Email Server error
« Reply #12 on: February 11, 2009, 07:11:35 PM »
Hi R,

The never versions which i have is in MCR. The most latest which i could get was 7.6.
Will that work? I believe genesys released MCR after ICS 6.5. Please correct me if i am wrong.

Thanks,
Ansh

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: Java Email Server error
« Reply #13 on: February 12, 2009, 09:35:39 AM »
Hi,

Originally, I thought about upgrade to newer release of Email Server Java 6.5 as you have one of first version (6.5.112.00). You can't use Email Server Java 7.x with ICS 6.5!

Personally, I would recommend you migration to Multimedia (MCR) 7.6 as it brings lot of new features and possibilities. However, MCR is totally different of ICS in the way of routing, comes with new communication protocols between servers and requires new agent desktop application as well. And it isn't backward compatible with ICS 6.5! If you're starting new project where you need handling of multimedia (email) interaction then Multimedia is the right way. Otherwise, stay with ICS 6.5 and try to find why ESJ doesn't use SSL even configured to do so.

R.