File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Code changes not reflected after deploying." Watch "Code changes not reflected after deploying." New topic

Code changes not reflected after deploying.

Easwar Murthi

Joined: Jan 11, 2008
Posts: 3
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?

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 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

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. ?

It is sorta covered in the JavaRanch Style Guide.
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 ?