Tomcat 厨师长吉拉食谱-流浪问题

Tomcat 厨师长吉拉食谱-流浪问题,tomcat,vagrant,chef-infra,jira,Tomcat,Vagrant,Chef Infra,Jira,使用来自 使用食谱中的Vagrant文件 使用命令: vagrant up ubuntu1204 > c:\temp\chef-jira.log 日志文件中的第一个错误: ==> ubuntu1204: [2014-08-30T14:23:41+00:00] ERROR: Running exception handlers ==> ubuntu1204: [2014-08-30T14:23:41+00:00] ERROR: Exception handlers comple

使用来自 使用食谱中的Vagrant文件

使用命令:

vagrant up ubuntu1204 > c:\temp\chef-jira.log
日志文件中的第一个错误:

==> ubuntu1204: [2014-08-30T14:23:41+00:00] ERROR: Running exception handlers
==> ubuntu1204: [2014-08-30T14:23:41+00:00] ERROR: Exception handlers complete
==> ubuntu1204: [2014-08-30T14:23:41+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
==> ubuntu1204: [2014-08-30T14:23:41+00:00] DEBUG: Chef::Exceptions::ResourceNotFound: resource template[/etc/tomcat6/Catalina/localhost/jira.xml] is configured to notify resource service[tomcat] with action restart, but service[tomcat] cannot be found in the resource collection. template[/etc/tomcat6/Catalina/localhost/jira.xml] is defined in /tmp/vagrant-chef-3/chef-solo-1/cookbooks/jira/recipes/container_server_configuration.rb:8:in `from_file'
有没有办法解决这个错误

谢谢,
Liora

如果配方a中的资源依赖于配方B中的资源,请在配方a的顶部添加配方B。

您的运行列表是什么?(更好:你能在问题中插入你的文件吗,至少是添加配方部分)。此外,您可以转储整个chef输出(运行列表位于顶部)