Solution and agent archives

Solution and agent archives are OSGi subsystem archives that contain OSGi bundles. These archives are deployable to the Insight server.

When you export a full solution or a single agent, Insight Designer creates an .esa archive in both cases.

Solution archive
When you export the solution, all the agents that are referenced in the solution project are packaged into an enterprise subsystem archive (.esa).

By default, the archive name combines the solution symbolic name and the version number that are stored in the solution manifest file. For example, com.acme.solution-1.0.

To package external OSGi bundles into the solution archive, you must add a reference to the OSGi projects in the solution project. For more information, see Adding and removing projects.

Agent archive
When you export a single agent, only the agent is packaged into the .esa archive.

By default, the archive name combines the solution symbolic name and its version, and the agent bundle symbolic name and its version. Typically, you specify the agent version in the micro number, which is represented by the third digit. For example, com.acme.solution-1.0-com.acme.agent-1.0.1.

Remember: To deploy a single agent, the full solution must exist on the server.

Version policy

Before you export a new or updated version of a solution or agent, you can use the New solution version numbers wizard to increment the version number of the solution project and its agents. Incrementing the version number before you export the project prevents the deployed solution from being overwritten.

The MANIFEST.MF files of Java™ agent and OSGi projects might contain import and export declarations that include a version. When you increment the solution version, the version in the Import-Package and Export-Package headers is synchronized with the new version. This update happens only if the export and import declarations have a version attribute that is the same as the bundle version, and if it ends with the .qualifier property.

For example, if the manifest file of a Java agent project has a version 1.1 and has the following declarations:
  • Bundle-Version: 1.1.0.qualifier
  • Export-Package: com.acme.util;version="1.1.0.qualifier"
  • Import-Package: com.acme.model;version="[1.1.0.qualifier, 1.2)"
The corresponding exported bundle for version 1.2 has the following declarations:
  • Bundle-Version: 1.2.0.timestamp
  • Export-Package: com.acme.util;version="1.2.0.timestamp"
  • Import-Package: com.acme.model;version="[1.2.0, 1.3)"