Problem with org.eclipse.virgo.web.dm; [message #754351] |
Wed, 02 November 2011 05:50  |
Eclipse User |
|
|
|
Hi all.
I just installed the new version of Virgo (3.0.1) and try to get work a simple web bundle.
But got a strange package not found exception.
osgi> ss
"Framework is launched."
id State Bundle
0 ACTIVE org.eclipse.osgi_3.7.0.v20110613
1 ACTIVE org.eclipse.equinox.region_1.0.0.v20110503
2 ACTIVE com.springsource.slf4j.api_1.6.1
3 ACTIVE com.springsource.slf4j.org.apache.commons.logging_1.6.1
4 ACTIVE com.springsource.org.aspectj.weaver_1.6.6.RELEASE
5 ACTIVE org.eclipse.virgo.kernel.deployer_3.0.1.RELEASE
6 ACTIVE org.eclipse.virgo.medic_3.0.1.RELEASE
7 ACTIVE org.eclipse.osgi.services_3.3.0.v20110110
8 ACTIVE org.eclipse.equinox.cm_1.0.300.v20101204
9 ACTIVE org.eclipse.virgo.medic.core_3.0.1.RELEASE
10 ACTIVE org.eclipse.virgo.util.osgi_3.0.1.RELEASE
11 ACTIVE org.eclipse.equinox.event_1.2.100.v20110110
12 ACTIVE org.eclipse.virgo.util.common_3.0.1.RELEASE
13 ACTIVE org.eclipse.virgo.util.io_3.0.1.RELEASE
14 RESOLVED org.eclipse.virgo.util.jmx_3.0.1.RELEASE
15 ACTIVE org.eclipse.virgo.util.math_3.0.1.RELEASE
16 ACTIVE org.eclipse.virgo.util.parser.manifest_3.0.1.RELEASE
17 ACTIVE com.springsource.org.apache.commons.codec_1.3.0
18 ACTIVE com.springsource.org.apache.commons.httpclient_3.1.0
19 ACTIVE org.eclipse.virgo.repository_3.0.1.RELEASE
20 RESOLVED org.springframework.aop_3.0.5.RELEASE
21 RESOLVED org.springframework.asm_3.0.5.RELEASE
22 RESOLVED org.springframework.expression_3.0.5.RELEASE
23 RESOLVED org.springframework.beans_3.0.5.RELEASE
24 RESOLVED org.springframework.core_3.0.5.RELEASE
25 RESOLVED org.springframework.context_3.0.5.RELEASE
26 ACTIVE org.eclipse.virgo.kernel.core_3.0.1.RELEASE
27 ACTIVE org.eclipse.virgo.kernel.agent.dm_3.0.1.RELEASE
28 RESOLVED org.springframework.osgi.core_1.2.1
29 ACTIVE org.springframework.osgi.extender_1.2.1
Fragments=37
30 RESOLVED org.springframework.osgi.io_1.2.1
31 RESOLVED com.springsource.org.aopalliance_1.0.0
32 ACTIVE org.eclipse.equinox.ds_1.3.0.v20110124-0830
33 ACTIVE org.eclipse.equinox.util_1.0.200.v20100503
34 ACTIVE org.eclipse.virgo.kernel.artifact_3.0.1.RELEASE
35 ACTIVE org.eclipse.virgo.kernel.services_3.0.1.RELEASE
36 ACTIVE org.eclipse.virgo.kernel.model_3.0.1.RELEASE
37 RESOLVED org.eclipse.virgo.kernel.kerneldmfragment_3.0.1.RELEASE
Master=29
38 ACTIVE org.eclipse.virgo.kernel.shell_3.0.1.RELEASE
39 ACTIVE org.eclipse.virgo.kernel.osgi_3.0.1.RELEASE
41 ACTIVE com.springsource.org.apache.mina.core_2.0.2
42 ACTIVE org.apache.felix.gogo.command_0.8.0.v201105062003
43 ACTIVE org.apache.felix.gogo.runtime_0.8.0.v201105062003
44 ACTIVE org.apache.felix.gogo.shell_0.8.0.v201107131313
45 ACTIVE org.eclipse.equinox.console.supportability_1.0.0.201108021516
46 ACTIVE com.springsource.org.apache.sshd.core_0.5.0
osgi> install file:C:/xxx/target/test.app-0.0.1-SNAPSHOT.war
Bundle ID: 117
osgi> headers 117
example (117)
-------------
Manifest-Version = 1.0
Bundle-Classpath = .,WEB-INF/classes
Build-Jdk = 1.6.0_22
Built-By = Georges
Bundle-Version = 2.4.0
Bundle-Name = example
Bundle-ManifestVersion = 2
Created-By = Apache Maven
Bundle-SymbolicName = example
Web-ContextPath = example
Import-Package = org.eclipse.virgo.web.dm;version="[3.0.0, 4.0.0)"
Archiver-Version = Plexus Archiver
osgi> start 117
org.osgi.framework.BundleException: The bundle "example_2.4.0 [117]" could not be resolved. Reason: Missing Constraint: Import-Package: org.eclipse.virgo.web.dm; version="[3.0.0,4.0.0)"
That's true, org.eclipse.virgo.web.dm seems not to be present in the 47 bundles deployed by default...
But during deployment, got the following lines :
[2011-11-02 13:42:07.539] system-artifacts <DE0004I> Starting bundle 'org.eclipse.virgo.web.dm' version '3.0.1.RELEASE'.
[2011-11-02 13:42:07.545] start-signalling-1 <DE0005I> Started bundle 'org.eclipse.virgo.web.dm' version '3.0.1.RELEASE'.
So it looks like the bundle containing the package is deployed but not accessible from my usr bundles.
Does someone here knows how to solve that problem ? (If it's a problem).
Thanks.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.11016 seconds