dev@glassfish.java.net

Re: a hopefully simple osgi question

From: Bobby Bissett <bobby.bissett_at_oracle.com>
Date: Thu, 12 Aug 2010 16:06:56 -0400

>> [#|2010-08-12T15:29:42.712-0400|SEVERE|glassfish3.1|null|_ThreadID=1;_ThreadName=main;|Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle org.glassfish.cluster.gms-bootstrap [131]: Unable to resolve 131.0: missing requirement [131.0] package; (package=com.sun.enterprise.ee.cms.core) - [131.0] package; (package=com.sun.enterprise.ee.cms.core)|#]
>>
>> ...what does the "[131.0]" part mean?
>
> The important part is 131, which is the bundle identifier, which is the number the framework assigns to the bundle when it is installed. You'll see this number if you do a "ps" in the Felix shell, for example.

Thanks Richard. Just to make sure I'm really understanding the issue, the problem is that the gms-bootstrap module is trying to find the com.sun.enterprise.ee.cms.core package and can't find it, right? If another module includes/exports that package, is there any other step that needs to happen in the gms-bootstrap module to find it? The jar containing that package is in the Class-Path metadata of gms-bootstrap.

Thanks,
Bobby