icon-arrow icon-check icon-mail icon-phone icon-facebook icon-linkedin icon-youtube icon-twitter icon-cheveron icon-download icon-instagram play close close icon-arrow-uturn icon-calendar icon-clock icon-search icon-chevron-process icon-skills icon-knowledge icon-kite icon-education icon-languages icon-tools icon-experience icon-coffee-cup
Werken bij Integration & Application Talents
Blog 26/06/2013

Purging OSB Alerts without using WLST

Purging

Whitehorses
Laurens van der Starre /
Integratie expert

Normally when I work with the OSB I have WLST scripts at my disposal for purging the (PipeLine) Alerts from the Service Bus Console. If you don’t purge, the DAT file in the domain directory will become huge, and the OSB Console less responsive.

I recently discovered that these scripts aren’t needed at all, and that WebLogic can do it for you. (Why didn’t I know this earlier!?

Go in the Administration Console to Diagnostics -> Archives:

WebLogic Diagnostic Archives

WebLogic Diagnostic Archives

 

Then, for each OSB server add a Data Retirement Policy:

Data Retirment Policies

Data Retirment Policies

 

Choose a Custom Archive, and its name is the well known “CUSTOM/com.bea.wli.monitoring.pipeline.alert”. In this case the Alerts older than 14 days (336 hours) are purged every 24 hours at 00:00.

Easier, and cleaner than using WLST scripting if you ask me.

Overzicht blogs

Geen reacties

Geef jouw mening

Reactie plaatsen

Reactie toevoegen

Jouw e-mailadres wordt niet openbaar gemaakt.

Geen HTML

  • Geen HTML toegestaan.
  • Regels en alinea's worden automatisch gesplitst.
  • Web- en e-mailadressen worden automatisch naar links omgezet.
Whitehorses
Laurens van der Starre /
Integratie expert

Wil je deel uitmaken van een groep gedreven en ambitieuze experts? Stuur ons jouw cv!