Re: Value can't be changed in bean extended from AbstractController of Spring

2007-12-07 Thread kkus
For JBoss project it has "automatic publishing" checked, I guess that is why it can hot-swapping properly without restart/redeployment. Thank you for your pointing! For Tomcat project I start Tomcat from its bootstrap class, so it will be treated as a normal Java application rather than a server

Re: Value can't be changed in bean extended from AbstractController of Spring

2007-12-07 Thread Konstantin Kolinko
Do you have "Serve modules without publishing" option in Eclipse configuration for the server turned on or off? (Double click the server on the servers view to open the configuration dialog). 2007/12/8, kkus <[EMAIL PROTECTED]>: > > In my another project (JBoss+Spring+Hibernate), I see my change

Re: Value can't be changed in bean extended from AbstractController of Spring

2007-12-07 Thread kkus
In my another project (JBoss+Spring+Hibernate), I see my changes take effect immediately in Eclipse IDE Debug without restart/redeployment. I think JBoss' ClassLoader is working properly for swapping new changes. All these changes occur in classes extended from SimpleFormController. I use hot-swap

Re: Value can't be changed in bean extended from AbstractController of Spring

2007-12-07 Thread Konstantin Kolinko
> In this case should I expect to see ... due to Java hot-swapping when > breakpoint is reached? Obviously, if you do not see it working, it probably does not. You should familiarize yourselves with code hot-swapping technology, its implications, and how it works upon tomcat, web application depl

Re: Value can't be changed in bean extended from AbstractController of Spring

2007-12-07 Thread kkus
I changed to "value2" in source code without rebuilding/redeployment. In this case should I expect to see "value2" due to Java hot-swapping when breakpoint is reached? I remembered I can see changed value for class extended from SimpleFormController in this scenario. I am not sure if it is a Clas

Re: Value can't be changed in bean extended from AbstractController of Spring

2007-12-05 Thread Konstantin Kolinko
Isn't is obvious? Why do you expect it to become "value2"? What are you changing? Are you changing the source code for the class? I do not expect hot-swapping of compiled classes to be available here. If it is the same class instance, it will still be "value". Restart your webapp, or reload your

Value can't be changed in bean extended from AbstractController of Spring

2007-12-04 Thread kkus
Hi, For the following code, I put String urlReq = "value" first and set up a breakpoint there. Then I run app in debug mode. It shows me "value" when breakpoint is reached. Then I change String urlReq = "value2" and fire http request again. When breakpoint is reached again this time urlReq still