oracle Eclipse:如何在 Weblogic 中将 Ear 项目部署到单独的托管服务器(非 AdminConsole)
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4855693/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Eclipse: How to deploy ear project into separate managed server in Weblogic (non AdminConsole)
提问by Stas
I'm using Eclipse for J2EE project development. Target app server is Weblogic10R3. I was successfully deployed my ear project to weblogic via Run As.. Eclipse feature. By default it deploys to AdminConsole server. Because of project specific issues I have to deploy into separate managed server (not Admin Console).
我正在使用 Eclipse 进行 J2EE 项目开发。目标应用服务器是 Weblogic10R3。我通过 Run As.. Eclipse 功能成功地将我的 Ear 项目部署到了 weblogic。默认情况下,它部署到 AdminConsole 服务器。由于项目特定问题,我必须部署到单独的托管服务器(不是管理控制台)。
Am I able to override deploy behavior? I didn't find required settings inside server plugin.
我可以覆盖部署行为吗?我没有在服务器插件中找到所需的设置。
采纳答案by Konstantin Komissarchik
Deploying to a managed server is supported as long as you have configured the server connection as remote vs local. You can do this even if your "remote" server is localhost. If you aren't sure, you probably need to create a new instance in the Servers View. The local vs. remote option is set in the new server wizard.
只要您将服务器连接配置为远程与本地,就支持部署到托管服务器。即使您的“远程”服务器是本地主机,您也可以这样做。如果您不确定,您可能需要在服务器视图中创建一个新实例。本地与远程选项在新服务器向导中设置。
Once you have a remote server defined, double-click on the instance in the Servers View and you will see an editor open with various options, including those related to publishing.
定义远程服务器后,双击服务器视图中的实例,您将看到一个带有各种选项的编辑器打开,包括与发布相关的选项。