• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Controller caching in Liberty Profile?

Posts: 8
Oracle Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After years of using RAD and WebSphere, I just started using Eclipse Luna, Gradle 2.21 and WebSphere Liberty Profile 8.5 (as directed by my boss, so this tool set is a given). The problem I am running into is the Liberty server is not refreshing with the latest build of my controller. It seems to be caching the older version, even after a stop and start.

For example, I replaced one class constructor with one that takes a different argument, and then updated the call to the constructor in the controller. (This was with the server stopped.) I then did a gradle clean build, which completed without issue. Finally I set the server to clean on next start, then started the server in debug mode. When I started the app, I got an error that the controller couldn't find the old constructor.

Unfortunately google's not been much help in this case (as it sometime's isn't). Any ideas for places to look would be most appreciated.

Thanks, Ed
Posts: 1268
IBM DB2 Netbeans IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
May you bypass gradle and retry ? Or, at least, may you try to remove your project, publish to liberty profile, re-add it and let us know if something has changed ?
    Bookmark Topic Watch Topic
  • New Topic