[Carbon-dev] Editing API element by the source view of ESB is unstable..

Prabath Siriwardena prabath at wso2.com
Thu Feb 23 01:54:17 EST 2012


I can recreate the same with the API [800] sample we ship with the ESB
too...

Thanks & regards,
-Prabath

On Thu, Feb 23, 2012 at 12:18 PM, Prabath Siriwardena <prabath at wso2.com>wrote:

> This is my scenario...
>
> I have the following scenario..
>
> 1. My configuration
>
>   <api name="MongoAPI" context="/mongo">
>         <resource methods="GET" uri-template="/{db}/{collection}">
>             <inSequence>
>                 <log level="full"/>
>                 <property name="mongo.db"
> expression="get-property('uri.var.db')" scope="axis2"/>
>                 <property name="mongo.db.collection"
> expression="get-property('uri.var.collection')" scope="axis2"/>
>                 <class name="org.wso2.mongodb.connector.MongoDBMediator"/>
>             </inSequence>
>             <outSequence>
>                 <send/>
>             </outSequence>
>         </resource>
>     </api>
>
> 2. Update  methods="GET" to methods="POST" - works fine
>
> 3.  methods="POST" to  methods="GET,POST"   - from the "methods" attribute
> I feel like this is a valid case. Now this produce error
>
> [2012-02-23 12:07:21,026] ERROR - SynapseTaskManager Task helper has not
> been initialized, it requires to be initialized
> [2012-02-23 12:07:21,027] ERROR - ConfigAdmin Error while updating the
> Synapse configuration
> org.apache.synapse.commons.SynapseCommonsException: Task helper has not
> been initialized, it requires to be initialized
>
> 4. Since I get the error at [3] - synapse configuration goes back to the
> state in [2].
>
> 5. Now I try to update the synapse configuration with valida values -
> like, update  methods="POST" to methods="GET" - or anything - and this
> keeps on failing..
>
> And I cannot do any updates via source view, till I restart....
>
> Have I done anything wrong some where...? Appreciate a lot your thoughts...
>
> --
> Thanks & Regards,
> Prabath
>
> Mobile : +94 71 809 6732
>
> http://blog.facilelogin.com
> http://RampartFAQ.com
>
>


-- 
Thanks & Regards,
Prabath

Mobile : +94 71 809 6732

http://blog.facilelogin.com
http://RampartFAQ.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.wso2.org/pipermail/carbon-dev/attachments/20120223/c9651bb8/attachment-0001.html>


More information about the Carbon-dev mailing list