Problem installing hibernate library bundles [message #991410] |
Tue, 18 December 2012 18:28  |
Eclipse User |
|
|
|
Hi,
I have fresh instalation of Virgo 3.5.0. I try to deploy org.hibernate.ejb-library in version 3.4.0.GA-A. All bundles except com.springsource.org.hibernate.annotations-3.4.0.GA-A and com.springsource.org.hibernate.ejb-3.4.0.GA-A are successfuly started. When I copy com.springsource.org.hibernate.annotations-3.4.0.GA-A.jar to pickup folder, following exception is thrown:
HD0003E Hot re-deploy failed for file 'com.springsource.org.hibernate.annotations-3.4.0.GA-A.jar'. org.eclipse.virgo.kernel.deployer.core.DeploymentException: Dependency satisfaction failed
at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.driveInstallPipeline(PipelinedApplicationDeployer.java:363)
at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.doInstall(PipelinedApplicationDeployer.java:184)
at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.install(PipelinedApplicationDeployer.java:139)
at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.deploy(PipelinedApplicationDeployer.java:252)
at org.eclipse.virgo.kernel.deployer.hot.HotDeploymentFileSystemListener.deploy(HotDeployerFileSystemListener.java:163)
at org.eclipse.virgo.kernel.deployer.hot.HotDeploymentFileSystemListener.onChange(HotDeployerFileSystemListener.java:70)
at org.eclipse.virgo.util.io.FileSystemChecker.notifyListeners(FileSystemChecker.java:245)
at org.eclipse.virgo.util.io.FileSystemChecker.check(FileSystemChecker.java:166)
at org.eclipse.virgo.kernel.deployer.hot.WatchTask.run(WatchTask.java:48)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.eclipse.virgo.kernel.osgi.framework.UnableToSatisfyBundleDependenciesException: Unable to satisfy dependencies of bundle 'com.springsource.org.hibernate.annotations' at version '3.4.0.GA-A': Cannot resolve: com.springsource.org.hibernate.annotations
Resolver report:
The fragment could not be resolved because of a constraint conflict with a host, possibly because the host is already resolved. The affected fragment is com.springsource.org.hibernate.annotations_3.4.0.GA-A. Resolver error data <Import-Package: org.hibernate.annotations.common.annotationfactory; version="[3.3.0.ga,3.4.0)">. Caused by missing constraint in bundle <com.springsource.org.hibernate.annotations_3.4.0.GA-A>
constraint: <Import-Package: org.hibernate.annotations.common.annotationfactory; version="[3.3.0.ga,3.4.0)">
Possible hosts:
com.springsource.org.hibernate_3.3.2.GA (resolved)
Constraint conflict:
Import-Package: org.hibernate.annotations.common.annotationfactory; version="[3.3.0.ga,3.4.0)"
The fragment could not be resolved because of a constraint conflict with a host, possibly because the host is already resolved. The affected fragment is com.springsource.org.hibernate.annotations_3.4.0.GA-A. Resolver error data <Import-Package: org.hibernate.annotations.common.reflection; version="[3.3.0.ga,3.4.0)">. Caused by missing constraint in bundle <com.springsource.org.hibernate.annotations_3.4.0.GA-A>
constraint: <Import-Package: org.hibernate.annotations.common.reflection; version="[3.3.0.ga,3.4.0)">
Possible hosts:
com.springsource.org.hibernate_3.3.2.GA (resolved)
Constraint conflict:
Import-Package: org.hibernate.annotations.common.reflection; version="[3.3.0.ga,3.4.0)"
The fragment could not be resolved because of a constraint conflict with a host, possibly because the host is already resolved. The affected fragment is com.springsource.org.hibernate.annotations_3.4.0.GA-A. Resolver error data <Import-Package: org.hibernate.annotations.common.reflection.java; version="[3.3.0.ga,3.4.0)">. Caused by missing constraint in bundle <com.springsource.org.hibernate.annotations_3.4.0.GA-A>
constraint: <Import-Package: org.hibernate.annotations.common.reflection.java; version="[3.3.0.ga,3.4.0)">
Possible hosts:
com.springsource.org.hibernate_3.3.2.GA (resolved)
Constraint conflict:
Import-Package: org.hibernate.annotations.common.reflection.java; version="[3.3.0.ga,3.4.0)"
The fragment could not be resolved because of a constraint conflict with a host, possibly because the host is already resolved. The affected fragment is com.springsource.org.hibernate.annotations_3.4.0.GA-A. Resolver error data <Import-Package: org.hibernate.annotations.common.util; version="[3.3.0.ga,3.4.0)">. Caused by missing constraint in bundle <com.springsource.org.hibernate.annotations_3.4.0.GA-A>
constraint: <Import-Package: org.hibernate.annotations.common.util; version="[3.3.0.ga,3.4.0)">
Possible hosts:
com.springsource.org.hibernate_3.3.2.GA (resolved)
Constraint conflict:
Import-Package: org.hibernate.annotations.common.util; version="[3.3.0.ga,3.4.0)"
The fragment could not be resolved because of a constraint conflict with a host, possibly because the host is already resolved. The affected fragment is com.springsource.org.hibernate.annotations_3.4.0.GA-A. Resolver error data <Import-Package: javax.persistence; version="[1.0.0,2.0.0)">. Caused by missing constraint in bundle <com.springsource.org.hibernate.annotations_3.4.0.GA-A>
constraint: <Import-Package: javax.persistence; version="[1.0.0,2.0.0)">
Possible hosts:
com.springsource.org.hibernate_3.3.2.GA (resolved)
Constraint conflict:
Import-Package: javax.persistence; version="[1.0.0,2.0.0)"
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:360)
... 9 common frames omitted
Can somebody explain/help solve the issue?
Regards
|
|
|
Re: Problem installing hibernate library bundles [message #996629 is a reply to message #991410] |
Wed, 02 January 2013 09:54  |
Eclipse User |
|
|
|
This may not be much help, but I'd guess the fragments are failing to attach to their host precisely because of the above uses constraint violation. See the Virgo FAQ for how to diagnose uses constraint violations and pay particular attention to the import package version ranges for the package javax.persistence.
|
|
|
Powered by
FUDForum. Page generated in 0.03827 seconds