问题标签 [autodeploy]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
276 浏览

glassfish-3 - ADF Glassfish 自动部署错误

我可以直接从 jDeveloper 将 adf 应用程序部署到 glassfish 服务器(并且应用程序也运行良好),但是当我部署 EAR 文件然后将其放入 glassfish 域的 autodeploy 文件夹时,我在日志中看到以下错误(仅供参考:在将 ear 文件加载到 autodeploy 目录之前,我已经取消部署并重新启动了 glassfish)

0 投票
1 回答
2115 浏览

osgi - 无法将捆绑包自动部署到 Karaf

我正在开发一个基于 OSGI 的应用程序,它部署到 Karaf 容器。Karaf 有一个自动部署功能,将一个包复制到它的 karaf/deploy 目录应该会自动将该包部署到容器中。但是,当我将捆绑包复制到部署目录时,通常会遇到类似于以下错误的错误:

容器告诉我我正在尝试部署一个重复的包,而不是重新部署一个已经部署的包。

Karaf 确实部署了该捆绑包,但它为什么不重新部署该捆绑包呢?是什么导致了这种行为?如何避免自动部署时出现此类错误?

谢谢,

迈克尔

0 投票
1 回答
3414 浏览

jenkins - 自动将 jenkins 1.5.x 作业构建部署到 Jboss7.2

我正在尝试配置 Jenkins,以便在作业完成后将最后一个稳定构建(战争)复制到 jboss 部署目录。我已经尝试过 Artifact Deployer 插件,但我不确定在“要部署的文件”字段中填写什么值。

任何人有任何想法或其他方式来进行部署?Jenkins 和 Jboss 分别在同一台机器上运行,但用户不同(jenkins 和 jboss)。

谢谢。

0 投票
1 回答
45 浏览

deployment - 在 WebSphere 启动期间阻止页面请求

问题:在完全应用程序初始化之前请求的页面会导致在 WebSphere 下运行的应用程序出现问题。

想法:在应用程序准备好之前阻止请求。

环境: WebSphere ND 6.1.0.23 在应用服务器机器上运行,应用程序的 WebSphere 插件在单独的 Web 服务器机器上运行。在应用程序重新启动期间请求页面时,QA 测试系统中的自动夜间部署通常无法正确初始化。

问题:有没有办法在重新部署开始之前在 WebSphere 插件级别“关闭”请求,然后在部署之后“打开”请求?如果是这样,那将如何进行?例如,是否可以更改 WebSphere Web 插件 xml 并强制读取新的配置文件?到目前为止,这似乎只在应用程序启动时进行了检查。

0 投票
2 回答
2745 浏览

visual-studio - 将 TFS 连接到 TeamCity

我正在尝试使用免费帐户(Windows 实时帐户)将我的 TeamCity 项目连接到我的 TFS 项目。但我在做这件事时遇到了一点麻烦。我收到错误 TF30063(您无权访问 /DefaultCollection/)。我已经尝试了很多东西,我什至按照这个问题的指示 - http://youtrack.jetbrains.com/issue/TW-20909-,但没有运气......

我已经: - 为我的 TFS 项目的所有成员设置管理员权限 - 将项目放在我的计算机上的公共文件夹中 - 检查 TeamCity 配置页面上的每个 url、用户和密码输入 - 在多个 TFS 帐户中测试 - 已检查如果所有项目都在同一个域中 - 我已经在一个不使用代理的网络和一个使用代理的网络中进行了测试

这些配置似乎都没有什么不同......我之所以会出现这个问题,唯一的原因是因为我使用的是 Windows Live(免费)TFS 帐户,而不是付费许可帐户......可以吗? ?

任何帮助将不胜感激......干杯!

这是完整的错误:


