otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTMFAQ Tutorials

OTM SIG
MavenWire


SysAdmin and Management Managing and monitoring OTM / G-Log and other administrative activities.

Tags: , ,

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old July 3rd, 2008, 10:36
Junior Member
 
Join Date: Mar 2008
Location: Dortmund,Germany
Posts: 22
Thanks: 8
Thanked 4 Times in 4 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
svenhaul is on a distinguished road
How to debug SMTP communication?

Hi folks,

I currently have trouble with sending email. An agent is performing the NotifyContact action with a method of EMAIL. From the log file, everything looks fine, the agent performs, another action after NotifyContact also runs, so it should be perfect.

Nothing reaches the SMPT server, though.

I can reach the SMTP server from the OTM machine (verified the telnet way), I changed to another SMTP server (via setting glog.mail.smtp.host in glog.properties). The info page in OTM shows that these correct properties are used.

The target address specified in the contact used in the agent is correct (checked a million times and even created a new contact just to be sure).

Simply, OTM does not send the mail, but from the log files, everything claims to be fine.

Is there any way to trace the SMTP sending part in OTM? I set glog.mail.debug=true in glog.properties, but I do not see a difference, i.e. the log files I find on the machine look exactly as before.

I did restart OTM each time a changed a property in glog.properties.

Any ideas?

Thanks a lot,
Sven
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old July 3rd, 2008, 11:26
Junior Member
 
Join Date: Mar 2008
Location: Dortmund,Germany
Posts: 22
Thanks: 8
Thanked 4 Times in 4 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
svenhaul is on a distinguished road
Re: How to debug SMTP communication?

Update: I installed wireshark on the server machine and sniffed for any communication on port 25.

OTM does not even try to reach the SMTP server, although the agent log file says the action ran successfully.

Is there any place to simply test the mail function, comparable with the various "send interface transmission" menu choices?

Thanks,
Sven
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old July 3rd, 2008, 14:53
Senior Member and Blogger
 
Join Date: Nov 2007
Location: Drexel Hill, PA
Posts: 240
Thanks: 0
Thanked 35 Times in 35 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 2
nick.polites is on a distinguished road
Re: How to debug SMTP communication?

Well you can send a test email out via the QA servlet:

Open a Web browser to your OTM instance and tag the following to the end:

/GC3/glog.webserver.processcontrol.ProcessServlet?userL evel=qa


You will see a bunch of options to the left, select the one that says email. Fill out the to, from and a subject and send the message.


Just so you know, this servlet is not supported by Oracle so you won't be able to get any documentation or information about it.


__________________
MavenWire Hosting Admin
Over 7 years of OTM experience
The Oracle OTM / G-Log GC3 Experts
Offering Incubator and Production OTM instances
www.mavenwire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to nick.polites For This Useful Post:
svenhaul (July 3rd, 2008)
  #4 (permalink)  
Old July 4th, 2008, 10:12
Member
 
Join Date: Mar 2007
Location: Italy
Posts: 34
Thanks: 4
Thanked 6 Times in 6 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
Stefano is on a distinguished road
Send a message via MSN to Stefano Send a message via Skype™ to Stefano
Re: How to debug SMTP communication?

Hello svenhaul
a part techical reason related to configuration and SMTP server, that for sure could be a reason , I suggest to check, especially if U use an agent to permorm this action, if , in the moment that U send e-mail, information are STILL populated in OTM, because I had in the past a similar problem and I broke my brain looking for technincal stuff, but at the end , becuase I used NOTIFY INVOLVED PARTY action, I discovered that INVOLVED PARTIES CONTACT was'n populate when I use it, becauce was an another agent that populated these Involved party stuff.

Regards


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to Stefano For This Useful Post:
svenhaul (July 4th, 2008)
  #5 (permalink)  
Old August 12th, 2008, 11:43
Member
 
Join Date: Nov 2007
Location: Chennai, India
Posts: 76
Thanks: 8
Thanked 3 Times in 3 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 2
arunk is on a distinguished road
Re: How to debug SMTP communication?

Nick,

I have tried that servlet to send a test mail, since i have newly configured a exchange server in the glog.properties.

The thing is i couldn't find any email option listed in the menus.

Kindly advice....we are running on 5.5CU4. I have attached the screenshots of the menus.

Regds--
Arun
Attached Images
File Type: gif 1.GIF (9.4 KB, 7 views)
File Type: gif 2.GIF (8.6 KB, 5 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old August 12th, 2008, 11:58
Junior Member
 
Join Date: Mar 2008
Location: Dortmund,Germany
Posts: 22
Thanks: 8
Thanked 4 Times in 4 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
svenhaul is on a distinguished road
Re: How to debug SMTP communication?

Arun,
you probably forgot to append the user level parameter to the servlet URL. You get the full menu only with that parameter:
/GC3/glog.webserver.processcontrol.ProcessServlet?userLevel=qa
The menu choice is under "Notify / E-Mail" then.

Regards,
Sven
Attached Images
File Type: jpg send_email_from_qa_servlet.jpg (36.7 KB, 2 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to svenhaul For This Useful Post:
arunk (August 12th, 2008)
  #7 (permalink)  
Old August 12th, 2008, 12:13
Member
 
Join Date: Nov 2007
Location: Chennai, India
Posts: 76
Thanks: 8
Thanked 3 Times in 3 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 2
arunk is on a distinguished road
Re: How to debug SMTP communication?

Sven,

Thanks...i had missed out the user level.

Is it necessary that i should mention the same from address in the test mail, which i had configured in the glog.workflow.notify.advisor.email in properties file.

Iam not successful with sending test mails.

Since i could see in the administration guide it says, the glog.workflow.notify.advisor.email is the parameter that
defines the email address that email and fax notifications will appear to come from.

Regds--
Arun


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old August 12th, 2008, 12:17
Senior Member and Blogger
 
Join Date: Nov 2007
Location: Drexel Hill, PA
Posts: 240
Thanks: 0
Thanked 35 Times in 35 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 2
nick.polites is on a distinguished road
Re: How to debug SMTP communication?

No you can use any email address.
__________________
MavenWire Hosting Admin
Over 7 years of OTM experience
The Oracle OTM / G-Log GC3 Experts
Offering Incubator and Production OTM instances
www.mavenwire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old August 12th, 2008, 12:30
Junior Member
 
Join Date: Mar 2008
Location: Dortmund,Germany
Posts: 22
Thanks: 8
Thanked 4 Times in 4 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
svenhaul is on a distinguished road
Re: How to debug SMTP communication?

Arun,
you should check if OTM tries to send the email now. Either check the logs of your Exchange server, or have a look at the network communication.

The latter helped me a lot. To do this, install wireshark (www.wireshark.org) on your OTM machine and have it filter for SMTP communication. Then you can see what OTM tries to do.

A side note: The email address you use for trying should be valid on your exchange box. Many email servers allow only outgoing mail from known users. You might also need exchange configuration to allow your OTM box to send mail via SMTP.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old August 12th, 2008, 12:53
Member
 
Join Date: Nov 2007
Location: Chennai, India
Posts: 76
Thanks: 8
Thanked 3 Times in 3 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 2
arunk is on a distinguished road
Re: How to debug SMTP communication?

Sven,

I had made changes to the glog.mail.smtp.host and glog.workflow.notify.advisor.email in the glog.properties file and let you know the results once the server restart is done.

Regds--
Arun
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
TenderOffer XML for B2B Communication naveengupta4s Integration and Data Mapping 1 February 6th, 2008 18:48
[SOLVED] Testing SMTP mail relay via telnet chrisplough SysAdmin and Management 2 June 7th, 2007 14:43



All times are GMT. The time now is 03:11.
Copyright © 2008, Open Book Solutions LLC. All rights reserved.

Sponsored by MavenWire - MavenWire.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37