This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Code changes not reflected after deploying.
 
Similar Threads
servlet deployed in exploded directory not reloading
auto deploy do not work in weblogic 6.1 ?
Making changes in Java files without restarting server
Dynamically reloading servlets
Need restarting the weblogic server everytime I make changes in jsp.