Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » Package resolve conflict while adding spring service to WAR
Package resolve conflict while adding spring service to WAR [message #677116] Tue, 07 June 2011 15:48 Go to next message
Carsten Stiller is currently offline Carsten Stiller
Messages: 7
Registered: April 2011
Junior Member
I'm trying to add a Spring service, providing Hibernate database-access to a WAR application following the description found at the documentation for the current milestone release (3.0.0.M5), section "Accessing the Service and Types from the WAR".

Deploying the WAR file fails with the following error:

[2011-06-07 17:30:59.288] TCP Connection(11)-127.0.0.1 <DE0002E> Installation of bundle 'web.app' version '1.0.0' failed. org.eclipse.virgo.kernel.osgi.framework.UnableToSatisfyBundleDependenciesException: Unable to satisfy dependencies of bundle 'web.app' at version '1.0.0': Cannot resolve: web.app
    Resolver report:
        Uses violation: <Import-Package: org.springframework.beans.factory.support; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
            Found conflicts:
                package        'org.springframework.core.io.support_3.0.5.RELEASE' in bundle 'org.springframework.core_3.0.5.RELEASE[24]' used by 'org.springframework.beans.factory.support_3.0.5.RELEASE' in bundle 'org.springframework.beans_3.0.5.RELEASE[23]'
                conflicts with 'org.springframework.core.io.support_3.0.5.RELEASE' in bundle 'org.springframework.core_3.0.5.RELEASE[84]' used by 'org.springframework.web.servlet.tags_3.0.5.RELEASE' in bundle 'org.springframework.web.servlet_3.0.5.RELEASE[113]'
                package        'org.springframework.asm.commons_3.0.5.RELEASE' in bundle 'org.springframework.asm_3.0.5.RELEASE[21]' used by 'org.springframework.beans.factory.support_3.0.5.RELEASE' in bundle 'org.springframework.beans_3.0.5.RELEASE[23]'
                conflicts with 'org.springframework.asm.commons_3.0.5.RELEASE' in bundle 'org.springframework.asm_3.0.5.RELEASE[81]' used by 'org.springframework.web.servlet.tags_3.0.5.RELEASE' in bundle 'org.springframework.web.servlet_3.0.5.RELEASE[113]'

        Uses violation: <Import-Package: org.springframework.jdbc.core.metadata; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
             Resolver reported uses conflict for import constrained to bundle <org.springframework.jdbc> constrained bundle version range "[3.0.5.RELEASE,3.0.5.RELEASE]"
        Uses violation: <Import-Package: org.springframework.web.servlet.view; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
             Resolver reported uses conflict for import constrained to bundle <org.springframework.web.servlet> constrained bundle version range "[3.0.5.RELEASE,3.0.5.RELEASE]"
        Uses violation: <Import-Package: org.springframework.beans.factory.config; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
            Found conflicts:
                package        'org.springframework.asm.commons_3.0.5.RELEASE' in bundle 'org.springframework.asm_3.0.5.RELEASE[21]' used by 'org.springframework.beans.factory.config_3.0.5.RELEASE' in bundle 'org.springframework.beans_3.0.5.RELEASE[23]'
                conflicts with 'org.springframework.asm.commons_3.0.5.RELEASE' in bundle 'org.springframework.asm_3.0.5.RELEASE[81]' used by 'org.springframework.web.servlet.tags_3.0.5.RELEASE' in bundle 'org.springframework.web.servlet_3.0.5.RELEASE[113]'
                package        'org.springframework.beans.support_3.0.5.RELEASE' in bundle 'org.springframework.beans_3.0.5.RELEASE[23]' used by 'org.springframework.beans.factory.config_3.0.5.RELEASE' in bundle 'org.springframework.beans_3.0.5.RELEASE[23]'
                conflicts with 'org.springframework.beans.support_3.0.5.RELEASE' in bundle 'org.springframework.beans_3.0.5.RELEASE[82]' used by 'org.springframework.web.servlet.tags_3.0.5.RELEASE' in bundle 'org.springframework.web.servlet_3.0.5.RELEASE[113]'
                package        'org.springframework.beans.support_3.0.5.RELEASE' in bundle 'org.springframework.beans_3.0.5.RELEASE[23]' used by 'org.springframework.beans.factory.config_3.0.5.RELEASE' in bundle 'org.springframework.beans_3.0.5.RELEASE[23]'
                conflicts with 'org.springframework.beans.support_3.0.5.RELEASE' in bundle 'org.springframework.beans_3.0.5.RELEASE[82]' used by 'org.springframework.scheduling.support_3.0.5.RELEASE' in bundle 'org.springframework.context_3.0.5.RELEASE[83]'
                package        'org.springframework.core.io.support_3.0.5.RELEASE' in bundle 'org.springframework.core_3.0.5.RELEASE[24]' used by 'org.springframework.beans.factory.config_3.0.5.RELEASE' in bundle 'org.springframework.beans_3.0.5.RELEASE[23]'
                conflicts with 'org.springframework.core.io.support_3.0.5.RELEASE' in bundle 'org.springframework.core_3.0.5.RELEASE[84]' used by 'org.springframework.web.servlet.tags_3.0.5.RELEASE' in bundle 'org.springframework.web.servlet_3.0.5.RELEASE[113]'

        Uses violation: <Import-Package: org.springframework.util.xml; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
             Resolver reported uses conflict for import constrained to bundle <org.springframework.core> constrained bundle version range "[3.0.5.RELEASE,3.0.5.RELEASE]"
        Uses violation: <Import-Package: org.springframework.jdbc.core; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
             Resolver reported uses conflict for import constrained to bundle <org.springframework.jdbc> constrained bundle version range "[3.0.5.RELEASE,3.0.5.RELEASE]"
        Uses violation: <Import-Package: org.springframework.transaction.jta; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
            Found conflicts:
                package        'org.aopalliance.aop_1.0.0' in bundle 'com.springsource.org.aopalliance_1.0.0[61]' used by 'org.springframework.transaction.jta_3.0.5.RELEASE' in bundle 'org.springframework.transaction_3.0.5.RELEASE[89]'
                conflicts with 'org.aopalliance.aop_1.0.0' in bundle 'com.springsource.org.aopalliance_1.0.0[31]' used by 'org.springframework.scheduling.annotation_3.0.5.RELEASE' in bundle 'org.springframework.context_3.0.5.RELEASE[25]'

        Uses violation: <Import-Package: org.springframework.http.client; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
             Resolver reported uses conflict for import constrained to bundle <org.springframework.web> constrained bundle version range "[3.0.5.RELEASE,3.0.5.RELEASE]"
        Uses violation: <Import-Package: org.springframework.util; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
             Resolver reported uses conflict for import constrained to bundle <org.springframework.core> constrained bundle version range "[3.0.5.RELEASE,3.0.5.RELEASE]"
        Uses violation: <Import-Package: org.springframework.beans.factory.parsing; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
             Resolver reported uses conflict for import constrained to bundle <org.springframework.beans> constrained bundle version range "[3.0.5.RELEASE,3.0.5.RELEASE]"
        Uses violation: <Import-Package: org.springframework.web.servlet.mvc.annotation; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
             Resolver reported uses conflict for import constrained to bundle <org.springframework.web.servlet> constrained bundle version range "[3.0.5.RELEASE,3.0.5.RELEASE]"
        Uses violation: <Import-Package: org.springframework.remoting.httpinvoker; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
             Resolver reported uses conflict for import constrained to bundle <org.springframework.web> constrained bundle version range "[3.0.5.RELEASE,3.0.5.RELEASE]"
        Uses violation: <Import-Package: org.springframework.jms.listener; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
             Resolver reported uses conflict for import constrained to bundle <org.springframework.jms> constrained bundle version range "[3.0.5.RELEASE,3.0.5.RELEASE]"
        Uses violation: <Import-Package: org.eclipse.virgo.web.dm; version="[1.0.0,3.1.0)"> in bundle <web.app_1.0.0[1307460649971]>
             Resolver reported uses conflict for import
        Uses violation: <Import-Package: org.springframework.context.support; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
            Found conflicts:
                package        'org.springframework.core.convert.support_3.0.5.RELEASE' in bundle 'org.springframework.core_3.0.5.RELEASE[24]' used by 'org.springframework.context.support_3.0.5.RELEASE' in bundle 'org.springframework.context_3.0.5.RELEASE[25]'
                conflicts with 'org.springframework.core.convert.support_3.0.5.RELEASE' in bundle 'org.springframework.core_3.0.5.RELEASE[84]' used by 'org.springframework.remoting.jaxrpc_3.0.5.RELEASE' in bundle 'org.springframework.web_3.0.5.RELEASE[90]'
                package        'org.springframework.beans.factory.xml_3.0.5.RELEASE' in bundle 'org.springframework.beans_3.0.5.RELEASE[23]' used by 'org.springframework.context.support_3.0.5.RELEASE' in bundle 'org.springframework.context_3.0.5.RELEASE[25]'
                conflicts with 'org.springframework.beans.factory.xml_3.0.5.RELEASE' in bundle 'org.springframework.beans_3.0.5.RELEASE[82]' used by 'org.springframework.remoting.jaxrpc_3.0.5.RELEASE' in bundle 'org.springframework.web_3.0.5.RELEASE[90]'
                package        'org.springframework.core.io.support_3.0.5.RELEASE' in bundle 'org.springframework.core_3.0.5.RELEASE[24]' used by 'org.springframework.context.support_3.0.5.RELEASE' in bundle 'org.springframework.context_3.0.5.RELEASE[25]'
                conflicts with 'org.springframework.core.io.support_3.0.5.RELEASE' in bundle 'org.springframework.core_3.0.5.RELEASE[84]' used by 'org.springframework.web.servlet.tags_3.0.5.RELEASE' in bundle 'org.springframework.web.servlet_3.0.5.RELEASE[113]'
                package        'org.springframework.asm.commons_3.0.5.RELEASE' in bundle 'org.springframework.asm_3.0.5.RELEASE[21]' used by 'org.springframework.context.support_3.0.5.RELEASE' in bundle 'org.springframework.context_3.0.5.RELEASE[25]'
                conflicts with 'org.springframework.asm.commons_3.0.5.RELEASE' in bundle 'org.springframework.asm_3.0.5.RELEASE[81]' used by 'org.springframework.web.servlet.tags_3.0.5.RELEASE' in bundle 'org.springframework.web.servlet_3.0.5.RELEASE[113]'

        Uses violation: <Import-Package: org.springframework.core.convert.support; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
             Resolver reported uses conflict for import constrained to bundle <org.springframework.core> constrained bundle version range "[3.0.5.RELEASE,3.0.5.RELEASE]"
        Uses violation: <Import-Package: org.springframework.aop.interceptor; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
            Found conflicts:
                package        'org.springframework.asm.commons_3.0.5.RELEASE' in bundle 'org.springframework.asm_3.0.5.RELEASE[21]' used by 'org.springframework.aop.interceptor_3.0.5.RELEASE' in bundle 'org.springframework.aop_3.0.5.RELEASE[20]'
                conflicts with 'org.springframework.asm.commons_3.0.5.RELEASE' in bundle 'org.springframework.asm_3.0.5.RELEASE[81]' used by 'org.springframework.web.servlet.tags_3.0.5.RELEASE' in bundle 'org.springframework.web.servlet_3.0.5.RELEASE[113]'
                package        'org.aopalliance.intercept_1.0.0' in bundle 'com.springsource.org.aopalliance_1.0.0[31]' used by 'org.springframework.aop.interceptor_3.0.5.RELEASE' in bundle 'org.springframework.aop_3.0.5.RELEASE[20]'
                conflicts with 'org.aopalliance.intercept_1.0.0' in bundle 'com.springsource.org.aopalliance_1.0.0[61]' used by 'org.springframework.remoting.jaxrpc_3.0.5.RELEASE' in bundle 'org.springframework.web_3.0.5.RELEASE[90]'
                package        'org.aopalliance.aop_1.0.0' in bundle 'com.springsource.org.aopalliance_1.0.0[31]' used by 'org.springframework.aop.interceptor_3.0.5.RELEASE' in bundle 'org.springframework.aop_3.0.5.RELEASE[20]'
                conflicts with 'org.aopalliance.aop_1.0.0' in bundle 'com.springsource.org.aopalliance_1.0.0[61]' used by 'org.springframework.scheduling.annotation_3.0.5.RELEASE' in bundle 'org.springframework.context_3.0.5.RELEASE[83]'

        Uses violation: <Import-Package: org.springframework.web.client; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
             Resolver reported uses conflict for import constrained to bundle <org.springframework.web> constrained bundle version range "[3.0.5.RELEASE,3.0.5.RELEASE]"
        Uses violation: <Import-Package: org.springframework.jdbc.datasource; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
             Resolver reported uses conflict for import constrained to bundle <org.springframework.jdbc> constrained bundle version range "[3.0.5.RELEASE,3.0.5.RELEASE]"

	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.deployer.management.StandardDeployer.deploy(StandardDeployer.java:52)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.sun.jmx.mbeanserver.ConvertingMethod.invokeWithOpenReturn(Unknown Source)
	at com.sun.jmx.mbeanserver.MXBeanIntrospector.invokeM2(Unknown Source)
	at com.sun.jmx.mbeanserver.MXBeanIntrospector.invokeM2(Unknown Source)
	at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Unknown Source)
	at com.sun.jmx.mbeanserver.PerInterface.invoke(Unknown Source)
	at com.sun.jmx.mbeanserver.MBeanSupport.invoke(Unknown Source)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Unknown Source)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Unknown Source)
	at javax.management.remote.rmi.RMIConnectionImpl.doOperation(Unknown Source)
	at javax.management.remote.rmi.RMIConnectionImpl.access$200(Unknown Source)
	at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(Unknown Source)
	at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(Unknown Source)
	at javax.management.remote.rmi.RMIConnectionImpl.invoke(Unknown Source)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
	at sun.rmi.transport.Transport$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.Transport.serviceCall(Unknown Source)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

