[chef] Re: Re: Re: Re: java::oracle recipe broken due to oracle now requiring browser cookie


Chronological Thread 
  • From: Bryan Berry < >
  • To:
  • Cc:
  • Subject: [chef] Re: Re: Re: Re: java::oracle recipe broken due to oracle now requiring browser cookie
  • Date: Wed, 28 Mar 2012 08:13:34 +0200

tks for the link lusis,

afaict, oabjava6 just greps the oracle page for the download link and then downloads it using wget. This step was broken as soon as Oracle added the legal terms requirement. However, I could be overlooking something.

Clicking the "accept license agreement" triggers a _javascript_ function, which makes it difficult to automate with curl, lynx, or another headless browser.

I believe that Oracle may have made the license requirement as recently as yesterday which would explain why the script worked a few days ago.

On Tue, Mar 27, 2012 at 9:03 PM, John E. Vincent (lusis) <lusis.org+ "> > wrote:
On Tue, Mar 27, 2012 at 2:44 PM, Adam Jacob < " target="_blank"> > wrote:
Seems like a great reason to move to OpenJDK. My instinct would be that if they are going to this kind of length to get you to register/use a cookie, honor their request - by downloading it locally and fetching it repeatably from a local location. Or by moving to OpenJDK. 

Adam 

Sadly OpenJDK doesn't play nice still with many applications.

Bryan,

Are you entirely positive about this? I just built two new base images a few days ago with https://github.com/flexiondotorg/oab-java6 and it worked fine. It's just a shell script.

Might be worth looking in there for inspiration. 

 




Archive powered by MHonArc 2.6.16.

§