whirr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arun Ramakrishnan <sinchronized.a...@gmail.com>
Subject whirr and oracke jdk : whirr-0.8.0
Date Thu, 20 Sep 2012 01:08:55 GMT
I tried to install oracle jdk using the following property in the whirr
config file.

I believe it uses the script in

But, due to oracle deciding to be a
pain<https://issues.apache.org/jira/browse/WHIRR-579>the install fails
because the download fails.

********** This is the command that whirr uses and it fails ************
--silent --show-error --fail --connect-timeout 60 --max-time 600
5 -o /tmp/tmp.IQf7At2H8B/jdk-6u31-linux-x64.bin

But, a neat workaround is to specify the cookie that would be set when a
user accepts a licensing agreement.
 The following command would work

wget -c --no-cookies --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F"

The issue I am having is. I updated the script (
install_oracle_jdk6.sh ) to to reflect my changes. Built using "mvn clean
install assembly:assembly".
Used the resulting whirr archive distribution to launch a new cluster. I
also made sure that the script is as expected in the whirr-core.jar.

But, the install_oracle_jdk6.sh script seems to be using the old command
and not the new one. I am not sure where I need to update this for the
change to take effect.


View raw message