Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » VTS 3.0 can't resolve constraint satisfied by a package in /repository/usr
icon9.gif  VTS 3.0 can't resolve constraint satisfied by a package in /repository/usr [message #723318] Thu, 08 September 2011 06:12 Go to next message
Alexey Romanov is currently offline Alexey Romanov
Messages: 263
Registered: May 2010
Senior Member
When I run my plan under Virgo Tomcat Server 3.0, it can't resolve a constraint, giving this exception:
...
[2011-09-08 14:05:52.957]  TCP Connection(2)-127.0.0.1 <DE0000I> Installing plan 'pshd.plan' version '3.2.0'. 
[2011-09-08 14:05:52.964]  TCP Connection(2)-127.0.0.1 <DE0000I> Installing configuration 'ru.focusmedia.odp.pshd.ssd.app' version '0.0.0'. 
[2011-09-08 14:05:52.977]  TCP Connection(2)-127.0.0.1 <DE0000I> Installing bundle 'pshd.plan-3.2-ru.focusmedia.odp.ssd.db' version '3.2.0'. 
[2011-09-08 14:05:55.302]  TCP Connection(2)-127.0.0.1 <DE0000I> Installing bundle 'pshd.plan-3.2-ru.focusmedia.odp.ssd' version '3.1.0'. 
[2011-09-08 14:05:55.361]  TCP Connection(2)-127.0.0.1 <DE0000I> Installing bundle 'pshd.plan-3.2-ru.focusmedia.odp.pshd.jpa' version '3.2.0'. 
[2011-09-08 14:05:55.377]  TCP Connection(2)-127.0.0.1 <DE0000I> Installing bundle 'pshd.plan-3.2-ru.focusmedia.odp.pshd.video' version '3.2.0'. 
[2011-09-08 14:05:55.381]  TCP Connection(2)-127.0.0.1 <DE0000I> Installing configuration 'ru.focusmedia.odp.poim.server' version '0.0.0'. 
[2011-09-08 14:05:55.640]  TCP Connection(2)-127.0.0.1 <DE0000I> Installing bundle 'pshd.plan-3.2-ru.focusmedia.odp.poim.server' version '3.2.0'. 
[2011-09-08 14:05:58.208]  TCP Connection(2)-127.0.0.1 <ME0003I> Dump 'serviceability\dump\2011-09-08-14-05-314' generated 
[2011-09-08 14:05:58.216]  TCP Connection(2)-127.0.0.1 <DE0002E> Installation of plan 'pshd.plan' version '3.2.0' failed. org.eclipse.virgo.kernel.osgi.framework.UnableToSatisfyBundleDependenciesException: Unable to satisfy dependencies of bundle 'pshd.plan-3.2-ru.focusmedia.odp.poim.server' at version '3.2.0': Cannot resolve: pshd.plan-3.2-ru.focusmedia.odp.poim.server
    Resolver report:
        An Import-Package could not be resolved. Caused by missing constraint in bundle <pshd.plan-3.2-ru.focusmedia.odp.poim.server_3.2.0>
             constraint: <Import-Package: org.apache.mina.proxy.handlers.http.ntlm; version="0.0.0"> constrained to bundle <org.apache.mina.core> constrained bundle version range "[2.0.2,2.0.2]"
        An Import-Package could not be resolved. Caused by missing constraint in bundle <pshd.plan-3.2-synthetic.context_3.2.0>
             constraint: <Import-Package: ru.focusmedia.pshd.server.poim.protocol.impl.schema; version="0.0.0"> constrained to bundle <pshd.plan-3.2-ru.focusmedia.odp.poim.server> constrained bundle version range "[3.2.0,3.2.0]"
            with attributes {module_scope=pshd.plan-3.2}


	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(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at com.sun.jmx.mbeanserver.ConvertingMethod.invokeWithOpenReturn(ConvertingMethod.java:167)
	at com.sun.jmx.mbeanserver.MXBeanIntrospector.invokeM2(MXBeanIntrospector.java:96)
	at com.sun.jmx.mbeanserver.MXBeanIntrospector.invokeM2(MXBeanIntrospector.java:33)
	at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:208)
	at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:120)
	at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:262)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
	at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1427)
	at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
	at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1265)
	at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1360)
	at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
	at sun.rmi.transport.Transport$1.run(Transport.java:159)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:662)

[2011-09-08 14:05:58.223]  TCP Connection(2)-127.0.0.1 <DE0003E> Install failed for configuration 'ru.focusmedia.odp.pshd.ssd.app' version '0.0.0'. 
...