[2011-06-07 17:30:59.295] TCP Connection(11)-127.0.0.1 <DE0003E> Install failed for bundle 'web.app' version '1.0.0'. 
[2011-06-07 17:30:59.296] TCP Connection(11)-127.0.0.1 <DE0500E> Unable to install application from URI 'file:/C:/Data/src/virgo-tomcat-server-3.0.0.M05/stage/web.app.war'. Cannot satisfy constraints for bundle 'web.app' version '1.0.0'. Cannot resolve: web.app
    Resolver report:
        Uses violation: <Import-Package: org.springframework.beans.factory.support; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
            Found conflicts:
                package        'org.springframework.core.io.support_3.0.5.RELEASE' in bundle 'org.springframework.core_3.0.5.RELEASE[24]' used by 'org.springframework.beans.factory.support_3.0.5.RELEASE' in bundle 'org.springframework.beans_3.0.5.RELEASE[23]'
                conflicts with 'org.springframework.core.io.support_3.0.5.RELEASE' in bundle 'org.springframework.core_3.0.5.RELEASE[84]' used by 'org.springframework.web.servlet.tags_3.0.5.RELEASE' in bundle 'org.springframework.web.servlet_3.0.5.RELEASE[113]'
                package        'org.springframework.asm.commons_3.0.5.RELEASE' in bundle 'org.springframework.asm_3.0.5.RELEASE[21]' used by 'org.springframework.beans.factory.support_3.0.5.RELEASE' in bundle 'org.springframework.beans_3.0.5.RELEASE[23]'
                conflicts with 'org.springframework.asm.commons_3.0.5.RELEASE' in bundle 'org.springframework.asm_3.0.5.RELEASE[81]' used by 'org.springframework.web.servlet.tags_3.0.5.RELEASE' in bundle 'org.springframework.web.servlet_3.0.5.RELEASE[113]'

        Uses violation: <Import-Package: org.springframework.jdbc.core.metadata; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
             Resolver reported uses conflict for import constrained to bundle <org.springframework.jdbc> constrained bundle version range "[3.0.5.RELEASE,3.0.5.RELEASE]"
        Uses violation: <Import-Package: org.springframework.web.servlet.view; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
             Resolver reported uses conflict for import constrained to bundle <org.springframework.web.servlet> constrained bundle version range "[3.0.5.RELEASE,3.0.5.RELEASE]"
        Uses violation: <Import-Package: org.springframework.beans.factory.config; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
            Found conflicts:
                package        'org.springframework.asm.commons_3.0.5.RELEASE' in bundle 'org.springframework.asm_3.0.5.RELEASE[21]' used by 'org.springframework.beans.factory.config_3.0.5.RELEASE' in bundle 'org.springframework.beans_3.0.5.RELEASE[23]'
                conflicts with 'org.springframework.asm.commons_3.0.5.RELEASE' in bundle 'org.springframework.asm_3.0.5.RELEASE[81]' used by 'org.springframework.web.servlet.tags_3.0.5.RELEASE' in bundle 'org.springframework.web.servlet_3.0.5.RELEASE[113]'
                package        'org.springframework.beans.support_3.0.5.RELEASE' in bundle 'org.springframework.beans_3.0.5.RELEASE[23]' used by 'org.springframework.beans.factory.config_3.0.5.RELEASE' in bundle 'org.springframework.beans_3.0.5.RELEASE[23]'
                conflicts with 'org.springframework.beans.support_3.0.5.RELEASE' in bundle 'org.springframework.beans_3.0.5.RELEASE[82]' used by 'org.springframework.web.servlet.tags_3.0.5.RELEASE' in bundle 'org.springframework.web.servlet_3.0.5.RELEASE[113]'
                package        'org.springframework.beans.support_3.0.5.RELEASE' in bundle 'org.springframework.beans_3.0.5.RELEASE[23]' used by 'org.springframework.beans.factory.config_3.0.5.RELEASE' in bundle 'org.springframework.beans_3.0.5.RELEASE[23]'
                conflicts with 'org.springframework.beans.support_3.0.5.RELEASE' in bundle 'org.springframework.beans_3.0.5.RELEASE[82]' used by 'org.springframework.scheduling.support_3.0.5.RELEASE' in bundle 'org.springframework.context_3.0.5.RELEASE[83]'
                package        'org.springframework.core.io.support_3.0.5.RELEASE' in bundle 'org.springframework.core_3.0.5.RELEASE[24]' used by 'org.springframework.beans.factory.config_3.0.5.RELEASE' in bundle 'org.springframework.beans_3.0.5.RELEASE[23]'
                conflicts with 'org.springframework.core.io.support_3.0.5.RELEASE' in bundle 'org.springframework.core_3.0.5.RELEASE[84]' used by 'org.springframework.web.servlet.tags_3.0.5.RELEASE' in bundle 'org.springframework.web.servlet_3.0.5.RELEASE[113]'

        Uses violation: <Import-Package: org.springframework.util.xml; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
             Resolver reported uses conflict for import constrained to bundle <org.springframework.core> constrained bundle version range "[3.0.5.RELEASE,3.0.5.RELEASE]"
        Uses violation: <Import-Package: org.springframework.jdbc.core; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
             Resolver reported uses conflict for import constrained to bundle <org.springframework.jdbc> constrained bundle version range "[3.0.5.RELEASE,3.0.5.RELEASE]"
        Uses violation: <Import-Package: org.springframework.transaction.jta; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
            Found conflicts:
                package        'org.aopalliance.aop_1.0.0' in bundle 'com.springsource.org.aopalliance_1.0.0[61]' used by 'org.springframework.transaction.jta_3.0.5.RELEASE' in bundle 'org.springframework.transaction_3.0.5.RELEASE[89]'
                conflicts with 'org.aopalliance.aop_1.0.0' in bundle 'com.springsource.org.aopalliance_1.0.0[31]' used by 'org.springframework.scheduling.annotation_3.0.5.RELEASE' in bundle 'org.springframework.context_3.0.5.RELEASE[25]'

        Uses violation: <Import-Package: org.springframework.http.client; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
             Resolver reported uses conflict for import constrained to bundle <org.springframework.web> constrained bundle version range "[3.0.5.RELEASE,3.0.5.RELEASE]"
        Uses violation: <Import-Package: org.springframework.util; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
             Resolver reported uses conflict for import constrained to bundle <org.springframework.core> constrained bundle version range "[3.0.5.RELEASE,3.0.5.RELEASE]"
        Uses violation: <Import-Package: org.springframework.beans.factory.parsing; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
             Resolver reported uses conflict for import constrained to bundle <org.springframework.beans> constrained bundle version range "[3.0.5.RELEASE,3.0.5.RELEASE]"
        Uses violation: <Import-Package: org.springframework.web.servlet.mvc.annotation; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
             Resolver reported uses conflict for import constrained to bundle <org.springframework.web.servlet> constrained bundle version range "[3.0.5.RELEASE,3.0.5.RELEASE]"
        Uses violation: <Import-Package: org.springframework.remoting.httpinvoker; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
             Resolver reported uses conflict for import constrained to bundle <org.springframework.web> constrained bundle version range "[3.0.5.RELEASE,3.0.5.RELEASE]"
        Uses violation: <Import-Package: org.springframework.jms.listener; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
             Resolver reported uses conflict for import constrained to bundle <org.springframework.jms> constrained bundle version range "[3.0.5.RELEASE,3.0.5.RELEASE]"
        Uses violation: <Import-Package: org.eclipse.virgo.web.dm; version="[1.0.0,3.1.0)"> in bundle <web.app_1.0.0[1307460649971]>
             Resolver reported uses conflict for import
        Uses violation: <Import-Package: org.springframework.context.support; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
            Found conflicts:
                package        'org.springframework.core.convert.support_3.0.5.RELEASE' in bundle 'org.springframework.core_3.0.5.RELEASE[24]' used by 'org.springframework.context.support_3.0.5.RELEASE' in bundle 'org.springframework.context_3.0.5.RELEASE[25]'
                conflicts with 'org.springframework.core.convert.support_3.0.5.RELEASE' in bundle 'org.springframework.core_3.0.5.RELEASE[84]' used by 'org.springframework.remoting.jaxrpc_3.0.5.RELEASE' in bundle 'org.springframework.web_3.0.5.RELEASE[90]'
                package        'org.springframework.beans.factory.xml_3.0.5.RELEASE' in bundle 'org.springframework.beans_3.0.5.RELEASE[23]' used by 'org.springframework.context.support_3.0.5.RELEASE' in bundle 'org.springframework.context_3.0.5.RELEASE[25]'
                conflicts with 'org.springframework.beans.factory.xml_3.0.5.RELEASE' in bundle 'org.springframework.beans_3.0.5.RELEASE[82]' used by 'org.springframework.remoting.jaxrpc_3.0.5.RELEASE' in bundle 'org.springframework.web_3.0.5.RELEASE[90]'
                package        'org.springframework.core.io.support_3.0.5.RELEASE' in bundle 'org.springframework.core_3.0.5.RELEASE[24]' used by 'org.springframework.context.support_3.0.5.RELEASE' in bundle 'org.springframework.context_3.0.5.RELEASE[25]'
                conflicts with 'org.springframework.core.io.support_3.0.5.RELEASE' in bundle 'org.springframework.core_3.0.5.RELEASE[84]' used by 'org.springframework.web.servlet.tags_3.0.5.RELEASE' in bundle 'org.springframework.web.servlet_3.0.5.RELEASE[113]'
                package        'org.springframework.asm.commons_3.0.5.RELEASE' in bundle 'org.springframework.asm_3.0.5.RELEASE[21]' used by 'org.springframework.context.support_3.0.5.RELEASE' in bundle 'org.springframework.context_3.0.5.RELEASE[25]'
                conflicts with 'org.springframework.asm.commons_3.0.5.RELEASE' in bundle 'org.springframework.asm_3.0.5.RELEASE[81]' used by 'org.springframework.web.servlet.tags_3.0.5.RELEASE' in bundle 'org.springframework.web.servlet_3.0.5.RELEASE[113]'

        Uses violation: <Import-Package: org.springframework.core.convert.support; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
             Resolver reported uses conflict for import constrained to bundle <org.springframework.core> constrained bundle version range "[3.0.5.RELEASE,3.0.5.RELEASE]"
        Uses violation: <Import-Package: org.springframework.aop.interceptor; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
            Found conflicts:
                package        'org.springframework.asm.commons_3.0.5.RELEASE' in bundle 'org.springframework.asm_3.0.5.RELEASE[21]' used by 'org.springframework.aop.interceptor_3.0.5.RELEASE' in bundle 'org.springframework.aop_3.0.5.RELEASE[20]'
                conflicts with 'org.springframework.asm.commons_3.0.5.RELEASE' in bundle 'org.springframework.asm_3.0.5.RELEASE[81]' used by 'org.springframework.web.servlet.tags_3.0.5.RELEASE' in bundle 'org.springframework.web.servlet_3.0.5.RELEASE[113]'
                package        'org.aopalliance.intercept_1.0.0' in bundle 'com.springsource.org.aopalliance_1.0.0[31]' used by 'org.springframework.aop.interceptor_3.0.5.RELEASE' in bundle 'org.springframework.aop_3.0.5.RELEASE[20]'
                conflicts with 'org.aopalliance.intercept_1.0.0' in bundle 'com.springsource.org.aopalliance_1.0.0[61]' used by 'org.springframework.remoting.jaxrpc_3.0.5.RELEASE' in bundle 'org.springframework.web_3.0.5.RELEASE[90]'
                package        'org.aopalliance.aop_1.0.0' in bundle 'com.springsource.org.aopalliance_1.0.0[31]' used by 'org.springframework.aop.interceptor_3.0.5.RELEASE' in bundle 'org.springframework.aop_3.0.5.RELEASE[20]'
                conflicts with 'org.aopalliance.aop_1.0.0' in bundle 'com.springsource.org.aopalliance_1.0.0[61]' used by 'org.springframework.scheduling.annotation_3.0.5.RELEASE' in bundle 'org.springframework.context_3.0.5.RELEASE[83]'

        Uses violation: <Import-Package: org.springframework.web.client; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
             Resolver reported uses conflict for import constrained to bundle <org.springframework.web> constrained bundle version range "[3.0.5.RELEASE,3.0.5.RELEASE]"
        Uses violation: <Import-Package: org.springframework.jdbc.datasource; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
             Resolver reported uses conflict for import constrained to bundle <org.springframework.jdbc> constrained bundle version range "[3.0.5.RELEASE,3.0.5.RELEASE]"
