简体   繁体   English

如何将Weblogic的部署模式设置为nostage?

[英]How can I set my weblogic's deployment mode to nostage?

My problem is that after every code change I have to build and deploy my Java web application (or at least some parts of it), which takes too much time. 我的问题是,每次更改代码后,我都必须构建和部署Java Web应用程序(或至少其中的某些部分),这会花费太多时间。

JRebel would do the trick, but my company doesn't have a license for it. JRebel可以解决这个问题,但是我的公司没有许可证。 I heard that weblogic's nostage mode can save some time, but how can I configure it? 我听说weblogic的nostage模式可以节省一些时间,但是如何配置呢? I've changed my Managed Server 's staging mode in the Admin Console, but how can I provide the path to my .wars ? 我已经在管理控制台中更改了受管服务器的登台模式,但是如何提供.wars的路径? Or how can I get this thing work? 还是我怎样才能使这东西工作?

Sorry for my lack of knowledge, but I'm pretty new to this topic. 抱歉,我缺乏知识,但是对于这个话题我还很陌生。

You now configured the default staging mode for new deployments, it would probably be easier to just change this during the individual deployments. 现在,您为新的部署配置了默认的暂存模式,在单个部署中更改它可能会更容易。 If you are using the admin console to deploy it is the section called "Source accessibility". 如果您使用管理控制台进行部署,则称为“源可访问性”部分。

Basically, in nostage / "I will make the deployment accessible" you tell WebLogic where to find your deployment by passing it a file location - which should be accessible for every targeted server. 基本上,在nostage /“我将使部署可访问”中,您通过向WebLogic传递文件位置来告诉WebLogic在哪里可以找到您的部署-每个目标服务器都可以访问该文件位置。 In the default staging mode (aptly called "stage"), you tell the admin server where to find the files and the admin server copies your files to the managed servers. 在默认的登台模式(适当地称为“登台”)中,您告诉管理服务器在哪里找到文件,然后管理服务器将文件复制到受管服务器。

Unless your limits are in your bandwidth, I don't think this will save you any time during deployments. 除非您的限制不受带宽限制,否则我认为这不会在部署期间为您节省任何时间。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM