stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chamila De Alwis <chami...@wso2.com>
Subject Re: Not a valid plugin
Date Sat, 12 Sep 2015 17:32:10 GMT
I don't think the difference between the name and the module entries is
causing this. You can have different entries for the two fields [1].

Could it be verified that the InstanceActivatedEvent is actually being
processed by the event handler? If the log message "Error while loading
plugin: APICreationPlugin" is not appearing then it's most likely a verbose
log entry from YAPSY.

[1] -
https://github.com/apache/stratos/blob/master/components/org.apache.stratos.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/plugins/README.md


Regards,
Chamila de Alwis
Committer and PMC Member - Apache Stratos
Software Engineer | WSO2 | +94772207163
Blog: code.chamiladealwis.com



On Sat, Sep 12, 2015 at 11:36 AM, Pubudu Gunatilaka <pubudug@wso2.com>
wrote:

> Hi Udara,
>
> Can you try giving the same module name to the Name as well? That's the
> only difference I see in your yapsy plugin compared to other plugins we
> have written. I think both module and name should be same in the yapsy
> plugin.
>
> Thank you!
>
> On Sat, Sep 12, 2015 at 3:11 AM, Udara Liyanage <udara@wso2.com> wrote:
>
>> Hi,
>>
>> I see the below log too
>> [2015-09-11 21:27:36,222] INFO {config.py:initialize_plugins} - Activated
>> plugin [APICreationPlugin to create APIs in APIM]
>>
>>
>> On Sat, Sep 12, 2015 at 3:03 AM, Udara Liyanage <udara@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> Still I am getting the same error message.
>>>
>>> On Sat, Sep 12, 2015 at 2:45 AM, Udara Liyanage <udara@wso2.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> I found an error in my plugin, let me correct it and try again.
>>>>
>>>> On Sat, Sep 12, 2015 at 2:32 AM, Udara Liyanage <udara@wso2.com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I added attached plugin and and plugin definition. However below error
>>>>> is shown in agent's log. Is it due to an error in plugin file or plugin
>>>>> definition error?
>>>>>
>>>>> [2015-09-11 20:52:15,539] DEBUG {PluginFileLocator.py:locatePlugins}
-
>>>>> APICreationPlugin.py is not a valid plugin for strategy info_ext
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> Udara Liyanage
>>>>> Software Engineer
>>>>> WSO2, Inc.: http://wso2.com
>>>>> lean. enterprise. middleware
>>>>>
>>>>> web: http://udaraliyanage.wordpress.com
>>>>> phone: +94 71 443 6897
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Udara Liyanage
>>>> Software Engineer
>>>> WSO2, Inc.: http://wso2.com
>>>> lean. enterprise. middleware
>>>>
>>>> web: http://udaraliyanage.wordpress.com
>>>> phone: +94 71 443 6897
>>>>
>>>
>>>
>>>
>>> --
>>>
>>> Udara Liyanage
>>> Software Engineer
>>> WSO2, Inc.: http://wso2.com
>>> lean. enterprise. middleware
>>>
>>> web: http://udaraliyanage.wordpress.com
>>> phone: +94 71 443 6897
>>>
>>
>>
>>
>> --
>>
>> Udara Liyanage
>> Software Engineer
>> WSO2, Inc.: http://wso2.com
>> lean. enterprise. middleware
>>
>> web: http://udaraliyanage.wordpress.com
>> phone: +94 71 443 6897
>>
>
>
>
> --
>
> *Pubudu Gunatilaka*
> Software Engineer
> WSO2, Inc.: http://wso2.com
> lean.enterprise.middleware
> mobile:  +94 77 4078049
>

Mime
View raw message