【问题标题】:Cannot deploy war to prod via jenkins无法通过 jenkins 将战争部署到 prod
【发布时间】:2018-02-17 12:56:45
【问题描述】:

您好,我们有 2 个环境 QA/Prod,配置相同(F5 和防火墙) 我可以使用部署到容器插件从 Jenkins 部署到 QA,但是使用相同的配置,我无法部署到 Prod(tomcat6)。例外:

ERROR: Build step failed with exception
org.codehaus.cargo.container.ContainerException: Failed to deploy[E:\opt\jenkins\workspace\Deploy to Prod\newrecovery.war]


at hudson.model.Executor.run(Executor.java:405)
Caused by: org.codehaus.cargo.container.tomcat.internal.TomcatManagerException: The Tomcat Manager responded "<html><head><title>Request Rejected</title></head><body>The requested URL was rejected. Please consult with your administrator.<br><br>Your support ID is: 328182350955272879</body></html>" instead of the expected "OK" message

【问题讨论】:

  • 生产tomcat是否创建了用户并分配了角色?
  • 是的,和tomcat用户配置下QA一样的用户和密码
  • 这部分错误信息The requested URL was rejected. 好像没有安装Tomcat的管理部分?
  • 管理你的意思是汤姆用户,比如 admin、gu 和 scirpt 经理?
  • 发现了问题,F5 被他们阻止了,他们将向我运行 jenkins 的服务器的 IP 添加一个例外

标签: java maven tomcat jenkins deployment


【解决方案1】:

发现了问题,F5 阻止了部署,他们将向我运行 jenkins 的服务器的 IP 添加一个异常 -

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2016-08-16
    • 2016-09-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-04-12
    • 1970-01-01
    • 2015-04-16
    相关资源
    最近更新 更多