Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8615271
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T05:20:03+00:00 2026-06-12T05:20:03+00:00

I have a really annoying problem with a deployed Grails application on tomcat 7

  • 0

I have a really annoying problem with a deployed Grails application on tomcat 7

I created a tool in my website that basically allows the site admin to edit message.properties files so that he can change the messages for a certain language as he desire.

All the changes are saved successfully to the file he edited.

In development, while running the website from STS (Soring Source Tools Suite; somethng like eclips) I just refresh the website in the browser and I see the changes instantly, all the changes that made to the message.properties file for the selected language is taking effect correctly.

But in the deployed application (same code same config no errors) the admin do the same thing, edit the resources in the same way as before, the message.properties file is saved with the new values correctly, but, I dont see the changes in the browser, unless I restarted tomcat, or after number of hours!

I’ve disabled the tomcat 7 caching, and I still face the same problem.
I’ve spent more than 4 days googling, but all the results are not related to my problem, and most of them are related to hibernate caching.

So, my question simply is as follows:

I want to go to a message.properties file in my deployed grails application, lets say message_en.properties, change lets say default.welcome.message=Welcome to default.welcome.message=Hello, World!
And then open any browser, and see Hello, World! instead of Welcome

Thanks in advance for any help =’)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T05:20:05+00:00Added an answer on June 12, 2026 at 5:20 am

    As they say, some big questions have a very simple answer!
    Depending on a post I found, in my resources editor tool, I added this code in my action with other few changes in the bootstarp (see link at the end of the answer):

    def messageSource
    def saveMessageResources={
        .
        .
        .
        //my action logic
        .
        .
        .    
        messageSource.clearCache()
    }
    

    and it worked 🙂

    References: http://jira.grails.org/browse/GPAPPENGINE-44

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a css/html related problem that's really annoying me :( I have a
I have a really annoying problem that I tried to solve for a few
Hey I have a really annoying IE7 bug that I am trying to work
Hey guys, I have another really annoying problem in IE. I am using a
I do experience a really annoying problem with TestNG and RESTeasy. I do have
have a really annoying time developing some code for a set of UserControls that
In my Swing application I have the problem that when creating a new instance
At my company we have a really annoying problem with our linker (ld 2.17).
I have a very annoying problem. I have a mIRC/Skype application, meaning chatroom with
I have a very annoying problem on the application I've been contracted to work

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.