The problem is:
1. org.apache.mina.core-2.0.2 is in /repository/usr
2. Virgo Web Server 2.1.1 doesn't give this error
3. If I add org.apache.mina.core to pshd.plan, it is started successfully:
...
[2011-09-08 14:01:24.569]  TCP Connection(2)-127.0.0.1 <DE0000I> Installing plan 'pshd.plan' version '3.2.0'. 
[2011-09-08 14:01:24.576]  TCP Connection(2)-127.0.0.1 <DE0000I> Installing configuration 'ru.focusmedia.odp.pshd.ssd.app' version '0.0.0'. 
[2011-09-08 14:01:26.874]  TCP Connection(2)-127.0.0.1 <DE0000I> Installing bundle 'pshd.plan-3.2-org.apache.mina.core' version '2.0.2'. 
[2011-09-08 14:01:26.896]  TCP Connection(2)-127.0.0.1 <DE0000I> Installing bundle 'pshd.plan-3.2-ru.focusmedia.odp.ssd.db' version '3.2.0'. 
[2011-09-08 14:01:27.996]  TCP Connection(2)-127.0.0.1 <DE0000I> Installing bundle 'pshd.plan-3.2-ru.focusmedia.odp.ssd' version '3.1.0'. 
[2011-09-08 14:01:28.198]  TCP Connection(2)-127.0.0.1 <DE0000I> Installing bundle 'pshd.plan-3.2-ru.focusmedia.odp.pshd.jpa' version '3.2.0'. 
[2011-09-08 14:01:28.239]  TCP Connection(2)-127.0.0.1 <DE0000I> Installing bundle 'pshd.plan-3.2-ru.focusmedia.odp.pshd.video' version '3.2.0'. 
[2011-09-08 14:01:28.243]  TCP Connection(2)-127.0.0.1 <DE0000I> Installing configuration 'ru.focusmedia.odp.poim.server' version '0.0.0'. 
[2011-09-08 14:01:28.622]  TCP Connection(2)-127.0.0.1 <DE0000I> Installing bundle 'pshd.plan-3.2-ru.focusmedia.odp.poim.server' version '3.2.0'. 
[2011-09-08 14:01:29.547]  TCP Connection(2)-127.0.0.1 <DE0001I> Installed configuration 'ru.focusmedia.odp.pshd.ssd.app' version '0.0.0'. 
[2011-09-08 14:01:29.549]  TCP Connection(2)-127.0.0.1 <DE0001I> Installed bundle 'pshd.plan-3.2-org.apache.mina.core' version '2.0.2'. 
[2011-09-08 14:01:29.551]  TCP Connection(2)-127.0.0.1 <DE0001I> Installed bundle 'pshd.plan-3.2-ru.focusmedia.odp.ssd.db' version '3.2.0'. 
[2011-09-08 14:01:29.552]  TCP Connection(2)-127.0.0.1 <DE0001I> Installed bundle 'pshd.plan-3.2-ru.focusmedia.odp.ssd' version '3.1.0'. 
[2011-09-08 14:01:29.553]  TCP Connection(2)-127.0.0.1 <DE0001I> Installed bundle 'pshd.plan-3.2-ru.focusmedia.odp.pshd.jpa' version '3.2.0'. 
[2011-09-08 14:01:29.555]  TCP Connection(2)-127.0.0.1 <DE0001I> Installed bundle 'pshd.plan-3.2-ru.focusmedia.odp.pshd.video' version '3.2.0'. 
[2011-09-08 14:01:29.556]  TCP Connection(2)-127.0.0.1 <DE0001I> Installed configuration 'ru.focusmedia.odp.poim.server' version '0.0.0'. 
[2011-09-08 14:01:29.557]  TCP Connection(2)-127.0.0.1 <DE0001I> Installed bundle 'pshd.plan-3.2-ru.focusmedia.odp.poim.server' version '3.2.0'. 
[2011-09-08 14:01:29.559]  TCP Connection(2)-127.0.0.1 <DE0001I> Installed bundle 'pshd.plan-3.2-synthetic.context' version '3.2.0'. 
[2011-09-08 14:01:29.560]  TCP Connection(2)-127.0.0.1 <DE0001I> Installed plan 'pshd.plan' version '3.2.0'. 
[2011-09-08 14:01:29.616]  TCP Connection(2)-127.0.0.1 <DE0004I> Starting plan 'pshd.plan' version '3.2.0'. 
[2011-09-08 14:01:29.618]  TCP Connection(2)-127.0.0.1 <DE0004I> Starting configuration 'ru.focusmedia.odp.pshd.ssd.app' version '0.0.0'. 
[2011-09-08 14:01:30.053]  TCP Connection(2)-127.0.0.1 <DE0005I> Started configuration 'ru.focusmedia.odp.pshd.ssd.app' version '0.0.0'. 
[2011-09-08 14:01:30.057]  TCP Connection(2)-127.0.0.1 <DE0004I> Starting bundle 'pshd.plan-3.2-org.apache.mina.core' version '2.0.2'. 
[2011-09-08 14:01:30.061] start-signalling-2           <DE0005I> Started bundle 'pshd.plan-3.2-org.apache.mina.core' version '2.0.2'. 
[2011-09-08 14:01:30.065]  TCP Connection(2)-127.0.0.1 <DE0004I> Starting bundle 'pshd.plan-3.2-ru.focusmedia.odp.ssd.db' version '3.2.0'. 
[2011-09-08 14:01:30.098]  TCP Connection(2)-127.0.0.1 <DE0004I> Starting bundle 'pshd.plan-3.2-ru.focusmedia.odp.ssd' version '3.1.0'. 
[2011-09-08 14:01:30.104]  TCP Connection(2)-127.0.0.1 <DE0004I> Starting bundle 'pshd.plan-3.2-ru.focusmedia.odp.pshd.jpa' version '3.2.0'. 
[2011-09-08 14:01:30.198]  TCP Connection(2)-127.0.0.1 <DE0004I> Starting bundle 'pshd.plan-3.2-ru.focusmedia.odp.pshd.video' version '3.2.0'. 
[2011-09-08 14:01:30.201] start-signalling-2           <WE0000I> Starting web bundle 'pshd.plan-3.2-ru.focusmedia.odp.pshd.video' version '3.2.0' with context path '/video'. 
[2011-09-08 14:01:30.208]  TCP Connection(2)-127.0.0.1 <DE0004I> Starting configuration 'ru.focusmedia.odp.poim.server' version '0.0.0'. 
[2011-09-08 14:01:30.278]  TCP Connection(2)-127.0.0.1 <DE0005I> Started configuration 'ru.focusmedia.odp.poim.server' version '0.0.0'. 
[2011-09-08 14:01:30.281]  TCP Connection(2)-127.0.0.1 <DE0004I> Starting bundle 'pshd.plan-3.2-ru.focusmedia.odp.poim.server' version '3.2.0'. 
[2011-09-08 14:01:30.287]  TCP Connection(2)-127.0.0.1 <DE0004I> Starting bundle 'pshd.plan-3.2-synthetic.context' version '3.2.0'. 
[2011-09-08 14:01:30.291] start-signalling-1           <DE0005I> Started bundle 'pshd.plan-3.2-synthetic.context' version '3.2.0'. 
[2011-09-08 14:01:32.607] start-signalling-1           <DE0005I> Started bundle 'pshd.plan-3.2-ru.focusmedia.odp.ssd.db' version '3.2.0'. 
[2011-09-08 14:01:34.585] start-signalling-1           <DE0005I> Started bundle 'pshd.plan-3.2-ru.focusmedia.odp.ssd' version '3.1.0'. 
[2011-09-08 14:01:34.590] start-signalling-2           <WE0001I> Started web bundle 'pshd.plan-3.2-ru.focusmedia.odp.pshd.video' version '3.2.0' with context path '/video'. 
[2011-09-08 14:01:34.621] start-signalling-2           <DE0005I> Started bundle 'pshd.plan-3.2-ru.focusmedia.odp.pshd.video' version '3.2.0'. 
[2011-09-08 14:01:35.535] start-signalling-2           <DE0005I> Started bundle 'pshd.plan-3.2-ru.focusmedia.odp.pshd.jpa' version '3.2.0'. 
...

