[ http://wso2.org/jira/browse/ESBJAVA-386?page=all ]

Evanthika Amarasiri closed ESBJAVA-386.
---------------------------------------

    Assignee:     (was: Ruwan Linton)

Fixed in build 1.6-QA-B1. As per Ruwan's comment this is the expected behavior 
of the Cache mediator. The issue will  be closed

> Cache mediator values lost after updating any changes done to the mediator 
> through the Configuration UI
> -------------------------------------------------------------------------------------------------------
>
>                 Key: ESBJAVA-386
>                 URL: http://wso2.org/jira/browse/ESBJAVA-386
>             Project: WSO2 ESB
>          Issue Type: Bug
>          Components: Administration Console
>    Affects Versions: NIGHTLY
>         Environment: Windows XP, JDK1.5.0_06, Firfox 2.0.0.9
>            Reporter: Evanthika Amarasiri
>
> The following was the configuration of the Cache mediator before updating it 
> through the "Configuration" UI
> *************************************************************************************************
> <syn:cache id="id1" scope="per-host" collector="true" 
> hashGenerator="org.wso2.caching.digest.DOMHASHGenerator" timeout="10">
>         <syn:implementation type="memory" maxSize="100"/>
> </syn:cache>
> *************************************************************************************************
> Changed the cache timeout and clicked on the "Update" button and the cache 
> mediator changed to the following
> ******************************************
> <syn:cache id="id1" scope="per-host" collector="true"/>
> ******************************************
> The details hashGenerator="org.wso2.caching.digest.DOMHASHGenerator",  
> timeout="10", implementation type="memory" and maxSize="100" are lost. If you 
> try to execute the client, you will get an error message 
> 2007-11-28 15:29:02,704 [127.0.1.1-testc-ubuntu] [HttpServerWorker-6]  WARN 
> FaultHandler Fault handler - setting ERROR_MESSAGE : Request messages cannot 
> be handled in a collector cache
> 2007-11-28 15:29:02,704 [127.0.1.1-testc-ubuntu] [HttpServerWorker-6]  WARN 
> FaultHandler Fault handler - setting ERROR_DETAIL : 
> org.apache.synapse.SynapseException: Request messages cannot be handled in a 
> collector cache
>         at 
> org.apache.synapse.mediators.AbstractMediator.handleException(AbstractMediator.java:187)
>         at 
> org.apache.synapse.mediators.builtin.CacheMediator.processRequestMessage(CacheMediator.java:242)
>         at 
> org.apache.synapse.mediators.builtin.CacheMediator.mediate(CacheMediator.java:141)
>         at 
> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:60)
>         at 
> org.apache.synapse.mediators.filters.InMediator.mediate(InMediator.java:60)
>         at 
> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:60)
>         at 
> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:122)
>         at 
> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:171)
>         at 
> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:60)
>         at 
> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:122)
>         at 
> org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:154)
>         at 
> org.apache.synapse.core.axis2.SynapseMessageReceiver.receive(SynapseMessageReceiver.java:89)
>         at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145)
>         at 
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
>         at 
> org.apache.synapse.transport.nhttp.ServerWorker.processPost(ServerWorker.java:219)
>         at 
> org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:183)
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>         at java.lang.Thread.run(Thread.java:595)
> 2007

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
Esb-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev

Reply via email to