. org.eclipse.virgo.kernel.osgi.framework.UnableToSatisfyBundleDependenciesException: Unable to satisfy dependencies of bundle 'web.app' at version '1.0.0': Cannot resolve: web.app
    Resolver report:
        Uses violation: <Import-Package: org.springframework.beans.factory.support; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
            Found conflicts:
                package        'org.springframework.core.io.support_3.0.5.RELEASE' in bundle 'org.springframework.core_3.0.5.RELEASE[24]' used by 'org.springframework.beans.factory.support_3.0.5.RELEASE' in bundle 'org.springframework.beans_3.0.5.RELEASE[23]'
                conflicts with 'org.springframework.core.io.support_3.0.5.RELEASE' in bundle 'org.springframework.core_3.0.5.RELEASE[84]' used by 'org.springframework.web.servlet.tags_3.0.5.RELEASE' in bundle 'org.springframework.web.servlet_3.0.5.RELEASE[113]'
                package        'org.springframework.asm.commons_3.0.5.RELEASE' in bundle 'org.springframework.asm_3.0.5.RELEASE[21]' used by 'org.springframework.beans.factory.support_3.0.5.RELEASE' in bundle 'org.springframework.beans_3.0.5.RELEASE[23]'
                conflicts with 'org.springframework.asm.commons_3.0.5.RELEASE' in bundle 'org.springframework.asm_3.0.5.RELEASE[81]' used by 'org.springframework.web.servlet.tags_3.0.5.RELEASE' in bundle 'org.springframework.web.servlet_3.0.5.RELEASE[113]'

        Uses violation: <Import-Package: org.springframework.jdbc.core.metadata; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
             Resolver reported uses conflict for import constrained to bundle <org.springframework.jdbc> constrained bundle version range "[3.0.5.RELEASE,3.0.5.RELEASE]"
        Uses violation: <Import-Package: org.springframework.web.servlet.view; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
             Resolver reported uses conflict for import constrained to bundle <org.springframework.web.servlet> constrained bundle version range "[3.0.5.RELEASE,3.0.5.RELEASE]"
        Uses violation: <Import-Package: org.springframework.beans.factory.config; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
            Found conflicts:
                package        'org.springframework.asm.commons_3.0.5.RELEASE' in bundle 'org.springframework.asm_3.0.5.RELEASE[21]' used by 'org.springframework.beans.factory.config_3.0.5.RELEASE' in bundle 'org.springframework.beans_3.0.5.RELEASE[23]'
                conflicts with 'org.springframework.asm.commons_3.0.5.RELEASE' in bundle 'org.springframework.asm_3.0.5.RELEASE[81]' used by 'org.springframework.web.servlet.tags_3.0.5.RELEASE' in bundle 'org.springframework.web.servlet_3.0.5.RELEASE[113]'
                package        'org.springframework.beans.support_3.0.5.RELEASE' in bundle 'org.springframework.beans_3.0.5.RELEASE[23]' used by 'org.springframework.beans.factory.config_3.0.5.RELEASE' in bundle 'org.springframework.beans_3.0.5.RELEASE[23]'
                conflicts with 'org.springframework.beans.support_3.0.5.RELEASE' in bundle 'org.springframework.beans_3.0.5.RELEASE[82]' used by 'org.springframework.web.servlet.tags_3.0.5.RELEASE' in bundle 'org.springframework.web.servlet_3.0.5.RELEASE[113]'
                package        'org.springframework.beans.support_3.0.5.RELEASE' in bundle 'org.springframework.beans_3.0.5.RELEASE[23]' used by 'org.springframework.beans.factory.config_3.0.5.RELEASE' in bundle 'org.springframework.beans_3.0.5.RELEASE[23]'
                conflicts with 'org.springframework.beans.support_3.0.5.RELEASE' in bundle 'org.springframework.beans_3.0.5.RELEASE[82]' used by 'org.springframework.scheduling.support_3.0.5.RELEASE' in bundle 'org.springframework.context_3.0.5.RELEASE[83]'
                package        'org.springframework.core.io.support_3.0.5.RELEASE' in bundle 'org.springframework.core_3.0.5.RELEASE[24]' used by 'org.springframework.beans.factory.config_3.0.5.RELEASE' in bundle 'org.springframework.beans_3.0.5.RELEASE[23]'
                conflicts with 'org.springframework.core.io.support_3.0.5.RELEASE' in bundle 'org.springframework.core_3.0.5.RELEASE[84]' used by 'org.springframework.web.servlet.tags_3.0.5.RELEASE' in bundle 'org.springframework.web.servlet_3.0.5.RELEASE[113]'

        Uses violation: <Import-Package: org.springframework.util.xml; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
             Resolver reported uses conflict for import constrained to bundle <org.springframework.core> constrained bundle version range "[3.0.5.RELEASE,3.0.5.RELEASE]"
        Uses violation: <Import-Package: org.springframework.jdbc.core; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
             Resolver reported uses conflict for import constrained to bundle <org.springframework.jdbc> constrained bundle version range "[3.0.5.RELEASE,3.0.5.RELEASE]"
        Uses violation: <Import-Package: org.springframework.transaction.jta; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
            Found conflicts:
                package        'org.aopalliance.aop_1.0.0' in bundle 'com.springsource.org.aopalliance_1.0.0[61]' used by 'org.springframework.transaction.jta_3.0.5.RELEASE' in bundle 'org.springframework.transaction_3.0.5.RELEASE[89]'
                conflicts with 'org.aopalliance.aop_1.0.0' in bundle 'com.springsource.org.aopalliance_1.0.0[31]' used by 'org.springframework.scheduling.annotation_3.0.5.RELEASE' in bundle 'org.springframework.context_3.0.5.RELEASE[25]'

        Uses violation: <Import-Package: org.springframework.http.client; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
             Resolver reported uses conflict for import constrained to bundle <org.springframework.web> constrained bundle version range "[3.0.5.RELEASE,3.0.5.RELEASE]"
        Uses violation: <Import-Package: org.springframework.util; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
             Resolver reported uses conflict for import constrained to bundle <org.springframework.core> constrained bundle version range "[3.0.5.RELEASE,3.0.5.RELEASE]"
        Uses violation: <Import-Package: org.springframework.beans.factory.parsing; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
             Resolver reported uses conflict for import constrained to bundle <org.springframework.beans> constrained bundle version range "[3.0.5.RELEASE,3.0.5.RELEASE]"
        Uses violation: <Import-Package: org.springframework.web.servlet.mvc.annotation; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
             Resolver reported uses conflict for import constrained to bundle <org.springframework.web.servlet> constrained bundle version range "[3.0.5.RELEASE,3.0.5.RELEASE]"
        Uses violation: <Import-Package: org.springframework.remoting.httpinvoker; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
             Resolver reported uses conflict for import constrained to bundle <org.springframework.web> constrained bundle version range "[3.0.5.RELEASE,3.0.5.RELEASE]"
        Uses violation: <Import-Package: org.springframework.jms.listener; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
             Resolver reported uses conflict for import constrained to bundle <org.springframework.jms> constrained bundle version range "[3.0.5.RELEASE,3.0.5.RELEASE]"
        Uses violation: <Import-Package: org.eclipse.virgo.web.dm; version="[1.0.0,3.1.0)"> in bundle <web.app_1.0.0[1307460649971]>
             Resolver reported uses conflict for import
        Uses violation: <Import-Package: org.springframework.context.support; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
            Found conflicts:
                package        'org.springframework.core.convert.support_3.0.5.RELEASE' in bundle 'org.springframework.core_3.0.5.RELEASE[24]' used by 'org.springframework.context.support_3.0.5.RELEASE' in bundle 'org.springframework.context_3.0.5.RELEASE[25]'
                conflicts with 'org.springframework.core.convert.support_3.0.5.RELEASE' in bundle 'org.springframework.core_3.0.5.RELEASE[84]' used by 'org.springframework.remoting.jaxrpc_3.0.5.RELEASE' in bundle 'org.springframework.web_3.0.5.RELEASE[90]'
                package        'org.springframework.beans.factory.xml_3.0.5.RELEASE' in bundle 'org.springframework.beans_3.0.5.RELEASE[23]' used by 'org.springframework.context.support_3.0.5.RELEASE' in bundle 'org.springframework.context_3.0.5.RELEASE[25]'
                conflicts with 'org.springframework.beans.factory.xml_3.0.5.RELEASE' in bundle 'org.springframework.beans_3.0.5.RELEASE[82]' used by 'org.springframework.remoting.jaxrpc_3.0.5.RELEASE' in bundle 'org.springframework.web_3.0.5.RELEASE[90]'
                package        'org.springframework.core.io.support_3.0.5.RELEASE' in bundle 'org.springframework.core_3.0.5.RELEASE[24]' used by 'org.springframework.context.support_3.0.5.RELEASE' in bundle 'org.springframework.context_3.0.5.RELEASE[25]'
                conflicts with 'org.springframework.core.io.support_3.0.5.RELEASE' in bundle 'org.springframework.core_3.0.5.RELEASE[84]' used by 'org.springframework.web.servlet.tags_3.0.5.RELEASE' in bundle 'org.springframework.web.servlet_3.0.5.RELEASE[113]'
                package        'org.springframework.asm.commons_3.0.5.RELEASE' in bundle 'org.springframework.asm_3.0.5.RELEASE[21]' used by 'org.springframework.context.support_3.0.5.RELEASE' in bundle 'org.springframework.context_3.0.5.RELEASE[25]'
                conflicts with 'org.springframework.asm.commons_3.0.5.RELEASE' in bundle 'org.springframework.asm_3.0.5.RELEASE[81]' used by 'org.springframework.web.servlet.tags_3.0.5.RELEASE' in bundle 'org.springframework.web.servlet_3.0.5.RELEASE[113]'

        Uses violation: <Import-Package: org.springframework.core.convert.support; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
             Resolver reported uses conflict for import constrained to bundle <org.springframework.core> constrained bundle version range "[3.0.5.RELEASE,3.0.5.RELEASE]"
        Uses violation: <Import-Package: org.springframework.aop.interceptor; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
            Found conflicts:
                package        'org.springframework.asm.commons_3.0.5.RELEASE' in bundle 'org.springframework.asm_3.0.5.RELEASE[21]' used by 'org.springframework.aop.interceptor_3.0.5.RELEASE' in bundle 'org.springframework.aop_3.0.5.RELEASE[20]'
                conflicts with 'org.springframework.asm.commons_3.0.5.RELEASE' in bundle 'org.springframework.asm_3.0.5.RELEASE[81]' used by 'org.springframework.web.servlet.tags_3.0.5.RELEASE' in bundle 'org.springframework.web.servlet_3.0.5.RELEASE[113]'
                package        'org.aopalliance.intercept_1.0.0' in bundle 'com.springsource.org.aopalliance_1.0.0[31]' used by 'org.springframework.aop.interceptor_3.0.5.RELEASE' in bundle 'org.springframework.aop_3.0.5.RELEASE[20]'
                conflicts with 'org.aopalliance.intercept_1.0.0' in bundle 'com.springsource.org.aopalliance_1.0.0[61]' used by 'org.springframework.remoting.jaxrpc_3.0.5.RELEASE' in bundle 'org.springframework.web_3.0.5.RELEASE[90]'
                package        'org.aopalliance.aop_1.0.0' in bundle 'com.springsource.org.aopalliance_1.0.0[31]' used by 'org.springframework.aop.interceptor_3.0.5.RELEASE' in bundle 'org.springframework.aop_3.0.5.RELEASE[20]'
                conflicts with 'org.aopalliance.aop_1.0.0' in bundle 'com.springsource.org.aopalliance_1.0.0[61]' used by 'org.springframework.scheduling.annotation_3.0.5.RELEASE' in bundle 'org.springframework.context_3.0.5.RELEASE[83]'

        Uses violation: <Import-Package: org.springframework.web.client; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
             Resolver reported uses conflict for import constrained to bundle <org.springframework.web> constrained bundle version range "[3.0.5.RELEASE,3.0.5.RELEASE]"
        Uses violation: <Import-Package: org.springframework.jdbc.datasource; version="0.0.0"> in bundle <web.app_1.0.0[1307460649971]>
             Resolver reported uses conflict for import constrained to bundle <org.springframework.jdbc> constrained bundle version range "[3.0.5.RELEASE,3.0.5.RELEASE]"

	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.deployer.management.StandardDeployer.deploy(StandardDeployer.java:52)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.sun.jmx.mbeanserver.ConvertingMethod.invokeWithOpenReturn(Unknown Source)
	at com.sun.jmx.mbeanserver.MXBeanIntrospector.invokeM2(Unknown Source)
	at com.sun.jmx.mbeanserver.MXBeanIntrospector.invokeM2(Unknown Source)
	at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Unknown Source)
	at com.sun.jmx.mbeanserver.PerInterface.invoke(Unknown Source)
	at com.sun.jmx.mbeanserver.MBeanSupport.invoke(Unknown Source)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Unknown Source)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Unknown Source)
	at javax.management.remote.rmi.RMIConnectionImpl.doOperation(Unknown Source)
	at javax.management.remote.rmi.RMIConnectionImpl.access$200(Unknown Source)
	at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(Unknown Source)
	at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(Unknown Source)
	at javax.management.remote.rmi.RMIConnectionImpl.invoke(Unknown Source)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
	at sun.rmi.transport.Transport$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.Transport.serviceCall(Unknown Source)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)


