Correction :  *<CARBON_HOME>/repository/components/lib folder*

On Wed, Sep 10, 2014 at 1:00 PM, Supun Sethunga <sup...@wso2.com> wrote:

> Hi,
>
> The imported library *org.apache.commons.math3 *is being not identified.
> (gets the following output in the osgi console)
>
> *reference:file:../dropins/org.wso2.carbon.ml.dataset-0.1.0.jar [340]*
>> *  Direct constraints which are unresolved:*
>> *    Missing imported package
>> org.apache.commons.math3.stat.descriptive_[3.3.0,4.0.0)*
>>
>
>  Tried putting the relevant third-party jar file to the
> <CARBON_HOME>/repository/components/plugins folder, and deploy. But still
> not resolved.
>
> Thanks,
> Supun
>
> On Wed, Sep 10, 2014 at 11:49 AM, Danushka Fernando <danush...@wso2.com>
> wrote:
>
>> I think best way to figure out this is to start the server with osgi
>> console and find out the unsatisfied items.
>>
>> Thanks & Regards
>> Danushka Fernando
>> Software Engineer
>> WSO2 inc. http://wso2.com/
>> Mobile : +94716332729
>>
>>
>> On Wed, Sep 10, 2014 at 10:45 AM, Supun Sethunga <sup...@wso2.com> wrote:
>>
>>> Hi Sameera / Carbon team,
>>>
>>> Im trying to expose some Machine Learning services as a carbon
>>> component. The component I wrote builds successfully. But when I try to
>>> deploy this component (tried deploying in both BAM and ESB), the deployment
>>> process halts, saying the following.
>>>
>>>
>>>
>>> *[2014-09-10 10:32:04,915]  INFO
>>> {org.apache.cassandra.thrift.ThriftServer} -  Listening for thrift
>>> clients...[2014-09-10 10:33:05,754]  WARN
>>> {org.wso2.carbon.core.init.CarbonServerManager} -  Carbon initialization is
>>> delayed due to the following unsatisfied items:[2014-09-10 10:33:05,755]
>>> WARN {org.wso2.carbon.core.init.CarbonServerManager} -  Waiting for
>>> required OSGiAxis2Service: org.wso2.carbon.ml.dataset-4.2.0*
>>>
>>> Found out that the reason for this was the logger log4j (when I replace
>>> log4j with commons-logger, the component got deployed) and a class in a
>>> third party library
>>> "org.apache.commons.math3.stat.descriptive.DescriptiveStatistics".
>>>
>>> Any idea what causes this issue?
>>>
>>> Thanks,
>>> Supun
>>>
>>> --
>>> *Supun Sethunga*
>>> Software Engineer
>>> WSO2, Inc.
>>> lean | enterprise | middleware
>>> Mobile : +94 716546324
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>
>
> --
> *Supun Sethunga*
> Software Engineer
> WSO2, Inc.
> lean | enterprise | middleware
> Mobile : +94 716546324
>



-- 
*Supun Sethunga*
Software Engineer
WSO2, Inc.
lean | enterprise | middleware
Mobile : +94 716546324
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to