At least this gives a workaround for this problem, but I still don't see any reason for it Sad
Re: VTS 3.0 can't resolve constraint satisfied by a package in /repository/usr [message #723489 is a reply to message #723318] Thu, 08 September 2011 12:44 Go to previous messageGo to next message
Chris Frost is currently offline Chris Frost
Messages: 227
Registered: January 2010
Location: Southampton, England
Senior Member

Hi,

I'm not sure what is going on here, I have two hunches.

It is either finding the mini bundles in repository/ext and getting confused between that one and the one in usr or the package version doesn't match. Can you double check the manifest in your mini bundle and the 'pshd.plan-3.2-ru.focusmedia.odp.poim.server' bundle.

Chris.


------------------------------------------------
Chris Frost, Twitter @cgfrost
Springsource, a divison of VMware.
Re: VTS 3.0 can't resolve constraint satisfied by a package in /repository/usr [message #723715 is a reply to message #723489] Fri, 09 September 2011 04:46 Go to previous messageGo to next message
Alexey Romanov is currently offline Alexey Romanov
Messages: 263
Registered: May 2010
Senior Member
By "mini bundles" do you mean Mina bundles? There are no Mina bundles in /repository/ext, and here is the manifest from mina-core-2.0.2.jar:
Manifest-Version: 1.0
Export-Package: org.apache.mina.proxy.handlers.http.ntlm;uses:="org.ap
 ache.mina.proxy.session,javax.crypto,org.slf4j,org.apache.mina.proxy,
 javax.crypto.spec,org.apache.mina.proxy.handlers,org.apache.mina.core
 .filterchain,org.apache.mina.proxy.handlers.http,org.apache.mina.util
 ,org.apache.mina.proxy.utils";version="2.0.2",org.apache.mina.core.fu
 ture;uses:="org.apache.mina.core.polling,org.apache.mina.core.session
 ,org.apache.mina.core.service,org.apache.mina.util,org.apache.mina.co
 re";version="2.0.2",org.apache.mina.filter.codec.demux;uses:="org.apa
 che.mina.core.session,org.apache.mina.core.buffer,org.apache.mina.uti
 l,org.apache.mina.filter.codec";version="2.0.2",org.apache.mina.handl
 er.demux;uses:="org.apache.mina.core.future,org.apache.mina.core.sess
 ion,org.apache.mina.core.service,org.apache.mina.util";version="2.0.2
 ",org.apache.mina.core.buffer;version="2.0.2",org.apache.mina.filter.
 keepalive;uses:="org.apache.mina.core.future,org.apache.mina.core.ses
 sion,org.apache.mina.core.filterchain,org.slf4j,org.apache.mina.core.
 write";version="2.0.2",org.apache.mina.util.byteaccess;uses:="org.apa
 che.mina.core.buffer";version="2.0.2",org.apache.mina.handler.stream;
 uses:="org.apache.mina.core.future,org.apache.mina.core.session,org.a
 pache.mina.core.buffer,org.apache.mina.core.service,org.slf4j";versio
 n="2.0.2",org.apache.mina.transport.vmpipe;uses:="org.apache.mina.cor
 e.future,org.apache.mina.core.buffer,org.apache.mina.core.write,org.a
 pache.mina.core.session,org.apache.mina.core.filterchain,org.apache.m
 ina.core.service,org.apache.mina.util";version="2.0.2",org.apache.min
 a.handler.multiton;uses:="org.apache.mina.core.session,org.apache.min
 a.core.service";version="2.0.2",org.apache.mina.filter.stream;uses:="
 org.apache.mina.core.file,org.apache.mina.core.future,org.apache.mina
 .core.session,org.apache.mina.core.buffer,org.apache.mina.core.filter
 chain,org.apache.mina.core.write";version="2.0.2",org.apache.mina.fil
 ter.executor;uses:="org.apache.mina.core.future,org.apache.mina.core.
 session,org.apache.mina.core.buffer,org.apache.mina.core.filterchain,
 org.slf4j,org.apache.mina.core.write";version="2.0.2",org.apache.mina
 .filter.errorgenerating;uses:="org.apache.mina.core.session,org.apach
 e.mina.core.future,org.apache.mina.core.buffer,org.apache.mina.core.f
 ilterchain,org.apache.mina.core.write,org.slf4j";version="2.0.2",org.
 apache.mina.filter.codec;uses:="org.apache.mina.core.file,org.apache.
 mina.core.future,org.apache.mina.core.session,org.apache.mina.core.bu
 ffer,org.apache.mina.core.filterchain,org.apache.mina.core.service,or
 g.slf4j,org.apache.mina.core.write";version="2.0.2",org.apache.mina.f
 ilter.util;uses:="org.apache.mina.core.session,org.apache.mina.core.f
 ilterchain,org.apache.mina.core.write";version="2.0.2",org.apache.min
 a.filter.statistic;uses:="org.apache.mina.core.session,org.apache.min
 a.core.filterchain,org.apache.mina.core.write";version="2.0.2",org.ap
 ache.mina.core.polling;uses:="org.apache.mina.core.future,org.apache.
 mina.core.buffer,org.apache.mina.core,org.slf4j,org.apache.mina.core.
 write,org.apache.mina.core.file,org.apache.mina.core.session,org.apac
 he.mina.core.filterchain,org.apache.mina.core.service,org.apache.mina
 .util,org.apache.mina.transport.socket";version="2.0.2",org.apache.mi
 na.handler.chain;uses:="org.apache.mina.core.session,org.apache.mina.
 core.service";version="2.0.2",org.apache.mina.proxy.handlers;version=
 "2.0.2",org.apache.mina.core.filterchain;uses:="org.apache.mina.core.
 future,org.apache.mina.core.session,org.apache.mina.core.buffer,org.a
 pache.mina.core.service,org.slf4j,org.apache.mina.core.write";version
 ="2.0.2",org.apache.mina.filter.buffer;uses:="org.apache.mina.core.se
 ssion,org.apache.mina.core.buffer,org.apache.mina.core.filterchain,or
 g.apache.mina.util,org.apache.mina.core.write,org.slf4j";version="2.0
 .2",org.apache.mina.core.service;uses:="org.apache.mina.core.future,o
 rg.apache.mina.core,org.slf4j,org.apache.mina.core.write,org.apache.m
 ina.core.session,org.apache.mina.core.filterchain,org.apache.mina.uti
 l";version="2.0.2",org.apache.mina.proxy.handlers.http;uses:="org.apa
 che.mina.proxy.handlers.http.ntlm,org.apache.mina.core.future,org.apa
 che.mina.core.buffer,org.apache.mina.proxy.session,org.apache.mina.pr
 oxy.handlers.http.digest,org.slf4j,org.apache.mina.proxy,org.apache.m
 ina.core.session,org.apache.mina.proxy.handlers,org.apache.mina.core.
 filterchain,org.apache.mina.proxy.handlers.http.basic,org.apache.mina
 .proxy.utils";version="2.0.2",org.apache.mina.proxy.handlers.http.bas
 ic;uses:="org.apache.mina.proxy.handlers,org.apache.mina.core.filterc
 hain,org.apache.mina.proxy.handlers.http,org.apache.mina.util,org.apa
 che.mina.proxy.utils,org.apache.mina.proxy.session,org.slf4j,org.apac
 he.mina.proxy";version="2.0.2",org.apache.mina.transport.socket.nio;u
 ses:="org.apache.mina.core.buffer,org.apache.mina.core,org.apache.min
 a.core.session,org.apache.mina.core.polling,org.apache.mina.core.file
 ,org.apache.mina.core.filterchain,org.apache.mina.core.service,org.ap
 ache.mina.transport.socket";version="2.0.2",org.apache.mina.filter.co
 dec.serialization;uses:="org.apache.mina.core.session,org.apache.mina
 .core.buffer,org.apache.mina.filter.codec";version="2.0.2",org.apache
 .mina.filter.codec.prefixedstring;uses:="org.apache.mina.core.session
 ,org.apache.mina.core.buffer,org.apache.mina.filter.codec";version="2
 .0.2",org.apache.mina.proxy.filter;uses:="org.apache.mina.core.buffer
 ,org.apache.mina.proxy.session,org.apache.mina.core.write,org.slf4j,o
 rg.apache.mina.proxy,org.apache.mina.core.session,org.apache.mina.pro
 xy.handlers,org.apache.mina.proxy.handlers.socks,org.apache.mina.core
 .filterchain,org.apache.mina.proxy.handlers.http,org.apache.mina.prox
 y.event";version="2.0.2",org.apache.mina.filter.firewall;uses:="org.a
 pache.mina.core.session,org.apache.mina.core.future,org.apache.mina.c
 ore.filterchain,org.slf4j,org.apache.mina.core.write";version="2.0.2"
 ,org.apache.mina.core;uses:="org.apache.mina.core.future,org.apache.m
 ina.core.session,org.apache.mina.core.buffer";version="2.0.2",org.apa
 che.mina.proxy.session;uses:="org.apache.mina.core.future,org.apache.
 mina.proxy.filter,org.apache.mina.core.session,org.apache.mina.proxy.
 handlers,org.apache.mina.proxy.event,org.apache.mina.proxy";version="
 2.0.2",org.apache.mina.proxy.handlers.http.digest;uses:="javax.securi
 ty.sasl,org.apache.mina.proxy.session,org.slf4j,org.apache.mina.proxy
 ,org.apache.mina.core.session,org.apache.mina.proxy.handlers,org.apac
 he.mina.core.filterchain,org.apache.mina.proxy.handlers.http,org.apac
 he.mina.util,org.apache.mina.proxy.utils";version="2.0.2",org.apache.
 mina.core.write;uses:="org.apache.mina.core.future,org.apache.mina.co
 re.session,org.apache.mina.util";version="2.0.2",org.apache.mina.prox
 y;uses:="javax.security.sasl,org.apache.mina.core.future,org.apache.m
 ina.proxy.filter,org.apache.mina.core.buffer,org.apache.mina.proxy.se
 ssion,org.apache.mina.core.write,org.slf4j,org.apache.mina.core.file,
 org.apache.mina.core.session,org.apache.mina.proxy.handlers,org.apach
 e.mina.proxy.handlers.socks,org.apache.mina.core.filterchain,org.apac
 he.mina.core.service,org.apache.mina.proxy.event,org.apache.mina.tran
 sport.socket";version="2.0.2",org.apache.mina.filter.ssl;uses:="org.a
 pache.mina.core.future,org.apache.mina.core.buffer,org.slf4j,org.apac
 he.mina.core.write,org.apache.mina.core.session,org.apache.mina.core.
 filterchain,org.apache.mina.core.service,javax.net.ssl";version="2.0.
 2",org.apache.mina.core.session;uses:="org.apache.mina.core.future,or
 g.apache.mina.core.buffer,org.apache.mina.core.write,org.apache.mina.
 core.file,org.apache.mina.core.filterchain,org.apache.mina.core.servi
 ce,org.apache.mina.util";version="2.0.2",org.apache.mina.core.file;ve
 rsion="2.0.2",org.apache.mina.filter.codec.statemachine;uses:="org.ap
 ache.mina.core.session,org.apache.mina.core.buffer,org.apache.mina.co
 re.filterchain,org.slf4j,org.apache.mina.filter.codec";version="2.0.2
 ",org.apache.mina.filter.reqres;uses:="org.apache.mina.filter.util,or
 g.apache.mina.core.session,org.apache.mina.core.filterchain,org.slf4j
 ,org.apache.mina.core.write";version="2.0.2",org.apache.mina.proxy.ha
 ndlers.socks;uses:="org.apache.mina.core.future,org.apache.mina.core.
 buffer,org.apache.mina.proxy.session,org.ietf.jgss,org.slf4j,org.apac
 he.mina.proxy,org.apache.mina.core.session,org.apache.mina.proxy.hand
 lers,org.apache.mina.core.filterchain,org.apache.mina.proxy.utils";ve
 rsion="2.0.2",org.apache.mina.proxy.event;uses:="org.apache.mina.core
 .session,org.apache.mina.proxy.handlers,org.apache.mina.proxy.handler
 s.socks,org.apache.mina.core.filterchain,org.apache.mina.proxy.sessio
 n,org.slf4j,org.apache.mina.proxy";version="2.0.2",org.apache.mina.ut
 il;uses:="org.slf4j";version="2.0.2",org.apache.mina.proxy.utils;uses
 :="javax.security.sasl,org.apache.mina.core.buffer";version="2.0.2",o
 rg.apache.mina.filter.codec.textline;uses:="org.apache.mina.core.sess
 ion,org.apache.mina.core.buffer,org.apache.mina.filter.codec";version
 ="2.0.2",org.apache.mina.filter.logging;uses:="org.apache.mina.filter
 .util,org.apache.mina.core.session,org.apache.mina.core.filterchain,o
 rg.apache.mina.core.service,org.apache.mina.core.write,org.slf4j";ver
 sion="2.0.2",org.apache.mina.transport.socket;uses:="org.apache.mina.
 core.session,org.apache.mina.core.service";version="2.0.2"
