jenkins自动部署到tomcat报错:ERROR: Publisher hudson.plugins.deploy.DeployPublisher aborted due to exception
2014-05-28 20:03
543 查看
参考地址:
http://blog.csdn.net/weiguang1017/article/details/9011353
manager-script — Access to the tools-
必须把部署用户的权限定义为“manager-script”,才可以成功部署。
<tomcat-users>
<!--
NOTE: By default, no user is included in the "manager-gui" role required
to operate the "/manager/html" web application. If you wish to use this app,
you must define such a user - the username and password are arbitrary.
-->
<!--
NOTE: The sample user and role entries below are wrapped in a comment
and thus are ignored when reading this file. Do not forget to remove
<!.. ..> that surrounds them.
-->
<role rolename="tomcat"/>
<role rolename="role1"/>
<role rolename="manager-gui"/>
<role rolename="admin-gui"/>
<role rolename="manager-script"/>
<user username="jenkinstom" password="jenkinstom" roles="manager-script"/>
<user username="tomcat" password="tomcat" roles="manager-gui"/>
<user username="tom" password="tom" roles="admin-gui"/>
<user username="both" password="tomcat" roles="tomcat,role1"/>
<user username="role1" password="tomcat" roles="role1"/>
</tomcat-users>
http://blog.csdn.net/weiguang1017/article/details/9011353
manager-script — Access to the tools-
必须把部署用户的权限定义为“manager-script”,才可以成功部署。
<tomcat-users>
<!--
NOTE: By default, no user is included in the "manager-gui" role required
to operate the "/manager/html" web application. If you wish to use this app,
you must define such a user - the username and password are arbitrary.
-->
<!--
NOTE: The sample user and role entries below are wrapped in a comment
and thus are ignored when reading this file. Do not forget to remove
<!.. ..> that surrounds them.
-->
<role rolename="tomcat"/>
<role rolename="role1"/>
<role rolename="manager-gui"/>
<role rolename="admin-gui"/>
<role rolename="manager-script"/>
<user username="jenkinstom" password="jenkinstom" roles="manager-script"/>
<user username="tomcat" password="tomcat" roles="manager-gui"/>
<user username="tom" password="tom" roles="admin-gui"/>
<user username="both" password="tomcat" roles="tomcat,role1"/>
<user username="role1" password="tomcat" roles="role1"/>
</tomcat-users>
相关文章推荐
- jenkins Hudson fails build with UnsupportedOperationException due to attempted modification of Simpl
- Jenkins错误“editable email notification aborted due to exception”的问题解决
- Jenkins构建项目时构建成功但不部署到tomcat的webapps下(Build step 'Deploy war/ear to a container' marked build as fai)
- Jenkins部署:The username you provided is not allowed to use the text-based Tomcat Manager (error 403)
- 内存溢出导致jenkins自动部署到tomcat失败
- 使用solr4.9部署到tomcat上出现Context [/solr] startup failed due to previous errors问题以及解决办法
- web程序部署到Tomcat服务器报错Deployment is out ofdate due to changes in the underlying project contents...
- 关于tomcat报Error listenerStart和Context [*] startup failed due to previous errors两个错误的总结
- 解决Tomcat部署Maven异常:Deployment is out of date due to changes in the underlying project contents
- jenkins 启动slave,出现com.sun.deploy.net.FailedDownloadException: Unable to load resource
- org.apache.jasper.JasperException: Unable to compile class for JSP;Tomcat部署JspFactory报异常的解决方案
- activiti-explorer.war部署tomcat报 “Context [/activiti-explorer] startup failed due to previous errors”
- 使用 svn+maven+jenkins(hudson)+Publish Over SSH plugins 构建持续集成及自动远程发布体系
- 使用 svn+maven+jenkins(hudson)+Publish Over SSH plugins 构建持续集成及自动远程发布体系(转)
- JENKINS+MAVEN+GIT+TOMCAT自动构建部署记录
- 内存溢出导致jenkins自动部署到tomcat失败
- jenkins自动构建并部署tomcat
- JBOSS报错:Deployment "AttachmentStore" is in error due to: java.lang.IllegalArgumentException
- error[No partition metadata for topic test-1 due to kafka.common.LeaderNotAvailableException]
- tomcat 启动错误 Error listenerStart org.apache.catalina.LifecycleException: Failed to start component