Questions tagged [reloadable]
9 questions
5
votes
1 answer
Stop Rails from unloading a module in development mode
I have a module in my Rails app that lives in /lib
module MyModule
mattr_accessor :the_variable
class << self
def setup
yield this
end
end
end
From my environments/#{RAILS_ENV}.rb file I can then set an environment-specific…

Gareth
- 133,157
- 36
- 148
- 157
4
votes
1 answer
Reloadable properties in Spring beans (Java 1.5)
I would like to reload the Spring bean properties at runtime so that I don't have to restart the web application to reset the properties.
For example the web-service client endpoint can be changed at runtime without restart, or the injected…
user2250062
2
votes
1 answer
ReloadableResourceBundleMessageSource vs ResourceBundleMessageSource - cache concept & other differences
I am learning spring.
I tried to under the use of ResourceBundleMessageSource and here is the example I tried.
Main App
public class MainApp {
public static void main(String arg[]){
ApplicationContext context = new…

Sarronya
- 353
- 2
- 8
- 19
2
votes
0 answers
Changing Web application's context-param and init-param on the fly
As I remember one can change a value of in a web.xml within a Web application on the fly without restarting a Web Server if “reloadable=true” is specified. However, I cannot find documentation confirming this statement particularly for…

Alex
- 7,007
- 18
- 69
- 114
1
vote
2 answers
kernel symbols in kernel module
First of all I need to know addresses in System.map or /proc/kallsyms are virtual or physical?
then I want to read from addresses of kernel symbols, for example I want to read pid field of init_task symbol. I can find init_task address from…

Peggy
- 639
- 9
- 28
0
votes
1 answer
ActiveMQ - Authorization - Revoked Roles Not Updating Runtime - User Able To Access Queue for Revoked Role
Team,
I am implementing runtime reloading of authorization map settings in activemq.xml using following configuration, (http://activemq.apache.org/runtime-configuration.html)

learner
- 906
- 2
- 10
- 39
0
votes
0 answers
Tomcat Class Reloading & Hybris
In a Hybris developement environement, we are looking for reducing the Hybris server (Tomcat) restarts after each classes modification,
Beside the known tools available (JRebel, HotswapAgent,...), we are trying to use the tomcat server's default…

khayassine
- 96
- 1
- 8
0
votes
2 answers
Upgrading rails / reloadable
I have tried to upgrade my rails in order to deploy a old RoR app into Heroku,
Unfortunately I'm getting some errors and I have no clue how to fix this. It seems that include Reloadable from my model isn't working…

Roch
- 21,741
- 29
- 77
- 120
0
votes
1 answer
i cant see the changes even reloadable is true in eclipse
hi I'm using eclipse and I'm trying out a few things with servlets.
Why in eclipse when i run a file after changes, i can't see the changes even though i set re loadable to true?
i have a class that extends HttpServlet and in the doGet method I'm…

Elye M.
- 2,667
- 4
- 30
- 43