Hi Dileepa,

Looks like this javax.activation issue is related to package versioning.
Out bundles expect a version of the  javax.activation package in the range
[0.0.0, 1.0.0). I guess, Geronimo provides a different version of the
package. Please check the version of the activation package that Geronimo
provides.

Thanks,
Sameera.

On Thu, Aug 23, 2012 at 12:50 PM, Dileepa Jayakody <dile...@wso2.com> wrote:

> Hi All,
>
> I've been doing a feasiblity study on deploying carbon bundles in Apache
> Geronimo [1] which is an OSGI based server runtime. By default Geronimo
> supports equinox. For this study I used the latest Geronimo V3.
> After setting system properties for carbon (carbon.home,
> carbon.config.dir.path etc.) I was able to deploy our plugins in the server
> as hotbundles(which is similar to dropins in our servers) but still there
> are some bundles unresolved as below;
> I think one of the root causes for the unresolved dependencies of below
> bundles is missing the javax.activation package export.
>
> Any thoughts on resolving javax.activation? Can we get it from the jre via
> the system bundle?
>
> 2012-08-24 00:55:11,685 WARN  [EmbeddedDaemon] Bundle 69 failed to start:
> The bundle "org.wso2.carbon.ndatasource.core_4.0.1 [353]" could not be
> resolved. Reason: Missing Constraint: Import-Package: org.wso2.carbon.core;
> version="0.0.0"
> 2012-08-24 00:55:11,689 WARN  [EmbeddedDaemon] Bundle 69 failed to start:
> The bundle "org.wso2.carbon.registry.core_4.0.1 [355]" could not be
> resolved. Reason: Missing Constraint: Import-Package: org.apache.abdera;
> version="[1.0.0.wso2v3,2.0.0)"
> 2012-08-24 00:55:11,695 WARN  [EmbeddedDaemon] Bundle 69 failed to start:
> The bundle "org.eclipse.equinox.ds_1.3.0.v20110502 [357]" could not be
> resolved. Reason: Missing Constraint: Import-Package:
> org.eclipse.equinox.internal.util.event; version="1.0.0"
> 2012-08-24 00:55:11,706 WARN  [EmbeddedDaemon] Bundle 69 failed to start:
> The bundle "org.wso2.carbon.user.mgt.common_4.0.0 [362]" could not be
> resolved. Reason: Missing Constraint: Import-Package: javax.activation;
> version="[0.0.0,1.0.0)"
> 2012-08-24 00:55:11,740 WARN  [EmbeddedDaemon] Bundle 69 failed to start:
> The bundle "org.wso2.carbon.user.mgt_4.0.0 [373]" could not be resolved.
> Reason: Missing Constraint: Import-Package: org.wso2.carbon.registry.core;
> version="[1.0.0,2.0.0)"
> 2012-08-24 00:55:11,886 WARN  [EmbeddedDaemon] Bundle 69 failed to start:
> The bundle "org.wso2.carbon.server.admin_4.0.0 [382]" could not be
> resolved. Reason: Missing Constraint: Import-Package: org.wso2.carbon.core;
> version="0.0.0"
> 2012-08-24 00:55:11,889 WARN  [EmbeddedDaemon] Bundle 69 failed to start:
> The bundle "abdera_1.0.0.wso2v3 [384]" could not be resolved. Reason:
> Missing Constraint: Import-Package: javax.activation;
> version="[0.0.0,1.0.0)"
> 2012-08-24 00:55:11,919 WARN  [EmbeddedDaemon] Bundle 69 failed to start:
> The bundle "jaxb_2.2.5.wso2v1 [403]" could not be resolved. Reason: Missing
> Constraint: Import-Package: javax.activation; version="[0.0.0,1.0.0)"
> 2012-08-24 00:55:12,184 WARN  [EmbeddedDaemon] Bundle 69 failed to start:
> The bundle "org.wso2.carbon.core_4.0.1 [437]" could not be resolved.
> Reason: Missing Constraint: Import-Package:
> org.wso2.carbon.registry.core.service; version="[1.0.0,2.0.0)"
> 2012-08-24 00:55:12,343 WARN  [EmbeddedDaemon] Bundle 69 failed to start:
> The bundle "org.wso2.carbon.ui_4.0.1 [450]" could not be resolved. Reason:
> Missing Constraint: Import-Package: org.eclipse.equinox.http.helper;
> version="0.0.0"
> 2012-08-24 00:55:12,733 WARN  [EmbeddedDaemon] Bundle 69 failed to start:
> The bundle "org.wso2.carbon.core.common_4.0.0 [456]" could not be resolved.
> Reason: Missing Constraint: Import-Package: javax.activation;
> version="[0.0.0,1.0.0)"
> 2012-08-24 00:55:12,752 WARN  [EmbeddedDaemon] Bundle 69 failed to start:
> The bundle "org.wso2.carbon.core.services_4.0.0 [464]" could not be
> resolved. Reason: Missing Constraint: Import-Package:
> org.wso2.carbon.core.common; version="0.0.0"
>
>
> [1] http://geronimo.apache.org/
>
> --
> Dileepa Jayakody
> Software Engineer, WSO2 Inc.
> Lean . Enterprise . Middleware
>
> Mobile : +94777-857616
>
>


-- 
Sameera Jayasoma
Senior Technical Lead

WSO2, Inc. (http://wso2.com)
email: same...@wso2.com
blog: http://tech.jayasoma.org

Lean . Enterprise . Middleware
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to