Per instructions by Ijaz to post this issue here for help...
I have deployed aspose-pdf-10.1.0.jar to our Virgo RT repository (where the rest of our jars reside). I then added the following so our project would pick it up:
Inside bundle where Aspose PDF will be used:
POM
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-pdf</artifactId>
<version>10.1.0</version>
<scope>provided</scope>
</dependency>
MANIFEST.MF (added line):
com.aspose.pdf;version="[10.1.0,11)",
Inside the Virgo RT POM:
<artifactItem>
<groupId>com.aspose</groupId>
<artifactId>aspose-pdf</artifactId>
<version>10.1.0</version>
<outputDirectory>${bccm.virgo.dir}/repository/usr</outputDirectory>
</artifactItem>
.
.
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-pdf</artifactId>
<version>10.1.0</version>
</dependency>
The project build executes successfully, but upon starting Virgo, I get the following errors, which seem to be totally unrelated to having added aspose, but somehow they apparently are because the errors disappear when I remove the above aspose related dependencies.
[2015-03-19 06:57:31.407] ERROR fs-watcher org.eclipse.virgo.medic.eventlog.default HD0002E Hot deploy failed for file 'com.company.cm.app.plan'. org.eclipse.virgo.nano.deployer.api.core.DeploymentException: Dependency satisfaction failed
at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.driveInstallPipeline(PipelinedApplicationDeployer.java:362)
at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.doInstall(PipelinedApplicationDeployer.java:185)
at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.install(PipelinedApplicationDeployer.java:140)
at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.deploy(PipelinedApplicationDeployer.java:253)
at org.eclipse.virgo.nano.deployer.hot.HotDeploymentFileSystemListener.deploy(HotDeployerFileSystemListener.java:225)
at org.eclipse.virgo.nano.deployer.hot.HotDeploymentFileSystemListener.deployIfNotDeployed(HotDeployerFileSystemListener.java:237)
at org.eclipse.virgo.nano.deployer.hot.HotDeploymentFileSystemListener.onChange(HotDeployerFileSystemListener.java:88)
at org.eclipse.virgo.util.io.FileSystemChecker.notifyListeners(FileSystemChecker.java:380)
at org.eclipse.virgo.util.io.FileSystemChecker.check(FileSystemChecker.java:289)
at org.eclipse.virgo.nano.deployer.hot.WatchTask.run(WatchTask.java:49)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.eclipse.virgo.kernel.osgi.framework.UnableToSatisfyBundleDependenciesException: Unable to satisfy dependencies of bundle 'com.company.cm.device.sg' at version '5.0.0': Cannot resolve: com.company.cm.device.sg
Resolver report:
An Import-Package could not be resolved. Resolver error data <Import-Package: com.company.cm.client.cm.services; version="0.0.0">. Caused by missing constraint in bundle <com.company.cm.device.sg_5.0.0>
constraint: <Import-Package: com.company.cm.client.cm.services; version="0.0.0"> constrained to bundle <com.company.cm.client.cm> constrained bundle version range "[5.0.0,5.0.0]"
An Import-Package could not be resolved. Resolver error data <Import-Package: com.company.cm.client.cm.services; version="0.0.0">. Caused by missing constraint in bundle <com.company.cm.device.cas_5.0.0>
constraint: <Import-Package: com.company.cm.client.cm.services; version="0.0.0"> constrained to bundle <com.company.cm.client.cm> constrained bundle version range "[5.0.0,5.0.0]"
An Import-Package could not be resolved. Resolver error data <Import-Package: com.company.cm.client.cm.services; version="0.0.0">. Caused by missing constraint in bundle <com.company.cm.device.ma_5.0.0>
constraint: <Import-Package: com.company.cm.client.cm.services; version="0.0.0"> constrained to bundle <com.company.cm.client.cm> constrained bundle version range "[5.0.0,5.0.0]"
An Import-Package could not be resolved. Resolver error data <Import-Package: com.company.cm.client.cm.services; version="0.0.0">. Caused by missing constraint in bundle <com.company.cm.device.sslv_5.0.0>
constraint: <Import-Package: com.company.cm.client.cm.services; version="0.0.0"> constrained to bundle <com.company.cm.client.cm> constrained bundle version range "[5.0.0,5.0.0]"
An Import-Package could not be resolved. Resolver error data <Import-Package: com.company.cm.client.cm.services; version="0.0.0">. Caused by missing constraint in bundle <com.company.cm.device.ps_5.0.0>
constraint: <Import-Package: com.company.cm.client.cm.services; version="0.0.0"> constrained to bundle <com.company.cm.client.cm> constrained bundle version range "[5.0.0,5.0.0]"
An Import-Package could not be resolved. Resolver error data <Import-Package: com.company.cm.client.cm.services; version="0.0.0">. Caused by missing constraint in bundle <com.company.cm.device.rptr_5.0.0>
constraint: <Import-Package: com.company.cm.client.cm.services; version="0.0.0"> constrained to bundle <com.company.cm.client.cm> constrained bundle version range "[5.0.0,5.0.0]"
An Import-Package could not be resolved. Resolver error data <Import-Package: com.aspose.pdf; version="[10.1.0,11.0.0)">. Caused by missing constraint in bundle <com.company.cm.client.cm_5.0.0>
constraint: <Import-Package: com.aspose.pdf; version="[10.1.0,11.0.0)">
A Fragment-Host could not be resolved. The affected fragment is org.springframework.ldap.ldif.core_1.3.1.RELEASE. Resolver error data <Fragment-Host: org.springframework.ldap.core; bundle-version="[1.3.1.RELEASE,1.3.1.RELEASE]">. Caused by missing constraint in bundle <org.springframework.ldap.ldif.core_1.3.1.RELEASE>
constraint: <Fragment-Host: org.springframework.ldap.core; bundle-version="[1.3.1.RELEASE,1.3.1.RELEASE]">
at org.eclipse.virgo.kernel.install.pipeline.stage.resolve.internal.QuasiResolveStage.process(QuasiResolveStage.java:46)
at org.eclipse.virgo.kernel.install.pipeline.internal.StandardPipeline.doProcessGraph(StandardPipeline.java:62)
at org.eclipse.virgo.kernel.install.pipeline.internal.CompensatingPipeline.doProcessGraph(CompensatingPipeline.java:73)
at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)
at org.eclipse.virgo.kernel.install.pipeline.internal.StandardPipeline.doProcessGraph(StandardPipeline.java:62)
at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)
at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.driveInstallPipeline(PipelinedApplicationDeployer.java:359)
... 10 common frames omitted