Hi All,

Now I'm finding intermittent ClassNotFound Exception.


On Thu, Aug 20, 2015 at 11:06 AM, Madhawa Gunasekara <[email protected]>
wrote:

> Hi Kasun,
>
> I have a singleton class in dss core. I just need to access it.
>
> On Thu, Aug 20, 2015 at 11:03 AM, Kasun Gajasinghe <[email protected]>
> wrote:
>
>> Hi Madhawa,
>>
>>
>> On Aug 20, 2015, at 9:10 AM, Harsha Thirimanna <[email protected]> wrote:
>>
>> If that instance is already created within OSGi bundle then you have to
>> expose it as OSGi service to access from web application. Otherwise you
>> have to expose its operation as web service and access from web
>> application.
>>
>> And you have an another option that create servlet within OSGi bundle. I
>> am not sure whether this is recomended to do. We need to check this with
>> kernal team.
>> On Aug 19, 2015 8:38 PM, "Madhawa Gunasekara" <[email protected]> wrote:
>>
>>> Hi All,
>>>
>>> I have a requirement to process some HTTP requests, therefore I have
>>> used a webapp. but I need to access some class instances in dss core, but
>>> servlet cannot find those class instances in runtime classpath.
>>>
>>
>> What do you mean by class instances in runtime classpath?
>>
>>
>>
>> hence I found ClassNotFound Exceptions.
>>>
>>> I have registered osgi service to get that class instance. then it
>>> worked fine. Is it the best approach to fix this issue.
>>>
>>> Any help on this matter is highly appreciated.
>>>
>>> Thanks,
>>> Madhawa
>>> --
>>> *Madhawa Gunasekara*
>>> Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> mobile: +94 719411002 <+94+719411002>
>>> blog: *http://madhawa-gunasekara.blogspot.com
>>> <http://madhawa-gunasekara.blogspot.com>*
>>> linkedin: *http://lk.linkedin.com/in/mgunasekara
>>> <http://lk.linkedin.com/in/mgunasekara>*
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>
>
> --
> *Madhawa Gunasekara*
> Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 719411002 <+94+719411002>
> blog: *http://madhawa-gunasekara.blogspot.com
> <http://madhawa-gunasekara.blogspot.com>*
> linkedin: *http://lk.linkedin.com/in/mgunasekara
> <http://lk.linkedin.com/in/mgunasekara>*
>



-- 
*Madhawa Gunasekara*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 719411002 <+94+719411002>
blog: *http://madhawa-gunasekara.blogspot.com
<http://madhawa-gunasekara.blogspot.com>*
linkedin: *http://lk.linkedin.com/in/mgunasekara
<http://lk.linkedin.com/in/mgunasekara>*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to