Author Topic: Email Server not connecting to Interaction Server  (Read 2673 times)

Offline vma

  • Full Member
  • ***
  • Posts: 235
  • Karma: 0
Email Server not connecting to Interaction Server
« on: March 05, 2010, 01:27:38 AM »
Hello again,
 I just realized that Email Server Java is not connecting to my Interaction Server. I can't find any RequestRegisterClient in logs even that both have eachother in Connections list. Is it anything else I should do?
They are both started! Email Server Java connects to my pop account and gets e-mails, URS is connecting to IxnServer, so they are both working but not talking to eachother.

Thank you,
Mihai

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 6821
  • Karma: 56331
Re: Email Server not connecting to Interaction Server
« Reply #1 on: March 05, 2010, 07:51:48 AM »
Logs?

Offline vma

  • Full Member
  • ***
  • Posts: 235
  • Karma: 0
Re: Email Server not connecting to Interaction Server
« Reply #2 on: March 05, 2010, 04:42:44 PM »
Can't attach logs, it sais folder is not writable.
So here they are on my own server: http://shanty.ro/genesys/

Thank you!

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1785
  • Karma: 57
Re: Email Server not connecting to Interaction Server
« Reply #3 on: March 05, 2010, 05:26:32 PM »
Hi,

I don't see in your Email Server Java log any attempt to submit new interaction into routing so there is no reason for ESJ to connect to Interaction Server. Let's send some email to the system and ESJ should connect to IxnServer then. If that fails provide us with new set of logs.

R.

Offline vma

  • Full Member
  • ***
  • Posts: 235
  • Karma: 0
Re: Email Server not connecting to Interaction Server
« Reply #4 on: March 05, 2010, 06:09:24 PM »
I sent an e-mail, see in logs:
Quote
08:22:19.937 Trc 21010 [MsgIn-2] <pop-client> Retrieving message # 1 with size -38 bytes.
08:22:19.937 Dbg 23038 [MsgIn-1] <pop-client> Retrieval session ended: 1 msg read, 0 msg stored, at throughput 0.00 msg/s.
08:22:19.937 Dbg 23005 [MsgIn-1] <pop-client> Inbound messaging client finished.
but after retriving the message nothing happens.
Why does it say 0 messages stored. shouldn't be stored in the data base?
« Last Edit: March 05, 2010, 07:03:57 PM by vma »

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1785
  • Karma: 57
Re: Email Server not connecting to Interaction Server
« Reply #5 on: March 05, 2010, 07:30:17 PM »
Hi,

Retrieve message doesn't seem to be valid email as reported size is -38 bytes. So ESJ doesn't process this message and doesn't store it to the database

Quote
08:22:19.937 Trc 21010 [MsgIn-2] <pop-client> Retrieving message # 1 with size -38 bytes.
08:22:19.937 Dbg 23038 [MsgIn-1] <pop-client> Retrieval session ended: 1 msg read, 0 msg stored, at throughput 0.00 msg/s.
08:22:19.937 Dbg 23005 [MsgIn-1] <pop-client> Inbound messaging client finished.
You can enable debug on corresponding pop-client to find out what kind of message it is.

R.

Genesys_New

  • Guest
Re: Email Server not connecting to Interaction Server
« Reply #6 on: March 05, 2010, 07:43:53 PM »
Hi,

Whenever a new mail comes to ESJ. It will store email information in UCS database.

Check whether UCS has a connection with UCS JDBC DAP.
 

Offline vma

  • Full Member
  • ***
  • Posts: 235
  • Karma: 0
Re: Email Server not connecting to Interaction Server
« Reply #7 on: March 05, 2010, 09:11:41 PM »
Problem solved, not entirely tho. It seems that it was not working becuase I was sending e-mails with no body. If I put some text in the body of the e-mail is working. Is this normal?

Thank you,
Mihai

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1785
  • Karma: 57
Re: Email Server not connecting to Interaction Server
« Reply #8 on: March 06, 2010, 05:45:44 PM »
Hi,

Your issue isn't caused by the fact that email's body is empty but because mail server reports negative size of the message

Quote
08:22:19.937 Trc 21010 [MsgIn-2] <pop-client> Retrieving message # 1 with size -38 bytes.
By default, ESJ doesn't retrieve messages with negative size and keep them on mail server. If you want ESJ to retrieve even these messages you must change value of the option "allow-bad-msg-size" in corresponding pop-client section to "true".

R.