Built-By: elecharny
Tool: Bnd-0.0.255
Bundle-Name: Apache MINA Core
Created-By: Apache Maven Bundle Plugin
Bundle-Vendor: Apache MINA Project
Build-Jdk: 1.6.0_22
Bundle-Version: 2.0.2
Bnd-LastModified: 1292004266446
Bundle-ManifestVersion: 2
Bundle-License: http://www.apache.org/licenses/LICENSE-2.0
Bundle-Description: Apache MINA is a network application framework whi
 ch helps users develop high performance and highly scalable network a
 pplications easily.  It provides an abstract event-driven asynchronou
 s API over various transports such as TCP/IP and UDP/IP via Java NIO.
Bundle-DocURL: http://mina.apache.org/
Bundle-SymbolicName: org.apache.mina.core
Import-Package: javax.crypto,javax.crypto.spec,javax.net.ssl,javax.sec
 urity.sasl,org.apache.mina.core;version="2.0.2",org.apache.mina.core.
 buffer;version="2.0.2",org.apache.mina.core.file;version="2.0.2",org.
 apache.mina.core.filterchain;version="2.0.2",org.apache.mina.core.fut
 ure;version="2.0.2",org.apache.mina.core.polling;version="2.0.2",org.
 apache.mina.core.service;version="2.0.2",org.apache.mina.core.session
 ;version="2.0.2",org.apache.mina.core.write;version="2.0.2",org.apach
 e.mina.filter.buffer;version="2.0.2",org.apache.mina.filter.codec;ver
 sion="2.0.2",org.apache.mina.filter.codec.demux;version="2.0.2",org.a
 pache.mina.filter.codec.prefixedstring;version="2.0.2",org.apache.min
 a.filter.codec.serialization;version="2.0.2",org.apache.mina.filter.c
 odec.statemachine;version="2.0.2",org.apache.mina.filter.codec.textli
 ne;version="2.0.2",org.apache.mina.filter.errorgenerating;version="2.
 0.2",org.apache.mina.filter.executor;version="2.0.2",org.apache.mina.
 filter.firewall;version="2.0.2",org.apache.mina.filter.keepalive;vers
 ion="2.0.2",org.apache.mina.filter.logging;version="2.0.2",org.apache
 .mina.filter.reqres;version="2.0.2",org.apache.mina.filter.ssl;versio
 n="2.0.2",org.apache.mina.filter.statistic;version="2.0.2",org.apache
 .mina.filter.stream;version="2.0.2",org.apache.mina.filter.util;versi
 on="2.0.2",org.apache.mina.handler.chain;version="2.0.2",org.apache.m
 ina.handler.demux;version="2.0.2",org.apache.mina.handler.multiton;ve
 rsion="2.0.2",org.apache.mina.handler.stream;version="2.0.2",org.apac
 he.mina.proxy;version="2.0.2",org.apache.mina.proxy.event;version="2.
 0.2",org.apache.mina.proxy.filter;version="2.0.2",org.apache.mina.pro
 xy.handlers;version="2.0.2",org.apache.mina.proxy.handlers.http;versi
 on="2.0.2",org.apache.mina.proxy.handlers.http.basic;version="2.0.2",
 org.apache.mina.proxy.handlers.http.digest;version="2.0.2",org.apache
 .mina.proxy.handlers.http.ntlm;version="2.0.2",org.apache.mina.proxy.
 handlers.socks;version="2.0.2",org.apache.mina.proxy.session;version=
 "2.0.2",org.apache.mina.proxy.utils;version="2.0.2",org.apache.mina.t
 ransport.socket;version="2.0.2",org.apache.mina.transport.socket.nio;
 version="2.0.2",org.apache.mina.transport.vmpipe;version="2.0.2",org.
 apache.mina.util;version="2.0.2",org.apache.mina.util.byteaccess;vers
 ion="2.0.2",org.ietf.jgss,org.slf4j;version="1.5"

