Skip to main content

Dynamic Module Enabler for Unstructured Information Management Architecture Component Analytics

A package that provides the ability to develop and run UIMA analytics as OSGi modules in a component-based environment.

Date Posted: June 14, 2007

alphaworks tab navigation

1. How this package is related to Apache UIMA?

This package provides for architectural extension to Apache UIMA and IBM® UIMA (separately downloadable).

2. Can I use this package outside Eclipse?

Yes; any OSGi R.4 framework implementation can be used to run the package, as explained in the User's Guide. The adaptor implementation uses the core and compendium OSGi R.4 specifications.

3. I can't see my descriptor package in Eclipse PDE Manifest editor when I try to export it.

Eclipse 3.2.x Manifest editor GUI does not recognize Java packages without Java classes. You must export this package by manually editing the Manifest source. In Eclipse 3.3 this problem is resolved.

4. Why can't CDE find my type system or delegate AE descriptor?

CDE is based on the project classpath. This classpath must include the type system or AE bundle in order to find the appropriate descriptor. Make sure the necessary type system or AE bundle is required by your component bundle.

5. Why does my analytic not produce any annotations at all after converting it into an OSGi bundle?

During editing of the descriptor, CDE might have deleted your capabilities. This happened when you removed the built-in type system description to replace it with the imported descriptor. Check the analytic descriptor and add it if needed. In order to avoid this issue in the future, look into the Users Guide to find a more detailed explanation of how to change the type system.

Perhaps you created an aggregate and did not specify output capabilities. Apache-UIMA release does not automatically add the output capabilities of the delegates to the aggregate, as explained in UIMA user's guide.

6. All bundles are resolved fine, but when I try to run my application, nothing happens.

The service internal bundle may not be installed. Check the Users Guide to see which bundles are needed.

7. When I try to run a delegate component, I get a ClassNotFoundException, but the primitives work perfectly.

Check and see whether the delegates expose all required classes to the aggregate by Export-Package. Note: Even Aggregate should re-export its delegate imports.

8. My Analytic is bundle-sized and in the "active" state running in my framework. Why can't I find my analytic bundle from the adaptor API?

Actually, the Adaptor will not activate the bundle if there is no UIMA-Descriptor in the manifest, but if you are using the standard Eclipse configuration, Eclipse will do that for any bundle included in the configuration. The reason for not seeing active component bundle is that the component service is not registered. This happens in four major cases:

  • Component activator is not valid or not started.
  • Component did not receive notification of available UIMA services.
  • The UIMA-Descriptor header is not set in the manifest.mf file of your analytic bundle.
  • Some exception was thrown.

9. Tell me more about the dependencies among the run-time, services and application bundles inside the OSGi container.

The following figure shows the dependencies among the run-time, services and application bundles inside the OSGi container. In the green section below, the bundles are either provided by the enablement packages or generated as described in the installation process. Note that there exist no dependency on the particular implementation of the service adapter. The dependency of the application is on the API of the adaptor. This allows the same architecture work with different service adaptor implemetations. The yellow section below represents the bundles created by the developer who is responsible for creating and wiring the bundles.


IBM is a trademark of IBM Corporation in the United States, other countries, or both.
Other company, product, or service names may be trademarks or service marks of others.

Trademarks






Related technologies