Search This Blog

Wednesday, December 16, 2009

SOA11g Preference value not getting persisted after server bounce

Problem Summary:

I tired to update SOA 11g composite preference value from fmw control. When the server is restarted, I don't find the updated preferences value. It gets reset to the preference value in the code. This is not the case in SOA 10g. In 10g, the preference value remains the same even after restart.

Problem Steps replicated:

1) Connect to Fusion Middleware Control.
2) Expand SOA -> soa-infra -> default and hightlight "default".
3) Navigate to SOA Infrastructure -> Administration -> System MBean Browser.
4) Navigate to Application Defined MBeans -> oracle.soa.config -> Server: soa_server1 -> SCAComposite.
5) Expand the -> SCAComposite.SCAComponent and highlight the BPEL Component.
6) Click attribute Properties.
7) Expand Element_0 and change value key for name bpel.preference.PREFERENCE_NAME.
8) Click Apply.
9) Restart the SOA server and now PREFERENCE_NAME contains the orginal initial value instead of the expected updated value.

Solution:

1) After you Apply the change to bpel.preference.PREFERENCE_NAME, click Return.
2) Click Operations tab.
3) Click Save.
4) Click Invoke.
5) Click Return.

When the server is restarted, the System MBean updated value is maintained.