Manohar Paleti

My photo
Hyderabad, AP, India
Working as a BI Consultant, Served for various organizations as an OBIEE Developer by building the BI Solutions for Business Decision Making..

Wednesday, June 1, 2011

OBIEE 11g: Configure Oracle BI Scheduler E-Mail Settings

Hi Folks,

iBot _Mail Configuration for OBIEE 11g

Before sending dashboard reports as mailing contents in iBots we have to configure the mailing details.


We have to configure in two xml files.
1. instanceconfig.xml
2. biee-domain.xml

1. instanceconfig.xml
The instanceconfig.xml file will be located in the fallowing path
    BI installation Drive\instances\instance1\config\OracleBISchedulerComponent\ coreapplication_obisch1

The below screen shot gives the information about instanceconfig.xml before configuration



 Provide SMTP Server and Sender Details in xml file as specified below
 SMTP Server as smtp.emailsrvr.com under the tag localhost
Sender as obieemanu@gmail.com under the tag
      defaultuser@defaultmailserver.com


The below screen shot gives the information about instanceconfig.xml after configuration


2. biee-domain.xml
The biee-domain.xml file will be located in the fallowing path

      BI installation Drive\user_projects\domains\bifoundation_domain\config\fmwconfig
The below screen shot gives the information about biee-domain.xml before configuration


Provide smtpServerName and emailAddressOfSender in xml file as specified below

smtpServerName as smtp.emailsrvr.com
emailAddressOfSender as obieemanu@gmail.com
 The below screen shot gives the information about biee-domain.xml after configuration
After completion for configuring instanceconfig.xml and biee-domain.xml mails we have to deploy the mail details in Enterprise Manager under the link http://localhost:7001/em as below
Configure Email settings:

