Question:
How to hot deploy my war file in Weblogic server?
sweetu
2009-06-12 23:21:36 UTC
the steps what we following now demands us to stop and start the server everytime
W will change the file in our local and copy it to another folder, there we will do the build and then using scp command copy the war file to the server .Then finally will stop and start the server for changes to appear Could there be any better solution that would help me hot deploy the war file
Three answers:
Terry is
2009-06-12 23:56:57 UTC
You haven't said much about your technology, so I am making assumptions here...



You may have to activate hot deployment as a feature in Weblogic. I think I recall that in tomcat or axis2 that this feature is switched off as a security feature: anyone could drop a bad WAR into a running server and potentiall cause problems.



Is there not a web console provided by Weblogic that you can point a web browser at? This tends to be the best and easiest way of deploying apps and any other administration required.



Another way of hot deploying is through your IDE, if you got the right plugin to support it. For example, I managed to find an Axis 2 plugin for NetBeans that, on compilation, would WAR up the "executable" and deploy it to the Axis2 folder. Simple.



So to reiterate:

1st make sure Weblogic supports hot deployment! Next, investigate if Weblogic provides a web-based admin tool (if it exists, switch that service on!) or try to deploy automatically from your development environment.



Hope this helps.
mangels
2016-12-12 13:05:55 UTC
Weblogic Hot Deployment
bakiya
2015-08-04 05:57:56 UTC
i have an Enterprise Application in weblogic server.



when i modify any java class i have to build the .ear file and deploy in server every time, for a small modification also i need to build the whole application and deploy in server. Server is taking around 10 mints time to do this.



Is there any other way to do this?



when i was working with tomcat we used to update the .class directly in webapps project folder so that we don't need to build the entire application.



http://www.weblogic-trainingchennai.in/weblogic-training.html


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...