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 BEA/Weblogic and the fly likes Code changes not reflected after deploying. 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 » BEA/Weblogic
Bookmark "Code changes not reflected after deploying." Watch "Code changes not reflected after deploying." New topic
Author

Code changes not reflected after deploying.

Easwar Murthi
Greenhorn

Joined: Jan 11, 2008
Posts: 3
Hi,
I am new to using Weblogic I am using Weblogic 8.1 together with Eclipse. After I deploy my application, if I make any changes to the code (be it Java, JSP or JS), I am having to build the EAR and redeploy it in the server. Is there a way to make the changes made to get automatically reflected in the deployed EAR (hope I am using the right terms)?

Also, what is deploying an Exploded EAR?

Thanks!
Hareesh Ram Chanchali
Ranch Hand

Joined: Jan 31, 2005
Posts: 110
Hi Easwar,

You can directly put the same at the respective directories(exploded mode in weblogic) and try to hit 'redeploy' button.

Alternatively there is a short cut for jsps...you can directly put the same under staging directory of the managed server and restart the server.
If it is cluster, you need to restart all the servers. Hence this will be used for development modes effectively.

Please let me know if it worked or not.


Hareesh Ram Chanchali
SCJP 5.0, IBM Certified Solution Designer
Kathiresan Chinna
Ranch Hand

Joined: Aug 17, 2008
Posts: 115
Hi,

I do not want copy and paste the java files from Eclipse workspace to weblogic \autodeploy directory.
Can someone tell how to setup the directory structure for Eclipse with Weblogic. ?

Thanks
Kathir
 
jQuery in Action, 2nd edition
 
subject: Code changes not reflected after deploying.
 
Similar Threads
Dynamically reloading servlets
Making changes in Java files without restarting server
Need restarting the weblogic server everytime I make changes in jsp.
servlet deployed in exploded directory not reloading
auto deploy do not work in weblogic 6.1 ?