weblogic - 如何在weblogic集群上部署web应用

标签 weblogic weblogic12c

我已在 server1 上配置了 Web 应用程序。在配置中,我选择集群(server1 和 server2)作为目标服务器。我想了解的是是否还需要在server2上配置部署? server2 中没有 war 文件,我有点好奇这个应用程序如何在 server2 上运行。

最佳答案

部署过程可以通过三种方式完成......

1.舞台 2.Nostage 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 实例时的默认模式。

Nostage模式—

         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. 

Nostage 模式是仅部署到管理服务器(例如,在单服务器域中)时的默认模式。如果您在同一台计算机上运行服务器实例集群,您还可以选择 nostage 模式。

外部_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. 

希望对您有帮助。

关于weblogic - 如何在weblogic集群上部署web应用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20854091/

相关文章:

java.lang.StackOverflowError 在 Weblogic 12c 上运行 JSF 2 示例

tomcat - JDeveloper - 用于部署 TomCat 的 WAR WebLogic 服务器

java - 如何防止 Weblogic 使用 ExpressionInterceptor?

java - 代码逻辑没有被执行

java - 无法通过maven脚本部署ear应用程序

weblogic12c - 如何为WebLogic V12.1.2(12C)安装WebLogic Maven插件?

java - WebLogic 版本 12.2.1.1 及更高版本上的 "ClassNotFoundException: org.objectweb.asm.ClassVisitor"(文档 ID 2526226.1)

mysql - 交易问题

java - 我收到 java.lang.ClassNotFoundException :missing org. springframework.util.MimeType

sql-server - 从 weblogic 12c 连接到 sql server