[Ds-java-dev] [jira] Updated: (DS-175) Data service continues to read data from cache even after the specified cache duration

Afkham Azeez (JIRA) jira at wso2.org
Tue Sep 2 11:48:47 PDT 2008


     [ https://wso2.org/jira/browse/DS-175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Afkham Azeez updated DS-175:
----------------------------

    Fix Version/s: 1.1
                       (was: 1.0)

> Data service continues to read data from cache even after the specified cache duration
> --------------------------------------------------------------------------------------
>
>                 Key: DS-175
>                 URL: https://wso2.org/jira/browse/DS-175
>             Project: WSO2 Data Services
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.0-beta
>         Environment: winxp, jdk15
>            Reporter: Charitha Kankanamge
>            Assignee: Ruwan Linton
>            Priority: Blocker
>             Fix For: 1.1
>
>
> Please go through the following steps to reproduce this error. 
> 1. Create a database with one  table
> 3. Write a data service 1 to read data from table
> 4. Write another data service2 to update data in the same table
> 5. Enable caching in data service 1 (Leave the default values intact)
> 6. Invoke data service 1 (use soap11 port)
> 7. Invoke data service 2 (This will update table)
> 8. Before expiring cache duration, invoke data service 1 again
> You will not get updated data. That is correct. 
> Now wait more than 1 minute (60000ms) and invoke data service 1 again. Now you are expected to read data from database. However, service continues to read from cache. It will start to get data from db only if you disable caching.

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

        



More information about the Ds-java-dev mailing list