Hi Udara, Ravindra, Thanks a lot for your explanations. When I was trying to resolve the issue, I observed that when the jar is placed in libs directory, another jar was automatically created in dropins driectory. This should be the conversion Ravindra has mentioned. Anyway, my jar is actually a OSGi bundle (bundled using org.apache.felix maven plugin) so it should directly copy the jar into dropins from libs.
On Thu, Oct 30, 2014 at 9:58 AM, Udara Liyanage <[email protected]> wrote: > Hi Lahiru, > > We put OSGi bundles to dropings , so no need to convert it to an OSGi > again. Non OSGi jars are put in lib folder which are converted to OSGi > bundles. > > > > Touched, not typed. Erroneous words are a feature, not a typo. > On Oct 30, 2014 8:41 AM, "Ravindra Ranwala" <[email protected]> wrote: > >> Hi Lahiru, >> >> WSO2 Carbon is based on OSGi. To extend the framework you need to drop an >> OSGi bundle. What you are having at the moment is an external jar file. >> Once you place the jar file in to >> $CARBON_HOME/repository/components/dropins directory, the platform converts >> the legacy jar file into an OSGi bundle at run time. Refer this article [1] >> for more details. >> >> >> [1] >> http://wso2.com/library/knowledgebase/add-external-jar-libraries-wso2-carbon-based-products/ >> >> >> Thanks & Regards, >> >> On Wed, Oct 29, 2014 at 8:27 PM, Udara Liyanage <[email protected]> wrote: >> >>> Hi, >>> >>> This post might help you. >>> >>> >>> http://wso2.com/library/tutorials/2014/03/understanding-the-carbon-component-architecture/ >>> >>> >>> >>> Touched, not typed. Erroneous words are a feature, not a typo. >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> Ravindra Ranwala >> Software Engineer >> WSO2, Inc: http://wso2.com >> <http://www.google.com/url?q=http%3A%2F%2Fwso2.com&sa=D&sntz=1&usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg> >> Mobile: +94714198770 >> >> -- Lahiru Chandima *Senior Software Engineer* Mobile : +94 (0) 772 253283 [email protected]
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
