Hi Thanuja

You need to use following syntax for the Fragment-Host header. You cannot
attached to the system bundle with the default Fragment-Host syntax.

A fragment bundle which attach to the system.bundle is called an *Extension
Bundle*.

Fragment-Host: system.bundle; extension:=framework
see
https://github.com/wso2/carbon-kernel/blob/4.4.x/core/org.wso2.carbon.framework.exporter/pom.xml

Thanks,
Sameera.

On Sat, Mar 19, 2016 at 5:36 PM, Thanuja Jayasinghe <[email protected]>
wrote:

> Hi All,
>
> I'm trying to attach "org.wso2.carbon.jaas.boot" [attached to the mail] as
> an extension bundle to the system bundle to make "ProxyLoginModule" class
> available for all modules. I have used following configuration under
> <properties>,
>
>         <fragment.host>
>             org.eclipse.osgi;bundle-version="3.10.2.v20150203-1939"
>         </fragment.host>
>
> But this does not works as expected. I have tried attaching the same
> bundle to the "org.eclipse.osgi.services" bundle as follows and it works
> fine,
>
>         <fragment.host>
>             org.eclipse.osgi.services;bundle-version="3.4.0.v20140312-2051"
>         </fragment.host>
>
>
>
>
> Any idea how to solve this?
>
> Thanks,
> Thanuja
>
> --
> *Thanuja Lakmal*
> Senior Software Engineer
> WSO2 Inc. http://wso2.com/
> *lean.enterprise.middleware*
> Mobile: +94715979891 +94758009992
>



-- 
Sameera Jayasoma,
Software Architect,

WSO2, Inc. (http://wso2.com)
email: [email protected]
blog: http://blog.sameera.org
twitter: https://twitter.com/sameerajayasoma
flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
Mobile: 0094776364456

Lean . Enterprise . Middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to