# Jboss cookbook Error

**URL:** <https://discourse.chef.io/t/jboss-cookbook-error/5931>\
**Category:** Chef Infra (archive)\
**Created:** [November 13, 2014, 6:27am UTC](https://discourse.chef.io/t/jboss-cookbook-error/5931 "2014-11-13T06:27:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bhanot\_Jyoti](https://avatars.discourse-cdn.com/v4/letter/b/eb9ed0/32.png) [@Bhanot\_Jyoti](https://discourse.chef.io/u/Bhanot_Jyoti)\
**Post date:** [November 13, 2014, 6:27am UTC](https://discourse.chef.io/t/jboss-cookbook-error/5931/1 "2014-11-13T06:27:26Z")

</div>

All,

I am trying to install Jboss on Centos 6 using Chef. I have downloaded the cookbook ‘jboss7’, ‘~\> 0.11.1’ from Chef Super Market. I have also downloaded the dependent cookbook apt and java on the chef server.

My node’s runlist contains Jboss recipe. But I am getting the following error:

- ruby\_block[set-env-java-home] action run
  - execute the ruby block set-env-java-home

  - file[/etc/profile.d/jdk.sh] action create (up to date)

  - ruby\_block[update-java-alternatives] action nothing (skipped due to action :nothing)

  - package[java-1.6.0-openjdk] action install (up to date)

  - package[java-1.6.0-openjdk-devel] action install

Running handlers:  
[2014-11-13T06:16:16+00:00] ERROR: Running exception handlers  
Running handlers complete  
[2014-11-13T06:16:16+00:00] ERROR: Exception handlers complete  
[2014-11-13T06:16:16+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out  
Chef Client failed. 1 resources updated in 491.845613509 seconds  
[2014-11-13T06:16:17+00:00] ERROR: package[java-1.6.0-openjdk-devel] (java::openjdk line 90) had an error: Chef::Exceptions::Exec: returned 1, expected 0  
[2014-11-13T06:16:17+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

How to resolve this error. Any lead in this regard would be highly appreciated.

Thanks & Regards,  
Jyoti Bhanot