根 'DimasTeste' #16 失败:TFS 失败。ExitCode:111,命令:C:\TeamCity\webapps\ROOT\WEB-INF\plugins\tfs\bin\tfs-native.exe @@C:\TeamCity\temp\TC-TFS-108-6176_396\command.params , 在文件中: { https://budiedimas.visualstudio.com/DefaultCollection/ , /user:/密码:/hash:S, /noProxy, C:\TeamCity\temp\TC-TFS-108-6176_393.result, GetCurrentVersion},完成时间:2 秒标准输出:TFS Native Verifier v8.0 版权所有 (C) 2006- 2013 JetBrains sro 在 .NET Framework 4.0.30319.18052 下运行 信息 - 信息 - 使用团队资源管理器 2012 信息 - TFS 本机访问器 v8.0 版权所有 (C) 2006-2013 JetBrains sro 信息 - 连接到服务器https://budiedimas.visualstudio.com /DefaultCollection/ 信息 - WebProxy 已禁用获取当前版本:服务器 =' https://budiedimas.visualstudio.com/DefaultCollection/ '用户名 ='dimas_budie@hotmail.com' 错误 - TF30063:您无权访问https:// /budiedimas.visualstudio.com/DefaultCollection/。System.Exception:TF30063:您无权访问https://budiedimas.visualstudio.com/DefaultCollection/。---> Microsoft.TeamFoundation.TeamFoundationServerUnauthorizedException:TF30063:您无权访问https://budiedimas.visualstudio.com/DefaultCollection/. em Microsoft.TeamFoundation.Client.Channels.TfsHttpWebRequest.EnsureTokenProvider(HttpWebResponse webResponse) em Microsoft.TeamFoundation.Client.Channels.TfsHttpWebRequest.SendRequest() em Microsoft.TeamFoundation.Client.Channels.TfsHttpRequestChannel.Request(TfsMessage 消息,TimeSpan 超时) em Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.Invoke(TfsClientOperation 操作,Object[] 参数,TimeSpan 超时,Object[]& 输出) em Microsoft.TeamFoundation.Framework.Client.Registration.GetRegistrationEntries(String toolId) em Microsoft.TeamFoundation。 Framework.Client.RegistrationProxy.GetRegistrationEntries(String toolId) em Microsoft.TeamFoundation.Framework.Client.RegistrationService.GetInstanceId() em Microsoft.TeamFoundation.Framework.Client.RegistrationService.get_InstanceClientCacheDirectory() em Microsoft。

0 投票
1 回答
371 浏览

liferay-6 - 在 Jelastic 上的 Liferay 中自动部署 portlet

我会更改自动部署文件夹以在 Liferay 中部署我的自定义 portlet。我在 Tomcat 中使用 Jelastic 设置。我需要更改 portal-ext.propeties 吗?

0 投票
0 回答
268 浏览

git - 使用带有 Gitlab 和 Gitlab-Auto-Deploy 的 Web-Hooks 时出现错误 500

当我尝试使用 GitLab 发送 POST 请求时,每次将我的存储库推送到运行 GitLab-Auto-Deploy 的生产服务器时,都会收到 500 错误。我按照 README 文件 ( http://logsol.github.io/Github-Auto-Deploy/ ) 中的指示进行操作,但仍然收到此 500 错误。

我错过了什么 ?还有什么要设置的吗?我只希望 GitLab-Auto-Deploy 拉出我的主分支,然后说“服务器是最新的”。

信息wget http://prod-server.com:1337来自 GitLab 服务器的 A 工作正常,GitLab-Auto-Deploy 回答我(说不支持 GET 请求)。GitLab 服务器运行 Debian Squeeze、GitLab 6.1 w/ nginx。

谢谢你的帮助

0 投票
0 回答
329 浏览

tomcat - Tomcat 需要重新启动才能解压 WAR?

我正在 Netbeans 中开发 webapps。我生成 WAR 文件并将其放入 tomcat home 下的 webapps 文件夹中。我会在管理器应用程序中自动看到它,但在我重新启动 Tomcat 服务之前它不会解压缩 WAR 文件的内容。下面是 server.xml 中的配置:

我是否遗漏了一些配置以使其自行解压缩 WAR?任何帮助表示赞赏!

编辑

此外,它不是自动部署。我在管理器应用程序中看到它,但我必须通过单击开始按钮手动启动它。

0 投票
1 回答
2295 浏览

xml - how to remove tags from xml using shell script

I am using a clean script to clear components from autodeploy in weblogic.This script remove all war files and restarts the weblogic domain {this script just do rm -rf * autodeploy and then restart domain using other script start and stop weblogic scripts}.This script works well, But sometimes,i got problems removing deployments.It removes all components from autodeploy folder but still config.xml have "app-tag" for all components.I dont know why this is happening .but then i have to remove these app-tag from config.xml manually. This clean script gets in loop saying "componets getting removed"".then i have to do manual work of removing app-tags from config.xml To avoid this manual work : I need your help here,Is there possible way that using SHELL Script we can remove these tags from xml ?? I would like to call this script from within my clean script. Please guide me .

P.S : Can't post my clean script right now,But will do if needed later.Altough its just a small script which uses rm-rf and start,stop scripts

0 投票
1 回答
3528 浏览

tomcat - Tomcat7 中的自动部署

我有一个在 FreeBSD 服务器上运行 Tomcat7 的开发环境。我想确保没有应用程序自动部署,所以我在 server.xml 中使用了以下内容

问题是我仍然需要管理器和主机管理器来自动启动。有没有办法让除这些之外的所有应用程序自动部署?