Manifest for ru.focusmedia.odp.poim.server:
Manifest-Version: 1.0
Export-Package: ru.focusmedia.pshd.server;uses:="ru.focusmedia.odp.psh
 d.domain.model,ru.focusmedia.odp.pshd.integration",ru.focusmedia.pshd
 .server.poim;uses:="javax.xml.parsers,javax.xml.xpath,org.xml.sax,ru.
 focusmedia.pshd.server,ru.focusmedia.pshd.server.poim.db,ru.focusmedi
 a.pshd.server.poim.db.entity,ru.focusmedia.pshd.server.poim.protocol.
 impl.commands",ru.focusmedia.pshd.server.poim.cmdexec;uses:="ru.focus
 media.pshd.server,ru.focusmedia.pshd.server.poim.protocol.impl.schema
 ",ru.focusmedia.pshd.server.poim.db;uses:="javax.measure,javax.measur
 e.unit,org.core,ru.focusmedia.odp.pshd.domain.model,ru.focusmedia.odp
 .pshd.integration,ru.focusmedia.pshd.server,ru.focusmedia.pshd.server
 .poim,ru.focusmedia.pshd.server.poim.db.entity,ru.focusmedia.pshd.ser
 ver.poim.protocol.impl.commands,ru.focusmedia.pshd.server.poim.protoc
 ol.impl.schema",ru.focusmedia.pshd.server.poim.db.entity,ru.focusmedi
 a.pshd.server.poim.integration;uses:="javax.measure,javax.measure.uni
 t,org.core,org.utils.statuscodes,ru.focusmedia.odp.pshd.domain.model,
 ru.focusmedia.odp.pshd.integration,ru.focusmedia.pshd.server,ru.focus
 media.pshd.server.poim.db.entity",ru.focusmedia.pshd.server.poim.prot
 ocol;uses:="javax.measure,javax.measure.unit,org.core,org.utils.statu
 scodes,ru.focusmedia.jump,ru.focusmedia.jump.protocol,ru.focusmedia.o
 dp.pshd.domain.model,ru.focusmedia.odp.pshd.ssd.domain,ru.focusmedia.
 pshd.server.poim,ru.focusmedia.pshd.server.poim.integration,ru.focusm
 edia.pshd.server.poim.protocol.impl.commands,ru.focusmedia.pshd.serve
 r.poim.protocol.impl.commands.requests",ru.focusmedia.pshd.server.poi
 m.protocol.impl;uses:="ru.focusmedia.pshd.server.poim.protocol.impl.s
 chemaslist",ru.focusmedia.pshd.server.poim.protocol.impl.commands;use
 s:="ru.focusmedia.jump,ru.focusmedia.jump.annotation",ru.focusmedia.p
 shd.server.poim.protocol.impl.commands.requests;uses:="ru.focusmedia.
 jump.annotation",ru.focusmedia.pshd.server.poim.protocol.impl.command
 s.responses;uses:="ru.focusmedia.jump.annotation,ru.focusmedia.pshd.s
 erver.poim.protocol.impl.commands",ru.focusmedia.pshd.server.poim.pro
 tocol.impl.schema;uses:="javax.xml.bind,javax.xml.bind.annotation",ru
 .focusmedia.pshd.server.poim.protocol.impl.schemaslist;uses:="javax.x
 ml.bind.annotation",ru.focusmedia.pshd.server.poim.protocol.tests;use
 s:="org.junit",ru.focusmedia.pshd.server.poim.schema_stubs;uses:="org
 .slf4j,ru.focusmedia.odp.pshd.poim.bridge,ru.focusmedia.pshd.server,r
 u.focusmedia.pshd.server.poim.db",ru.focusmedia.pshd.server.poim.sche
 ma_stubs.tests.manual;uses:="org.junit,ru.focusmedia.odp.pshd.domain.
 model",ru.focusmedia.pshd.server.poim.tests.manual
