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
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to