aspose file tools*
The moose likes BEA/Weblogic and the fly likes How to re-deploy applications on Weblogic server restart Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "How to re-deploy applications on Weblogic server restart" Watch "How to re-deploy applications on Weblogic server restart" New topic
Author

How to re-deploy applications on Weblogic server restart

Chaitanya Rach
Greenhorn

Joined: Feb 07, 2013
Posts: 12
    
    1
I have installed Weblogic 10.3.6 in Production mode and I have deployed EAR/WAR applications in my Managed Server. How can I make sure that when I restart my Managed server then weblogic will re-deploy my application once again? Any configuration is required to achieve this?
Ramakanta Sahoo
Ranch Hand

Joined: Aug 23, 2008
Posts: 254

what you can do is create some shell script to restart the managed server and put a step to remove/backup the tmp folder post stop of managed server and then start.
If you remove the tmp folder weblogic will redeploy the application again and that is the quickest way to do it.

Or use no stage deployment mode which will update your files like jsp's, etc all the time it changes. Check below links for nostage deployments details

http://www.techpaste.com/2013/07/autodeploy-jsps-content-altered-weblogic/
http://docs.oracle.com/cd/E13222_01/wls/docs90/deployment/deploy.html#1027044


Regards, Ricky
Oracle Weblogic 10g Certified Expert TechPaste.Com
Surapuraju Venkatakishor
Greenhorn

Joined: Dec 27, 2011
Posts: 11
re-deployment can happen in production environments only. If you re-deploy any application go for version deployment using "-version" option in weblogic.Deployer script.
 
 
subject: How to re-deploy applications on Weblogic server restart