Tool: Bundlor 1.1.0.BUILD-20101220120024
Import-Package: javax.measure,
 javax.measure.unit,
 javax.xml.bind,
 javax.xml.bind.annotation,
 javax.xml.namespace,
 javax.xml.parsers,
 javax.xml.xpath,
 org.core;version="[3.1.0,3.1.0]",
 org.slf4j,
 org.utils.statuscodes,
 org.w3c.dom,
 org.xml.sax,
 ru.focusmedia.odp.poim.protocol,
 ru.focusmedia.odp.poim.protocol.requests,
 ru.focusmedia.odp.poim.protocol.responses,
 ru.focusmedia.odp.pshd.domain.model,
 ru.focusmedia.odp.pshd.entity,
 ru.focusmedia.odp.pshd.integration,
 ru.focusmedia.odp.pshd.integration.fb,
 ru.focusmedia.odp.pshd.integration.roles,
 ru.focusmedia.odp.pshd.integration.users,
 ru.focusmedia.odp.pshd.repository.spi,
 ru.focusmedia.odp.pshd.ssd.domain
Import-Bundle: ru.focusmedia.jsr-275;version="[1.0.0,1.0.0]",
 org.apache.mina.core;version="[2.0.2,2.0.2]"
Bundle-SymbolicName: ru.focusmedia.odp.poim.server
Bundle-Version: 3.2.0
Bundle-Name: ru.focusmedia.odp.poim.server
Bundle-Vendor: focusmedia
Bundle-ManifestVersion: 2
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Import-Library: org.springframework.spring;version="[3.0.0.RELEASE,3.0.5.RELEASE]"

