Grails 2.3.0 view rendering issue -


i having strange issue grails application. seems it's caching views incorrectly. happening, first time hit path specific action (let's /controller/index) load correct index view controller. now, when go /anothercontroller/index, correct controller called, still tried serve old index gsp, resulting in obvious *notfound exceptions.

this happens views. first 1 get's loaded gets displayed subsequent actions same name. i.e. first show get's called correct, other show domain object tries use old one.

any suggestions? code pretty stock standard generate-all versions @ moment.

i should say, running in dev mode works 100%. prod war in tomcat 7.0.42 giving issues.

i had weird issue few weeks ago, caching information database , not returning correct results.

here did:

  1. stopped tomcat
  2. deleted files in tomcat's temp directory
  3. restarted tomcat

after that, worked fine.

let me know if helps.


Comments

Popular posts from this blog

mongodb - Struggling to get ordered results from the last retrieved article, given array of elements to search in -

c# - Pausing a storyboard on TabItem mouse over -

c# - Attribute value in root node of xml Linq to XML -