我已经在server1上配置了Web应用程序。在配置中,我选择了群集(server1和server2)作为目标服务器。我要学习的是还需要在server2上配置部署吗?server2中没有war文件,我对此应用程序也将如何在server2上运行感到有些好奇。
部署过程可以通过三种方式完成...
1.阶段2.阶段3.外部阶段
这是WebLogic中过渡模式的解释:
舞台模式—
The Administration Server copies the archive files from their source location to a location on each of the targeted Managed Servers that deploy the archive. For example, if you deploy a J2EE Application to three servers in a cluster, the Administration Server copies the application archive files to each of the three servers. Each server then deploys the J2EE Application using its local copy of the archive files.
阶段模式是部署到多个WebLogic Server实例时的默认模式。
无舞台模式-
The Administration Server does not copy the archive files from their source location. Instead, each targeted server must access the archive files from a single source directory for deployment. For example, if you deploy a J2EE Application to three servers in a cluster, each server must be able to access the same application archive files (from a shared or network-mounted directory) to deploy the application.
当仅部署到Administration Server时(例如,在单服务器域中),Nostage模式是默认模式。如果在同一台计算机上运行服务器实例集群,则也可以选择nostage模式。
External_stage模式
External_stage mode is similar to stage mode, in that the deployment files must reside locally to each targeted server. However, the Administration Server does not automatically copy the deployment files to targeted servers in external_stage mode; instead, you must manually copy the files, or use a third-party application to copy the files for you.
希望对您有帮助。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句