As I said, what seems really weird is point 3: VTS can find the Mina bundle in the repository,
and use it to satisfy the constraint.
Re: VTS 3.0 can't resolve constraint satisfied by a package in /repository/usr [message #723795 is a reply to message #723715] Fri, 09 September 2011 10:06 Go to previous messageGo to next message
Alexey Romanov is currently offline Alexey Romanov
Messages: 263
Registered: May 2010
Senior Member
This only works if the plan is scoped. Did the treatment of scopes change somehow in Virgo 3.0? Don't see anything relevant in http://wiki.eclipse.org/Virgo/Community/Migrating_from_2.x_to_3.0.0 (and of course there are still many dependencies in /repository/usr which are picked up even though they aren't listed directly in the plan)

[Updated on: Fri, 09 September 2011 10:08]

Report message to a moderator

Re: VTS 3.0 can't resolve constraint satisfied by a package in /repository/usr [message #725106 is a reply to message #723795] Tue, 13 September 2011 20:17 Go to previous messageGo to next message
Glyn Normington is currently offline Glyn Normington
Messages: 1222
Registered: July 2009
Senior Member
This does look odd. I suspect that the problem is that the mina bundle imports and exports certain packages (e.g. the ...ntlm package). Import-bundle of mina will expand to include all the exports, but if any of these exports are dropped in favour of a matching import during resolution, then the generated import package will be unresolvable. This is a limitation in the way Import-Bundle is implemented.

However I'm not aware that anything significant has changed in 3.0 to make this behaviour different from 2.1.0. Perhaps your setup under 2.1.0 causes the exports to be preferred over the imports so that the problem does not occur.

The resolver chooses either the import or the export of a package that is both imported and exported by a given bundle depending on other exporters of that package. This can be affected by e.g. bundle install order.

Perhaps you could raise an enhancement bugzilla to cover this. If you can provide a cut down example to confirm that my theory is correct, that would be very helpful.
Re: VTS 3.0 can't resolve constraint satisfied by a package in /repository/usr [message #725157 is a reply to message #725106] Wed, 14 September 2011 02:07 Go to previous message
Alexey Romanov is currently offline Alexey Romanov
Messages: 263
Registered: May 2010
Senior Member
Thanks! I'll try to do it when I have a bit of time.
Previous Topic:Double deploy from pickup directory in Virgo Tomcat Server 3.0
Next Topic:Correct way to deploy configuration artifacts from tooling
Goto Forum:
  


Current Time: Thu Apr 17 03:49:09 EDT 2014

Powered by FUDForum. Page generated in 0.02223 seconds