Email error
590669Apr 29 2008 — edited Jul 31 2008Hi I'm trying with the E-mail Activity and the configurations i did in ns_emails. xml are below :
<EmailAccounts xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService"
EmailMimeCharset=""
NotificationMode="EMAIL">
<EmailAccount>
<Name>Default</Name>
<GeneralSettings>
<FromName>PavanGarina</FromName>
<FromAddress>pgarina@softrax.com</FromAddress>
</GeneralSettings>
<OutgoingServerSettings>
<SMTPHost>stxexg01.softrax.com</SMTPHost>
<SMTPPort>192.168.2.32</SMTPPort>
</OutgoingServerSettings>
<IncomingServerSettings>
<Server>yourdomain.com</Server>
<Port>110</Port>
<Protocol>pop3</Protocol>
<UserName>accountId</UserName>
<Password ns0:encrypted="false" xmlns:ns0="http://xmlns.oracle.com/ias/pcbpel/NotificationService">password</Password>
<UseSSL>false</UseSSL>
<Folder>Inbox</Folder>
<PollingFrequency>1</PollingFrequency>
<PostReadOperation>
<MarkAsRead/>
</PostReadOperation>
</IncomingServerSettings>
</EmailAccount>
<!--EmailAccount>
<Name>TaskServiceReceiving</Name>
<GeneralSettings>
<FromName>Oracle BPM</FromName>
<FromAddress>accountId@yourdomain.com</FromAddress>
</GeneralSettings>
<OutgoingServerSettings>
<SMTPHost>yourdomain.com</SMTPHost>
<SMTPPort>25</SMTPPort>
</OutgoingServerSettings>
<IncomingServerSettings>
<Server>yourdomain.com</Server>
<Port>110</Port>
<Protocol>pop3</Protocol>
<UserName>accountId</UserName>
<Password ns0:encrypted="false" xmlns:ns0="http://xmlns.oracle.com/ias/pcbpel/NotificationService">password</Password>
<UseSSL>false</UseSSL>
<Folder>Inbox</Folder>
<PollingFrequency>1</PollingFrequency>
<PostReadOperation>
<MarkAsRead/>
</PostReadOperation>
</IncomingServerSettings>
</EmailAccount-->
</EmailAccounts>
which i feel are correct and after configuring i added the Email Activity and configured it to Default for From ACCOUNTactivity and sent to e-mails for my ID itself: To:pgarina@softrax.com
Before executing this i stopped the server and restarted it to reflect the changes made in ns_emails.xml.
But i dint receive any mails and and when i checked the log file(C:\product\10.1.3.1\OracleAS_1\opmn\logs ) the meesage i see in
is :
<2008-04-29 16:54:35,569> <INFO> <default.collaxa.cube.services> <Utils::initNotificationMode> Notification via voice, fax, SMS, IM or pager will be sent. Emails will be sent with the current settings. If you would like to enable them, please configure accounts in ns_iaswconfig.xml and then set the NotificationMode attribute in ns_emails.xml to either NONE, EMAIL or ALL.
08/04/29 16:54:58 BPEL-10327
From Account is not configured.
From account Default is not configured.
08/04/29 16:54:58 at oracle.tip.pc.services.notification.NotificationServiceImpl.getEmailAccount(NotificationServiceImpl.java:256)
08/04/29 16:54:58 at oracle.tip.pc.services.notification.NotificationServiceImpl.getEmailAccountToUse(NotificationServiceImpl.java:239)
08/04/29 16:54:58 at oracle.tip.pc.services.notification.DefaultNotificationServiceImpl.sendEmailNotification(DefaultNotificationServiceImpl.java:249)
08/04/29 16:54:58 at oracle.tip.pc.services.notification.NotificationServiceImpl.sendEmailNotification(NotificationServiceImpl.java:271)
08/04/29 16:54:58 at oracle.bpel.services.notification.queue.sender.MDBConsumer.deliverNotification(MDBConsumer.java:256)
08/04/29 16:54:58 at oracle.bpel.services.notification.queue.sender.MDBConsumer.onMessage(MDBConsumer.java:137)
08/04/29 16:54:58 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
08/04/29 16:54:58 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
08/04/29 16:54:58 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
08/04/29 16:54:58 at java.lang.reflect.Method.invoke(Method.java:585)
08/04/29 16:54:58 at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
08/04/29 16:54:58 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
08/04/29 16:54:58 at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
08/04/29 16:54:58 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
08/04/29 16:54:58 at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
08/04/29 16:54:58 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
08/04/29 16:54:58 at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
08/04/29 16:54:58 at com.evermind.server.ejb.MessageDrivenConsumer.onMessage(MessageDrivenConsumer.java:346)
08/04/29 16:54:58 at com.evermind.server.ejb.MessageDrivenConsumer.processMessages(MessageDrivenConsumer.java:232)
08/04/29 16:54:58 at com.evermind.server.ejb.MessageDrivenConsume
Can any body suggest what is the mistake?
Pavan