Upgrading to Sun Master Index

Step 5: Update the Master Controller

The Threshold file is upgraded by copying the text of the file to the service-enabled project and then updating certain portions of the file. There are only minor differences between the Threshold file in the Repository-based project and master.xml in the service-enabled project. In addition to updating the package name and XSD location, you can also update the file to take advantage of the new distributed transaction capabilities in Sun Master Index.

ProcedureTo Update master.xml

  1. In the service-enabled project, delete the text of master.xml.

  2. Copy and paste the text of the Threshold file from the Repository–based master index application to master.xml in the service-enabled application.

  3. In the Configuration element near the top of the file, change "sbyn:SeeBeyond/eView/schema/master.xsd" to "schema/master.xsd".

  4. Change all instances of "com.stc.eindex" to "com.sun.mdm.index".

  5. After the execute-match element, add a new element named transaction. Set the value of this element to LOCAL, CONTAINER, or BEAN.

    • LOCAL means transactions are not distributed. Using this option gives you the same behavior as in previous versions.

    • CONTAINER means transaction are distributed across applications.

    • BEAN means transaction are distributed within the master index application.

  6. Save and close the file.