• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to re-deploy applications on Weblogic server restart

 
Chaitanya Rach
Greenhorn
Posts: 12
1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 255
Fedora Firefox Browser Netbeans IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Surapuraju Venkatakishor
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic