Thursday, March 11, 2010

Send Email attachement not working in weblogic

you have configured SOA Suite with weblogic and have designed email notification but you are not able to get the mail.You are getting following error

Error while sending notification.
Error while sending notification.
Check the underlying exception and correct the error. Contact oracle support if error is not fixable.
oracle.bpel.services.notification.queue.sender.Publisher.send(Publisher.java:346)
oracle.bpel.services.notification.queue.sender.Publisher.sendTaskNotification(Publisher.java:136)
Caused by: ORABPEL-31003
Unable to initialize the queue connection factory for queye {0}.
Unable to initialize the queue connection factory for queye java:comp/env/jms/Queue/NotificationSenderQueueConnectionFactory.
Check the underlying exception and correct the error. Contact oracle support if error is not fixable.


Caused by: javax.jms.JMSException: [J2EE:160048]JNDI lookup of the JMS connection factory jms/Queue/NotificationSenderQueueConnectionFactory failed: javax.naming.NameNotFoundException: While trying to lookup 'jms.Queue/NotificationSenderQueueConnectionFactory' didn't find subcontext 'jms'. Resolved ''; remaining name 'jms/Queue/NotificationSenderQueueConnectionFactory'


The reason is

There was no target to the soaSubDeployment suggested to target to JMS server.

D:\Oracle\Middleware\user_projects\domains\soa_domain\config\config.xml

jms-system-resource>
SOAJMSModule
SOACoreDev

soaSubDeployment



just add the target name over there and restart your server.

No comments: