Monday 6 January 2014

How to "Turn Off EDN" & "Turn On EDN" if its not using in a SOA deployment

Hi  Folks ,

Now we gonna learn how to turn off/on EDN in SOA Environment.

1.Open the EM console.
2.Navigate to System MBean Browser-> MBeam Application-> Application Defined MBeans ->oracle.as.soainfra.config -> SOA Server-> EDN Config ->edn

and set the paused attribute to "True".
If true, EDN listener/poller threads are decreased to 0 which effectively stops delivering events.
Works for EDN-DB and EDN-JMS.
If you would like to do this through WLST the commands are listed below.
WLST command to enable/disable EDN event delivery.

sca_enableEventsDelivery()
sca_disableEventsDelivery()
(start WLST script, for example, $MW_HOMES/AS11gR1SOA/common/bin/wlst.sh)

1.connect ('<user>','<password>','t3://<soa server>:<port>')
2.custom().
3.cd('oracle.as.soninfra.config/oracle.as.soninfra.configname-edn,type=EDNConfig,Application=soa-infra')
4.set('Paused',1)
5.exit()

In Step 4, change it to set('Paused',0) would resume EDN event delivery.
This does not require a restart of the Managed Server to take effect.


Happy Learning.......!!!!   Fun Sharing......!!!!

No comments:

Post a Comment