1. Login to Fusion Middleware Control Enterprise manager (http://yourservername:7001:/em) using Admin user credentials

2. Navigate to Mail tab (Business Intelligence > coreapplication > Deployment>Mail



3. Click Lock and Edit Configuration to enable changes to be made.


4. Complete the elements with the following information.
 

• SMTP Server – SMTP server of your email (e.g. mail.obieemanu.com)


• Port – Port of the SMTP server (e.g. 25)

• Display name of sender – Any name

• Email address of sender – Sender’s email address (e.g. manu@obieemanu.com

• Username – Same as the sender’s email (e.g. manu@obieemanu.com)

• Password – password of your email

• Confirm password – confirm the same password as above

• Number of retries upon failure – any number

• Maximum recipients

• Addressing method To, Blind Copy Recipient (Bcc) – if you want to receive a BCC, select it.

5. Click Apply, and then click Activate Changes.

6. Return to the Business Intelligence Overview page and click Restart.
Creating an Agent to send mails:

Since we are going to configure just to test the email settings we did in the above, we create this agent as simple as possible.

1.Login to OBIEE Web (http://yourservername:7001/analytics)

2.Click New in the Global header and then select Agent and Actionable Intelligence

3.In the Schedule tab and then select Once from the Frequency list box.


4. In the Delivery content tab, select the content you want to deliver clicking the Browse button.

5. In the Recipients tab, add emails (you can add external users mails as well) whom do you want to receive a mail with delivery content.
6. Save the agent and Run it. If it runs successfully recipient get the mail with pdf attachment (we selected pdf format in the Delivery content tab).



Thank You,

21 comments:

  1. Hi Manohar,

    I tried the steps u mentioned in this blog for email configuration. But I am receiving error as [nQSError: 75027] Failed to open connection to SMTP Server . I am using my companies SMTP server and my companies email id. When I have done the telnet to the smtp server, I do get response form it. Please let me know if any changes or SMTP server is not recognizing my OBI server.

    Waiting for your valuable comments...

    Thanks,
    Sreekar Suri.
    suriaslesha.sreekar@gmail.com

    ReplyDelete
  2. Sreekar,
    Please make sure the email id (user name) in smtp setup do exists and is valid one with the password you have mentioned over there..!!
    also make sure you have restarted all the services from EM.

    ReplyDelete
  3. Hi manohar,
    I'd defined email setting as you mentioned and I receieved error as

    [nQSError: 75005] Failed to send AUTH command. SMTP server does not support any authentication mechanisms. Remove email credentials, or use a server which supports authentication.

    My account and password correct, I defined email accounts on OBI server by Outlook express with same settings and I could send email

    I couldn't find any doc or solution
    Help me,
    Thks in advance

    Ayhan
    ayhan.yasar@ortamyazilim.com.tr

    ReplyDelete
  4. i have followed ur blog to set up smtp server to seend mail through obi delivers
    i have chosen GMX in the job manager scheduler mail tab
    sender address rakeshgopidi@gmax.com
    smtp server mail.gmx.com
    smtp port 25
    username rakeshgopidi@gmax.com
    pswrd:xxxxxxxx




    in the answers delivery options devices i have done add email device in the i have given address rakeshgopidi@gmail.com...
    what actually is wrong please help me am wasting lot of time on it

    note: am using for practice purpose not in real time scenario
    when i checked my log files in ibots folder


    +++ ThreadID: 2bf8 : 2012-02-07 14:10:42.875
    iBotID: /users/administrator/_ibots/rbot/rbot 2012
    [nQSError: 75003] Failed to open connection to SMTP Server.

    +++ ThreadID: 2bf8 : 2012-02-07 14:10:42.877
    iBotID: /users/administrator/_ibots/rbot/rbot 2012
    ...Trying SMTP Delivery loop again

    +++ ThreadID: 2bf8 : 2012-02-07 14:10:42.879
    ... Sleeping for 5 seconds.

    +++ ThreadID: 2bf8 : 2012-02-07 14:12:11.951
    iBotID: /users/administrator/_ibots/rbot/rbot 2012
    [nQSError: 75003] Failed to open connection to SMTP Server.

    +++ ThreadID: 2bf8 : 2012-02-07 14:12:11.953
    iBotID: /users/administrator/_ibots/rbot/rbot 2012
    ...Trying SMTP Delivery loop again

    +++ ThreadID: 2bf8 : 2012-02-07 14:12:11.955
    ... Sleeping for 8 seconds.

    +++ ThreadID: 2bf8 : 2012-02-07 14:13:44.005
    iBotID: /users/administrator/_ibots/rbot/rbot 2012
    [nQSError: 75003] Failed to open connection to SMTP Server.

    +++ ThreadID: 2bf8 : 2012-02-07 14:13:44.007
    iBotID: /users/administrator/_ibots/rbot/rbot 2012
    ...Trying SMTP Delivery loop again

    +++ ThreadID: 2bf8 : 2012-02-07 14:13:44.008
    ... Sleeping for 6 seconds.

    +++ ThreadID: 2bf8 : 2012-02-07 14:15:14.160
    iBotID: /users/administrator/_ibots/rbot/rbot 2012
    [nQSError: 75003] Failed to open connection to SMTP Server.

    +++ ThreadID: 2bf8 : 2012-02-07 14:15:14.162
    iBotID: /users/administrator/_ibots/rbot/rbot 2012
    Exceeded number of delivery retries.

    ReplyDelete
  5. I am also facing the same problem as Sreekar and rocky. Are we missing some step?

    ReplyDelete
  6. hi to the gr8tone can u plz clarify whether ur running obiee 11g/10g if ur using 11g then simply follow this

    http://123obi.com/2011/05/obiee-11g-configure-oracle-bi-scheduler-e-mail-settings/

    any further doubts u can reach me rockstar.rakesh@gmail.com

    ReplyDelete
  7. HI

    I have followed above steps and enabled Agents.
    I am sending the mails succesfully But i am receiving below error....

    No devices for user: XXXX

    Please suggest me if i missed anything

    Regards

    ReplyDelete
    Replies
    1. make sure the obiee 11g user has a valid email address in their profile in Console>SecurityRealm>User setup.

      Delete
  8. Hi

    I just refered u r steps but unable to send mail
    Error Message:

    Eventually succeeded, but encountered and resolved errors...
    Number of skipped recipients: 1 of 2

    AgentID: /shared/Test/11th_Aug_2012_ibots
    [nQSError: 75006] Failed to send MAIL command. 5.7.0 Must issue a STARTTLS command first. og7sm3586770pbb.62 AgentID: /shared/Test/11th_Aug_2012_ibots
    ...Trying SMTP Delivery loop again... Sleeping for 3 seconds. AgentID: /shared/Test/11th_Aug_2012_ibots
    [nQSError: 75006] Failed to send MAIL command. 5.7.0 Must issue a STARTTLS command first. vh7sm1639710pbc.22 AgentID: /shared/Test/11th_Aug_2012_ibots
    ...Trying SMTP Delivery loop again... Sleeping for 5 seconds. AgentID: /shared/Test/11th_Aug_2012_ibots
    [nQSError: 75006] Failed to send MAIL command. 5.7.0 Must issue a STARTTLS command first. ox5sm520646pbc.75 AgentID: /shared/Test/11th_Aug_2012_ibots
    ...Trying SMTP Delivery loop again... Sleeping for 8 seconds. AgentID: /shared/Test/11th_Aug_2012_ibots
    [nQSError: 75006] Failed to send MAIL command. 5.7.0 Must issue a STARTTLS command first. rd7sm3583269pbc.70 AgentID: /shared/Test/11th_Aug_2012_ibots
    Exceeded number of SMTP delivery.

    any idea how to resolve this issues
    Thanks
    Deva

    ReplyDelete
  9. Hi i have followed the steps but while running the agent i am getting the below error

    Eventually succeeded, but encountered and resolved errors...
    Number of skipped recipients: 3 of 4

    AgentID: /users/weblogic/test agent
    [nQSError: 75025] Handshake failed when connecting to SMTP server using SSL. AgentID: /users/weblogic/test agent
    ...Trying SMTP Delivery loop again... Sleeping for 3 seconds. AgentID: /users/weblogic/test agent
    [nQSError: 75025] Handshake failed when connecting to SMTP server using SSL. AgentID: /users/weblogic/test agent
    ...Trying SMTP Delivery loop again... Sleeping for 5 seconds. AgentID: /users/weblogic/test agent
    [nQSError: 75025] Handshake failed when connecting to SMTP server using SSL. AgentID: /users/weblogic/test agent
    ...Trying SMTP Delivery loop again... Sleeping for 8 seconds. AgentID: /users/weblogic/test agent
    [nQSError: 75025] Handshake failed when connecting to SMTP server using SSL. AgentID: /users/weblogic/test agent
    Exceeded number of SMTP delivery retries.

    Please help

    ReplyDelete
  10. Hi Manohar,thanks for posting this.I have a question/issue.If you solve it would be great for everyone.

    How to send a bi publisher report/ any obi report as email attachment based on user's country .Hope you will find answer soon.

    regards
    raghu
    bhavanthi@gmail.com

    ReplyDelete
  11. I want to send summary as an attachment and detail report as link(obiee link) in the same mail..is this possible?

    ReplyDelete
  12. Hi Is it possible to create two SMTP server?

    Regards
    Siva

    ReplyDelete
  13. I have a requirement where,, i need to burst certain reports into yahoomail and some reports into gmail. could you please guide me how to achieve this in two different server.

    Regards
    Siva

    ReplyDelete
    Replies
    1. Hi Siva,

      As one scheduler server can schedule the agents for one SMTP server at a time, if you have to configure multiple SMTP servers then its possible only when u create one more instance of the scheduler server.
      pls follow the Ritman's guidelines to create instance for a BI Components
      http://www.rittmanmead.com/2010/08/oracle-bi-ee-11g-vertical-clustering-fault-tolerance-multiple-bi-servers-in-a-box/

      Thanks, Manohar

      Delete
  14. I am creating agents in OBIEE 11g , but when I add recipients and save the agent then recipients are disappearing from the agents. any solution for this..?

    ReplyDelete
  15. Hi
    we are using OBIEE 11g.
    wanted to know is it possible to have To and cc while adding recipients in Agent

    ReplyDelete

  16. Really it was an awesome article… very interesting to read…
    Thanks for sharing.........

    obiee online training in hyderabad

    ReplyDelete