wood burning stoves 2.0*
The moose likes BEA/Weblogic and the fly likes Making changes in Java files without restarting server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Making changes in Java files without restarting server" Watch "Making changes in Java files without restarting server" New topic
Author

Making changes in Java files without restarting server

satish pune
Ranch Hand

Joined: Sep 04, 2003
Posts: 44
Hello ,
I have deployed a struts application on Weblogic 6.1
After starting up the server I was wondering if I could make changes Source Java files - compile - and place the class files in WebLogic
Would the changes be reflected ?
Can this be possible without restarting the server ?
I was wondering since changes made in JSP get reflected so should the class file changes too be reflected on the fly ?
Thanks and hoping for some pointers ,
-satish
Sonalee Mohapatra
Greenhorn

Joined: Sep 15, 2003
Posts: 10
You would need to restart the server if you make any changes to Java classes for the changes to be reflected.
In case of JSP, the page is compiled at run-time (the first time when it is requested or when it is subsequently changed) by the JSP engine and picked up by weblogic, hence no restart of server is required.
The same is not possible for java classes.
Graham Thorpe
Ranch Hand

Joined: Mar 25, 2002
Posts: 264
There is another chance there for with out restating server ....
When u made change any java file then u can open the console and u can go to the servlet directory in that u can click the option "Redeployall" .
Alka S.
Greenhorn

Joined: Nov 29, 2003
Posts: 26
After re-making of WAR you have to redeploy WAR on weblogic .Need not to restart the server.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Making changes in Java files without restarting server
 
Similar Threads
How to Avoid restarting the server
refresh of class files in sun application server
Modifying files in a Java project that a Web project depends on
Dynamically reloading servlets
Need restarting the weblogic server everytime I make changes in jsp.