Visit the Below Website to access unlimited exam questions for all IT vendors and Get Oracle Certifications for FREE
http://www.free-online-exams.com
http://www.free-online-exams.com
Problem: Unable to send emails from BPEL in SOA 10.1.3.4
Symptoms:
BPEL is not able to sent the notification mails
The configuration file ns_emails.xml must contains at least two entries of type:
1. The default one.
A default e-mail account is specified in the e-mail configuration file. This account is
used when there is no account specified to which to send an e-mail notification. This
account is also used for task-related notifications. A default e-mail account must
always be specified in the configuration file.
2. The user email account.
Which contains the parameters required for the final user email.
Log files:
ns_email.xml.
EmailAccount>
IT_MAIL
Oracle BPM
mail_address
smtpip
25
server
25
imap
mail_address
password
false
Inbox
100
Solution:
1. Using an email client application check the the Account Settings for the email account that is required to be the notification sender. For example:
Account Name : John.Smith
Email Address : John.Smith@company.com
Outgoing Server: EMAIL_SERVER.company.com
Outgoing Server port: 25
Outgoing Server protocol: SMTP
Incomming Server Name: EMAIL_SERVER@company.com
Incomming Port : 110
Server Type : IMAP
User Name: John.Smith
2. Edit the middle tier file $MIDTIER_HOME/bpel/system/services/config/ns_emails.xml and setup as indicated below:
a) Change the NotificationMode to EMAIL:
b) Define the parameters for the default account, for example:
default
BPEL Administrator
administrator@.company.com
EMAIL_SERVER.company.com
25
EMAIL_SERVER.company.com
110
IMAP
administrator
'email account password here'
false
Inbox
1
c) Define the parameters for the additional email account by appending the file ns_emails.xml with an additional structure. For example:
John.Smith
BPEL Process Notificator
john.smith@company.com
EMAIL_SERVER.company.com
25
EMAIL_SERVER.company.com
110
imap
John.Smith
'John's email password'
false
Inbox
1
NOTE: Do not forget to include the password for the email account.
d) Once finished the setup, the ns_emails.xml configuration file should have an structure like below:
default email setup here......
Other email user setup here....
3. Save the file with the changes.
4. Using Jdeveloper open your BPEL process and double click in your EMAIL activity. Fill the Email parameters according with your own data. In this example, the Email activity Dialog screen should be filled as follow:
a ) From Account: John.Smith
Notice that this entry must match the entry in the ns_emails.xml file for
the non default email account setup.
b) "To:" must be filled with the target email address.
c) Include at lest the eMail subject and body text.
5. Save the changes for the whole project.
6. Deploy again the BPEL process to contain the recent modifications.
7. Run the process from the BPEL console. This time you will receive your email. The Email sender will be identified by the string contained in the tag. In the example this name is "BPEL Process Notificator".
8. Have the email recipient create an email messaging channel under User Messaging Preferences to identify the email address.
http://:/sdpmessaging/userprefs-ui
For more details:
http://download.oracle.com/docs/cd/E15523_01/doc.1111/e13807/app_ns_applications.htm#CAXMGGIE
OR
Simply use the Email activity in the BPEL process to send directly to the recipient's email address.
9. If the above do not help, Apply MLR #10 and retest.
10. The correct configuration setting is
Default
Your Name
*Your Email: ***@***.com*
*mail.***.com*
25
*mail.***.com*
993
IMAP
***@***.com
***
true
Inbox
1
also
Add the following property to wf_config.xml (in SOA_HOME\bpel\system\services\config directory):
Then the BPEL server will send notification every 1 minute. More detail about this configuration to see http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/notif.htm#sthref1678 (14.2.1 Reliable Notification Service).
3. Re-start all SOA Suite services. (opmnctl startall)
After the BPEL process invoke any E-mail notification activity and if we can’t receive any E-mail notification, we need to check the BPELNOTIFICATION table (ORABPEL database schema). And delete any error data in this table, then correct the E-mail notification setting through above steps and re-start all SOA Suite services.
References:
Note ID 468644.1, Not Able To Send Email From The BPEL Process.
Note ID 1087642.1 Email Not Received Using Email Notification from BPEL
Symptoms:
BPEL is not able to sent the notification mails
The configuration file ns_emails.xml must contains at least two entries of type
1. The default one.
A default e-mail account is specified in the e-mail configuration file. This account is
used when there is no account specified to which to send an e-mail notification. This
account is also used for task-related notifications. A default e-mail account must
always be specified in the configuration file.
2. The user email account.
Which contains the parameters required for the final user email.
Log files:
ns_email.xml.
EmailAccount>
Solution:
1. Using an email client application check the the Account Settings for the email account that is required to be the notification sender. For example:
Account Name : John.Smith
Email Address : John.Smith@company.com
Outgoing Server: EMAIL_SERVER.company.com
Outgoing Server port: 25
Outgoing Server protocol: SMTP
Incomming Server Name: EMAIL_SERVER@company.com
Incomming Port : 110
Server Type : IMAP
User Name: John.Smith
2. Edit the middle tier file $MIDTIER_HOME/bpel/system/services/config/ns_emails.xml and setup as indicated below:
a) Change the NotificationMode to EMAIL:
b) Define the parameters for the default account, for example:
c) Define the parameters for the additional email account by appending the file ns_emails.xml with an additional
NOTE: Do not forget to include the password for the email account.
d) Once finished the setup, the ns_emails.xml configuration file should have an structure like below:
default email setup here......
Other email user setup here....
3. Save the file with the changes.
4. Using Jdeveloper open your BPEL process and double click in your EMAIL activity. Fill the Email parameters according with your own data. In this example, the Email activity Dialog screen should be filled as follow:
a ) From Account: John.Smith
Notice that this entry must match the entry in the ns_emails.xml file for
the non default email account setup.
b) "To:" must be filled with the target email address.
c) Include at lest the eMail subject and body text.
5. Save the changes for the whole project.
6. Deploy again the BPEL process to contain the recent modifications.
7. Run the process from the BPEL console. This time you will receive your email. The Email sender will be identified by the string contained in the tag. In the example this name is "BPEL Process Notificator".
8. Have the email recipient create an email messaging channel under User Messaging Preferences to identify the email address.
http://:/sdpmessaging/userprefs-ui
For more details:
http://download.oracle.com/docs/cd/E15523_01/doc.1111/e13807/app_ns_applications.htm#CAXMGGIE
OR
Simply use the Email activity in the BPEL process to send directly to the recipient's email address.
9. If the above do not help, Apply MLR #10 and retest.
10. The correct configuration setting is
also
Add the following property to wf_config.xml (in SOA_HOME\bpel\system\services\config directory):
Then the BPEL server will send notification every 1 minute. More detail about this configuration to see http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/notif.htm#sthref1678 (14.2.1 Reliable Notification Service).
3. Re-start all SOA Suite services. (opmnctl startall)
After the BPEL process invoke any E-mail notification activity and if we can’t receive any E-mail notification, we need to check the BPELNOTIFICATION table (ORABPEL database schema). And delete any error data in this table, then correct the E-mail notification setting through above steps and re-start all SOA Suite services.
References:
Note ID 468644.1, Not Able To Send Email From The BPEL Process.
Note ID 1087642.1 Email Not Received Using Email Notification from BPEL
6 comments:
Great blog here! Also your web site loads up fast!
What web host are you using? Can I get your affiliate link to your host?
I wish my web site loaded up as quickly as yours lol
Also visit my page hemorrhoid treatments
Great blog here! Also your web site loads up fast!
What web host are you using? Can I get your affiliate
link to your host? I wish my web site loaded up as
quickly as yours lol
my web site :: hemorrhoid treatments
generic xanax what do xanax pills look like - generic xanax walmart
buy tramadol online tramadol online overnight saturday delivery - cheap tramadol online no prescription
buy tramadol online many 50mg tramadol overdose - order tramadol online no prescription
buy tramadol cod cheap tramadol free shipping - buy tramadol hcl
Post a Comment