jQuery in Action, 3rd edition
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 Head First Android 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

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

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

subject: Code changes not reflected after deploying.
It's not a secret anymore!