|
|
Re: Using Virgo Snaps and Spring Interceptors [message #774908 is a reply to message #774846] |
Wed, 04 January 2012 17:25   |
Eclipse User |
|
|
|
Thanks for your answer Dmitry.
In this moment I'm working with SpringSecurity, but I have a problem, I can't deploy the bundles of SpringSecurity in Virgo. I downloaded the Spring Security library and I put the bundles in /Virgo-folder/repository/usr/ folder, then I create a plan file for this bundles and finnally I add a line in the org.eclipse.virgo.kernel.userregion.properties file, but when I start Virgo, it throws this errors:
Unable to install application from URI 'file:/home/gabrielafonso/Virgo/virgo-tomcat-server-3.0.2.RELEASE/./repository/usr/org.springframework.security.plan'. Cannot satisfy constraints for bundle 'org.springframework.security.config' version '3.1.0.RELEASE'. Cannot resolve: org.springframework.security.config
Resolver report:
An Import-Package could not be resolved. Caused by missing constraint in bundle <org.springframework.security.config_3.1.0.RELEASE>
constraint: <Import-Package: org.springframework.core; version="[3.0.6.RELEASE,3.2.0)">
An Import-Package could not be resolved. Caused by missing constraint in bundle <org.springframework.security.acls_3.1.0.RELEASE>
constraint: <Import-Package: org.springframework.security.core.context; version="[3.1.0.RELEASE,3.2.0)">
An Import-Package could not be resolved. Caused by missing constraint in bundle <org.springframework.security.aspects_3.1.0.RELEASE>
constraint: <Import-Package: org.springframework.security.access.intercept.aspectj; version="[3.1.0.RELEASE,3.2.0)">
An Import-Package could not be resolved. Caused by missing constraint in bundle <org.springframework.security.cas_3.1.0.RELEASE>
constraint: <Import-Package: org.springframework.security.core.authority; version="[3.1.0.RELEASE,3.2.0)">
An Import-Package could not be resolved. Caused by missing constraint in bundle <org.springframework.security.core_3.1.0.RELEASE>
constraint: <Import-Package: org.springframework.context.support; version="[3.0.6.RELEASE,3.2.0)">
An Import-Package could not be resolved. Caused by missing constraint in bundle <org.springframework.security.web_3.1.0.RELEASE>
constraint: <Import-Package: org.springframework.context.support; version="[3.0.6.RELEASE,3.2.0)">
An Import-Package could not be resolved. Caused by missing constraint in bundle <org.springframework.security.taglibs_3.1.0.RELEASE>
constraint: <Import-Package: org.springframework.security.core.authority; version="[3.1.0.RELEASE,3.2.0)">
An Import-Package could not be resolved. Caused by missing constraint in bundle <org.springframework.security.openid_3.1.0.RELEASE>
constraint: <Import-Package: org.springframework.security.web.authentication.rememberme; version="[3.1.0.RELEASE,3.2.0)">
An Import-Package could not be resolved. Caused by missing constraint in bundle <org.springframework.security.ldap_3.1.0.RELEASE>
constraint: <Import-Package: org.springframework.ldap; version="[1.3.0,1.4.0)">
. org.eclipse.virgo.kernel.osgi.framework.UnableToSatisfyBundleDependenciesException: Unable to satisfy dependencies of bundle 'org.springframework.security.config' at version '3.1.0.RELEASE': Cannot resolve: org.springframework.security.config
Resolver report:
An Import-Package could not be resolved. Caused by missing constraint in bundle <org.springframework.security.config_3.1.0.RELEASE>
constraint: <Import-Package: org.springframework.core; version="[3.0.6.RELEASE,3.2.0)">
An Import-Package could not be resolved. Caused by missing constraint in bundle <org.springframework.security.acls_3.1.0.RELEASE>
constraint: <Import-Package: org.springframework.security.core.context; version="[3.1.0.RELEASE,3.2.0)">
An Import-Package could not be resolved. Caused by missing constraint in bundle <org.springframework.security.aspects_3.1.0.RELEASE>
constraint: <Import-Package: org.springframework.security.access.intercept.aspectj; version="[3.1.0.RELEASE,3.2.0)">
An Import-Package could not be resolved. Caused by missing constraint in bundle <org.springframework.security.cas_3.1.0.RELEASE>
constraint: <Import-Package: org.springframework.security.core.authority; version="[3.1.0.RELEASE,3.2.0)">
An Import-Package could not be resolved. Caused by missing constraint in bundle <org.springframework.security.core_3.1.0.RELEASE>
constraint: <Import-Package: org.springframework.context.support; version="[3.0.6.RELEASE,3.2.0)">
An Import-Package could not be resolved. Caused by missing constraint in bundle <org.springframework.security.web_3.1.0.RELEASE>
constraint: <Import-Package: org.springframework.context.support; version="[3.0.6.RELEASE,3.2.0)">
An Import-Package could not be resolved. Caused by missing constraint in bundle <org.springframework.security.taglibs_3.1.0.RELEASE>
constraint: <Import-Package: org.springframework.security.core.authority; version="[3.1.0.RELEASE,3.2.0)">
An Import-Package could not be resolved. Caused by missing constraint in bundle <org.springframework.security.openid_3.1.0.RELEASE>
constraint: <Import-Package: org.springframework.security.web.authentication.rememberme; version="[3.1.0.RELEASE,3.2.0)">
An Import-Package could not be resolved. Caused by missing constraint in bundle <org.springframework.security.ldap_3.1.0.RELEASE>
constraint: <Import-Package: org.springframework.ldap; version="[1.3.0,1.4.0)">
at org.eclipse.virgo.kernel.install.pipeline.stage.resolve.internal.QuasiResolveStage.process(QuasiResolveStage.java:45)
at org.eclipse.virgo.kernel.install.pipeline.internal.StandardPipeline.doProcessTree(StandardPipeline.java:62)
at org.eclipse.virgo.kernel.install.pipeline.internal.CompensatingPipeline.doProcessTree(CompensatingPipeline.java:72)
at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)
at org.eclipse.virgo.kernel.install.pipeline.internal.StandardPipeline.doProcessTree(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:285)
at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.doInstall(PipelinedApplicationDeployer.java:164)
at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.install(PipelinedApplicationDeployer.java:136)
at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.deploy(PipelinedApplicationDeployer.java:203)
at org.eclipse.virgo.kernel.userregion.internal.InitialArtifactDeployer$ArtifactDeployingRunnable.deployArtifacts(InitialArtifactDeployer.java:156)
at org.eclipse.virgo.kernel.userregion.internal.InitialArtifactDeployer$ArtifactDeployingRunnable.run(InitialArtifactDeployer.java:146)
at java.lang.Thread.run(Thread.java:662)
[2012-01-04 17:16:34.583] system-artifacts <UR0002E> User region failed while deploying initial artifacts. Shutting down.
[2012-01-04 17:16:34.585] System Bundle Shutdown <KE0010I> Shutdown initiated.
[2012-01-04 17:16:34.677] System Bundle Shutdown <TC0002I> Stopping Tomcat.
[2012-01-04 17:16:37.788] System Bundle Shutdown <TC0003I> Stopped Tomcat.
What am I doing wrong?
How can I load the Spring Security Library in Virgo?
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06154 seconds