Monday, September 06, 2010

How to use Axigen Mail server for SOA11g Notification and Approval in Workflow Testing

1) Install the Axigen fro the http://www.axigen.com ( you can try another free one http://www.hmailserver.com/)

2) if you are using WindowsXP start the wizard as runas and after the services are configured change the “Axigen Mail Server” to Logon as specific OS user account.

Start the Wizard:

image

Provide admin user  password

image

Provide your sample email domain server

image

Configure Services: Note: use localhost ip or static ip for access from other machine

image

After the service is configured goto Weadmin URL say http:127.0.0.1:9000/  and configure other  details

Like adding users achrist and abavera to your email server domain and enabling SSL for IMAP/SMTP services etc…

If webadmin not working enable it manually by searching webadmin in axigen.cfg file.

If any problem you can check manually axigen.cfg file.

For test purpose change all the certfile=”none”  caFile = "none" and dhParamFile = "none"

 

3) Now goto EM-Security Realm-> You specific user whom tasks will be assigned->Change the email attribute to proper email id here for eg:  abavera@dogmatixmail.org

4) Now, goto EM Console->Right click on SOA-Infra->SOA Administration->Worklflow Notification Properties

Notification Mode: Email,

From Address:            achrist@dogmatixmail.org 
Actionable Address:    achrist@dogmatixmail.org
Reply to Address:        NoReply@oracle.com

 

5)Go to the Messaging Driver page

Configure UserMessaging Email Server driver:

The changes done here goes to

/oracle/Fusion11g/Middleware/user_projects/domains/soa_domain1//config/fmwconfig/servers/soa_server1/applications/usermessagingdriver-email/configuration/driverconfig.xml

image

Now, configure mail client say Outlook for user abavera with your example email server domain to receive and approve the workflow request.

Troubleshoot:

In the incoming mail id make sure you are using the domain name also, if the
domain name is part of userid.
First thing to check whether the email server configuration is proper is test
the mail by sending and receiving using any client eg: outlook
Now, if this is working then goto EM->Usermessaging and check the Message
Latency graph. if the graph is not receiving or sending then the line will be
straight line. You should monitor it as soon as you approve the request from
mail.
Further debugging info to get:
1) Right click on SOA in EM and goto Logs->LOG Configuration
   Enable Finest 32 Trace to
  oracle.sdp, oracle.soa.services.notification and
oracle.soa.services.workflow
  Upload the soa Server log.


2) In the UserMessaging Server in EM for Email Driver configuration enable
DEBUG and monitor console

 

Reference:

http://download.oracle.com/docs/cd/E14571_01/integration.1111/e10226/ns_config.htm#SOAAG37120

Custom Search

Sudoku Puzzles