# Weblogic

**URL:** <https://discourse.chef.io/t/weblogic/5393>\
**Category:** Chef Infra (archive)\
**Created:** [June 10, 2014, 12:47pm UTC](https://discourse.chef.io/t/weblogic/5393 "2014-06-10T12:47:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ramesh\_Bahavathi](https://avatars.discourse-cdn.com/v4/letter/r/b9e5f3/32.png) [@Ramesh\_Bahavathi](https://discourse.chef.io/u/Ramesh_Bahavathi)\
**Post date:** [June 10, 2014, 12:47pm UTC](https://discourse.chef.io/t/weblogic/5393/1 "2014-06-10T12:47:08Z")

</div>

Hi Team,

Iam using weblogic cookbook. Iam facing some issues while execute.Please  
resolve.

Issue :

- template[/var/chef/cache/silent.xml] action create (up to date)  
IP \* remote\_file[/var/chef/cache/wls\_121200.jar] action create  
IP - create new file /var/chef/cache/wls\_121200.jar  
IP - update content in file /var/chef/cache/wls\_121200.jar from none to  
e6efe8  
IP (file sizes exceed 10000000 bytes, diff output suppressed)  
IP - change mode from ‘’ to '0744’  
IP - change owner from ‘’ to 'root’  
IP - change group from ‘’ to 'root’  
IP  
IP \* execute[Install Weblogic] action run  
IP  
================================================================================  
IP Error executing action `run` on resource 'execute[Install Weblogic]'  
IP  
================================================================================  
IP  
IP  
IP Mixlib::ShellOut::ShellCommandFailed  
IP ------------------------------------  
IP Expected process to exit with [0], but received '255’  
IP ---- Begin output of java -jar /var/chef/cache/wls\_121200.jar -silent  
-responseFile /var/chef/cache/weblogic\_install.rsp  
-Djava.security.egd=file:/dev/./urandom ----  
IP STDOUT: Extracting files…  
IP The inventory directory /home/oracle/orainventory cannot be created.  
Installation cannot continue.  
IP The OpenJDK JVM is not supported on this platform.  
IP The Oracle Universal Installer failed. Exiting.  
IP STDERR:  
IP ---- End output of java -jar /var/chef/cache/wls\_121200.jar -silent  
-responseFile /var/chef/cache/weblogic\_install.rsp  
-Djava.security.egd=file:/dev/./urandom ----  
IP Ran java -jar /var/chef/cache/wls\_121200.jar -silent -responseFile  
/var/chef/cache/weblogic\_install.rsp -Djava.security.egd=file:/dev/./urandom  
returned 255  
IP  
IP  
IP Resource Declaration:  
IP ---------------------  
IP # In /var/chef/cache/cookbooks/weblogic/recipes/default.rb  
IP  
IP 65: execute “Install Weblogic” do  
IP 66: command "java -jar #{Chef::Config[:file\_cache\_path]}/wls\_121200.jar  
-silent -responseFile #{Chef::Config[:file\_cache\_path]}/weblogic\_install.rsp  
-Djava.security.egd=file:/dev/./urandom"  
IP 67: user node[‘weblogic’][‘user’]  
IP 68: group node[‘weblogic’][‘group’]  
IP 69: action :run  
IP 70: end  
IP  
IP  
IP Compiled Resource:  
IP ------------------  
IP # Declared in /var/chef/cache/cookbooks/weblogic/recipes/default.rb:65:in  
`from\_file’  
IP  
IP execute(“Install Weblogic”) do  
IP action [:run]  
IP retries 0  
IP retry\_delay 2  
IP guard\_interpreter :default  
IP command "java -jar /var/chef/cache/wls\_121200.jar -silent -responseFile  
/var/chef/cache/weblogic\_install.rsp -Djava.security.egd=file:/dev/./urandom"  
IP backup 5  
IP group "oracle"  
IP returns 0  
IP user "oracle"  
IP cookbook\_name "weblogic"  
IP recipe\_name "default"  
IP end  
IP  
IP  
IP  
IP  
IP Running handlers:  
IP [2014-06-10T11:16:31+00:00] ERROR: Running exception handlers  
IP Running handlers complete  
IP  
IP [2014-06-10T11:16:31+00:00] ERROR: Exception handlers complete  
IP [2014-06-10T11:16:31+00:00] FATAL: Stacktrace dumped to  
/var/chef/cache/chef-stacktrace.out  
IP Chef Client failed. 5 resources updated in 276.312720915 seconds  
IP [2014-06-10T11:16:31+00:00] ERROR: execute[Install Weblogic]  
(weblogic::default line 65) had an error: Mixlib::ShellOut::ShellCommandFailed:  
Expected process to exit with [0], but received '255’  
IP ---- Begin output of java -jar /var/chef/cache/wls\_121200.jar -silent  
-responseFile /var/chef/cache/weblogic\_install.rsp  
-Djava.security.egd=file:/dev/./urandom ----  
IP STDOUT: Extracting files…  
IP The inventory directory /home/oracle/orainventory cannot be created.  
Installation cannot continue.  
IP The OpenJDK JVM is not supported on this platform.  
IP The Oracle Universal Installer failed. Exiting.  
IP STDERR:  
IP ---- End output of java -jar /var/chef/cache/wls\_121200.jar -silent  
-responseFile /var/chef/cache/weblogic\_install.rsp  
-Djava.security.egd=file:/dev/./urandom ----  
IP Ran java -jar /var/chef/cache/wls\_121200.jar -silent -responseFile  
/var/chef/cache/weblogic\_install.rsp -Djava.security.egd=file:/dev/./urandom  
returned 255  
IP [2014-06-10T11:16:31+00:00] FATAL: Chef::Exceptions::ChildConvergeError:  
Chef run process exited unsuccessfully (exit code 1)

---

<div class="post-metadata">

**Author:** ![kallistec](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/kallistec/32/23_2.png) [@kallistec](https://discourse.chef.io/u/kallistec)\
**Post date:** [June 10, 2014, 3:09pm UTC](https://discourse.chef.io/t/weblogic/5393/2 "2014-06-10T15:09:19Z")

</div>

On Tuesday, June 10, 2014 at 5:47 AM, [ramesh.bahavathi@techmahindra.com](mailto:ramesh.bahavathi@techmahindra.com) wrote:

> IP STDOUT: Extracting files.....................................  
> IP The inventory directory /home/oracle/orainventory cannot be created.  
> Installation cannot continue.  
> IP The OpenJDK JVM is not supported on this platform.  
> IP The Oracle Universal Installer failed. Exiting.  
> IP STDERR:  
> IP ---- End output of java -jar /var/chef/cache/wls\_121200.jar -silent  
> -responseFile /var/chef/cache/weblogic\_install.rsp  
> -Djava.security.egd=file:/dev/./urandom ----  
> IP Ran java -jar /var/chef/cache/wls\_121200.jar -silent -responseFile  
> /var/chef/cache/weblogic\_install.rsp -Djava.security.egd=file:/dev/./urandom  
> returned 255

Looks like web logic doesn’t like the JDK you’re using.

--  
Daniel DeLeo

---

<div class="post-metadata">

**Author:** ![nagavenkata.prasad](https://avatars.discourse-cdn.com/v4/letter/n/b9bd4f/32.png) [@nagavenkata.prasad](https://discourse.chef.io/u/nagavenkata.prasad)\
**Post date:** [March 17, 2016, 12:07pm UTC](https://discourse.chef.io/t/weblogic/5393/3 "2016-03-17T12:07:32Z")

</div>

Seems you are noot using SYN or JRcokit JDK compatible to WLS version. First install compatible JDK and try. Can you the your cookbook for checking?