it looks to me as if the Spring bundles are instanciated twice from different other bundles.

The MANIFEST.MF of the WAR file looks like this:

Manifest-Version: 1.0
Bundle-ClassPath: WEB-INF/classes 
Bundle-SymbolicName: web.app
Bundle-Version: 1.0.0
Bundle-ManifestVersion: 2
Web-ContextPath: /
Import-Package: org.eclipse.virgo.web.dm;version="[1.0,3.1.0)"
Import-Library: org.springframework.spring;version="[2.5.4,3.1.0)" 
Import-Bundle: com.springsource.org.apache.commons.codec;version="[1.4.0,1.4.0]",
 db.hibernate




Any ideas how to resolve this problem?


Thanks in advance

Carsten
Re: Package resolve conflict while adding spring service to WAR [message #677117 is a reply to message #677116] Tue, 07 June 2011 15:55 Go to previous messageGo to next message
Glyn Normington is currently offline Glyn Normington
Messages: 1222
Registered: July 2009
Senior Member
Please start with the FAQ.
Re: Package resolve conflict while adding spring service to WAR [message #677131 is a reply to message #677117] Tue, 07 June 2011 16:32 Go to previous messageGo to next message
Carsten Stiller is currently offline Carsten Stiller
Messages: 7
Registered: April 2011
Junior Member
Okay ... but I still don't get it:

All the versions are the same in the conflicted bundles - only the bundle IDs differ. Also all the bundles are referred from other Virgo/Spring bundles, not from my WAR file. The import

Import-Library: org.springframework.spring;version="[2.5.4,3.1.0)"

is the only Import in my code pointing to Spring-bundles?

Re: Package resolve conflict while adding spring service to WAR [message #677321 is a reply to message #677131] Wed, 08 June 2011 07:44 Go to previous messageGo to next message
Carsten Stiller is currently offline Carsten Stiller
Messages: 7
Registered: April 2011
Junior Member
I finally managed to figure it out - apparently it was a problem with some MyFaces2 JARs from within the WAR file, which I've now included correctly as proper OSGi bundles. If someone is struggling with the same problem: Although the JARs for myfaces-api and myfaces-impl seem to have valid OSGi enabled MANIFEST.MF, you mustn't place them in the classpath (WEB-INF/lib or Virgos usr-repository). Just refer to myfaces-bundle from your WARs MANIFEST.MF.

Still - I don't see the connection to the above posted stacktrace, maybe it was another problem I resolved "by accident" on the way ...
Re: Package resolve conflict while adding spring service to WAR [message #677336 is a reply to message #677321] Wed, 08 June 2011 08:24 Go to previous message
Glyn Normington is currently offline Glyn Normington
Messages: 1222
Registered: July 2009
Senior Member
I'm glad you made some progress. Perhaps the uses constraint was due to an (optional) import of a Spring bundle also being included inside the WAR, thus providing conflicting sources of one or more packages. But I think that would only cause a uses constraint violation if the WAR also exported the package.

Please note that a WAR that specifies a bundle class path is deemed to be a Web Application Bundle rather than a standard WAR file. The processing is pretty similar between WARs and WABs in Virgo 2.x, but in 3.0.0.M06 we will be tightening up the WAB manifest header defaulting rules and you'll need to configure the Web Integration Layer as will be described in the User Guide if you still want WABs to be processed similarly to WARs.

One clarification, I presume the MyFaces2 JARs really should go in repository/usr as this has nothing to do with the WAR's bundle classpath.
Previous Topic:High Availability
Next Topic:Could not load driverClass oracle.jdbc.OracleDriver
Goto Forum:
  


Current Time: Wed Oct 01 18:27:19 GMT 2014

Powered by FUDForum. Page generated in 0.12002 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software