This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Problem when code changes!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Problem when code changes!!!" Watch "Problem when code changes!!!" New topic
Author

Problem when code changes!!!

Dhaval Tamhane
Greenhorn

Joined: May 29, 2008
Posts: 2
Hi All

I am using JBoss from quite some time. I have made a web application which runs perfectly. Now, my problem is that every time when I make even a small change to my code, then that change does not take effect in the web application automatically (even after refreshing). I just have to redeploy the application on server & sometimes even that does not help & I have to restart the server. Then it works fine till some changes to code are not made.

Is this a problem with JBoss or some other problem? And is there a way that changes take effect without redploying the application? (there are no errors or exceptions)

Thanks in advance!!!
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9953
    
161

Changes to java files will not be picked up until you redeploy your application. However changes to jsp files will be picked up even if you do not redeploy your application. For this, you will have to deploy your application in exploded format


[My Blog] [JavaRanch Journal]
Dhaval Tamhane
Greenhorn

Joined: May 29, 2008
Posts: 2
Thanks Mr. Pai for your reply. I face this problem often because I use webwork here & build a lot action classes or java files. But help by others will be totally appreciated.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Problem when code changes!!!
 
Similar Threads
Dynamically reloading servlets
is it necessary to redeploy when we make a change
How to minimize redeployment time to test changes on WebLogic from within Eclipse IDE
Problem in Tomcat And Rational web developer , The changes does not affects
How to minimize redeployment time to test changes on WebLogic from within Eclipse IDE