With nostage deployments of exploded archive directories, WebLogic Server automatically detects changes to a deployment’s JSPs or Servlets and refreshes the deployment. When nostage deployment mode is used, all servers deploy using the same physical copy of the deployment files, which must be directly accessible by the Administration Server and target servers.
With nostage deployments of exploded archive directories, WebLogic Server automatically detects changes to a deployment’s JSPs or Servlets and refreshes the deployment.
Suggested domain server configurations while using no stage mode:
– Deploying to a single-server domain.
– Deploying to a cluster on a multi-homed machine.
– Deploying very large applications to multiple targets or to a cluster where deployment files are available on a shared directory.
– Deploying exploded archive directories that you want to periodically redeploy after changing content.
– Deployments that require dynamic update of selected Deployment Descriptors via the Administration Console.
web application needs to be in exploded format. Create a server on Weblogic Server on which you would like to deploy the web application.
Select the server deployment mode as no stage. Deploy the web application on the server.
Click on the JSP page and you will see the .java and .class files getting generated under server/tmp/_WL_user/application/jsp_servlet.
Change the content in the same JSP and hit the same JSP, and you will see the new content being shown on browser without redeploying the new JSP and new .class files getting generated under server/tmp/_WL_user/application/jsp_servlet.
If you are using JAR, WAR, EAR, or RAR archive file as web application module, you need to redeploy it to alter the JSP content.
Syntax for Nostage Mode deployment
To use nostage mode, specify -nostage as an option to weblogic.Deployer, as in:
java weblogic.Deployer -adminurl http://localhost:7001 -user weblogic -password weblogic -name mydeploymentname -targets myserver1,myserver2,myserver3 -nostage -deploy c:\localfiles\myapp.ear