There are four basic steps required to deploy an addition
or an extension to InfoSphere® MDM using
the OSGi framework.
The steps that you must take to deploy an addition or extension
to
InfoSphere MDM in
the OSGi framework are as follows:
- Ensure that you have generated code in the project after you've
added to a CBA. If you set up and add a project to an existing CBA,
but do not generate the code after adding the project to the CBA,
transactions associated with the newly-added project won't work when
you try to run them. The way to resolve this is to generate the code
again, and that will create the necessary information in the associated
CBA -- this will enable transactions to be run.
- Locate the SQL scripts in either the MDMSharedResources/sql folder,
or in the <projectName>/resources/sql folder.
Important: The SQL scripts that you decide to run will depend
on what you want to accomplish. The SQL files in the MDMSharedResources/sql folder
contain scripts that will deploy (or roll back) all of the projects
in your workspace. The SQL files in the <projectName>/resources/sql folder
run only the SQL scripts to deploy (or roll back) the project in which
they are located.
- Ensure that the database schema name (for example, db2admin) matches
the target schema name and update the scripts if necessary.
- Run the SQL scripts.
- Restart the server.
- Use the Add/Remove option from the Server tab
in the MDM Workbench to
add the CBA to the bundle repository on IBM® WebSphere® Application Server.
- Use the Manage Extensions option from the
content menu on the CBA once it has been deployed onto the server
and appears on the Servers tab to add it to
the InfoSphere MDM application