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

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -