Hi Pubudu,

Its working now. Thanks a lot for looking in to it.

Regards,
Supun

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

> Hi Pubudu,
>
> Attached is the pom file.
>
> Thanks,
>
> On Wed, Sep 10, 2014 at 2:26 PM, Pubudu Dissanayake <pubu...@wso2.com>
> wrote:
>
>> Hi Supun,
>>
>> Please make sure that third party jar is in 'resolve' state. Be aware
>> that importing a package doesn't import its sub-packages and there is no
>> relationship among nested packages. You have to specifically mention " 
>> Import-Package:
>> org.apache.commons.math3.stat.descriptive; version="[3.3.0,4.0.0)" "
>>
>> Please attach your pom file as well.
>>
>> Thanks
>> -Pubudu
>>
>>
>>
>> On Wed, Sep 10, 2014 at 1:04 PM, Supun Sethunga <sup...@wso2.com> wrote:
>>
>>> 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
>>>
>>>
>>
>>
>> --
>> *Pubudu Dissanayake*
>>  Software Engineer
>>
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>> Mob: + 94 775 503 304
>>
>> Blog: http://geekdetected.wordpress.com/
>> Linkedin: *http://lk.linkedin.com/in/pubududissanayake*
>> <http://lk.linkedin.com/in/pubududissanayake>
>> Flickr : https://www.flickr.com/photos/pubudufx/
>> Twitter: https://twitter.com/GeekInAction
>>
>>
>
>
> --
> *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