[Go-essp-tech] Report on wget behavior

Neill Miller neillm at mcs.anl.gov
Wed Feb 16 12:21:05 MST 2011


Yes, and it was already sent out earlier in the thread.

-Neill.

----- Original Message -----
From: "Gavin M. Bell" <gavin at llnl.gov>
To: "Neill Miller" <neillm at mcs.anl.gov>
Cc: "Nathan Wilhelmi" <wilhelmi at ucar.edu>, go-essp-tech at ucar.edu
Sent: Wednesday, February 16, 2011 1:15:40 PM
Subject: Re: [Go-essp-tech] Report on wget behavior

Cool, so the new jar will be built by compiling it for java 1.5 and we should be all good then, right? 
http://download.oracle.com/javase/1.5.0/docs/tooldocs/solaris/javac.html 
http://download.oracle.com/javase/1.5.0/docs/tooldocs/solaris/javac.html#crosscomp-example 

javac -target 1.5 


On 2/16/11 11:06 AM, Neill Miller wrote: 

Hello,

This is a JNLP specification, but AFAICT it does nothing for the actual Jar file.  In that, if the jar was compiled with Java 1.6, it won't alert you or do anything about it (which is what we were seeing).  The only case I think it helps in is if you were trying to use javaws with an version older (like Java 1.4).

-Neill.

----- Original Message -----
From: "Nathan Wilhelmi" <wilhelmi at ucar.edu> To: "Gavin M. Bell" <gavin at llnl.gov> Cc: go-essp-tech at ucar.edu Sent: Wednesday, February 16, 2011 12:24:19 PM
Subject: Re: [Go-essp-tech] Report on wget behavior

Hi,

 From the code that generates the JNLP file:
....
<resources>
    <j2se version="1.5+"/>
    <jar href="MyProxyLogon-ESG.jar" main="true"/>
  </resources>
....

This to be the only section the references a JRE version.

-Nate
Gavin M. Bell wrote: 

It is probably a constraint specified in the jnlp file.

On 2/15/11 7:14 PM, Rachana Ananthakrishnan wrote: 

On Feb 15, 2011, at 9:04 PM, Nathan Wilhelmi wrote: 

Hi - Couple of notes

On 02/15/2011 07:19 PM, Karl Taylor wrote: 

Hi all,

I know everyone is working hard on things and that ESG is  evolving 
hourly, but here are some problems I encountered in trying to get 
the wget script to work:

1. For the Mac, you must use "snow leopard" OS 10.6 in order to run 
Java 1.6.  Earlier operating systems (e.g., "leopard": 10.5.8) can 
only run Java 1.5, which is incompatible with what ESG needs to run 
MyProxy.  We need to warn users about this. Assuming there are no 1.6 specific features, this is mostly likely 
just recompiling for 1.5. This should be really easy to solve. Agreed. Neill indicated that 1.5 was what he used to compile this, so 
we shouldn't see any 1.6 dependencies. I just suggested on a separate 
thread that he verify this. Please let me know if you see any issues 
with using 1.5. 



2.  For the Mac, even when I was able to download the certificates, 
when I tried to run the wget script, I got the errors copied at the 
bottom of this email.  [Also I've attached the wget script.]  I 
think Bob has already reported this error.

3.  I was unable to understand how to try the "other options" to 
run wget.  I read the following under "trouble shooting" after 
clicking on "Other options" to "obtain security credentials":

"Run the following two commands on your Unix system to launch 
MyProxyLogon:
wget http://cmip-gw.badc.rl.ac.uk/webstart/myProxyLogon/MyProxyLogon-ESG.jar -O $HOME/.esg/MyProxyLogon.jar
java -jar $HOME/.esg/MyProxyLogon.jar -u <username> -h 
<myproxy-server>  "

I presume that <username> is my ESGF username, but I have no idea 
what <myproxy-server> is. 
Can I run this on a mac (terminal window)?  -- that's not what it 
says, but I wondered.
Don't you have to first download MyProxy something before executing 
these two commands? The first wget command you pasted above downloads the executable for 
the MyProxy client. This is the same as what the WebStart executes.

On the <myproxy-server> value, it maybe worth displaying this on the 
Gateway for a user to copy/paste. It is auto-populated when WebStart 
works, so that information should be available.

Rachana 



4.  Somewhere we should indicate what the requirements are for 
successfully downloading and executing wget using the Web Start 
method of launching MYProxyLogon.  I think they include:
a) installation of java 1.6 (and if running on a mac, Mac 10.6 or 
higher).
b) Elimination of firewall protections against opening 
"non-standard" ports.
c) Web Start software installed and enabled on your browser.
d) wget installed.

We also need to indicate where one can get the required software.

On systems easily accessible by me only c) and d) were satisfied.  
On a Linux system I successfully downloaded data after addressing 
b)  (The other requirements were aleady met.)

Note that perhaps a majority of mac users are still using Mac 10.5, 
so they will have a very difficult time.  [Of course pc folks 
running windows will be shut out.]  This is o.k. for now, I suppose.

Best regards,
Karl



--2011-02-15 15:02:48-- http://cmip-dn.badc.rl.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/6hr/atmos/6hrPlev/r1i1p1/v20101129/psl/psl_6hrPlev_HadGEM2-ES_piControl_r1i1p1_197901010600-198001010000.nc Resolving cmip-dn.badc.rl.ac.uk... 130.246.191.29
Connecting to cmip-dn.badc.rl.ac.uk|130.246.191.29|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://cmip-dn.badc.rl.ac.uk/OpenidRelyingParty/home.htm?redirect=http%3A%2F%2Fcmip-dn.badc.rl.ac.uk%2Fthredds%2FfileServer%2Fesg_dataroot%2Fcmip5%2Foutput1%2FMOHC%2FHadGEM2-ES%2FpiControl%2F6hr%2Fatmos%2F6hrPlev%2Fr1i1p1%2Fv20101129%2Fpsl%2Fpsl_6hrPlev_HadGEM2-ES_piControl_r1i1p1_197901010600-198001010000.nc [following]
--2011-02-15 15:02:48-- https://cmip-dn.badc.rl.ac.uk/OpenidRelyingParty/home.htm?redirect=http%3A%2F%2Fcmip-dn.badc.rl.ac.uk%2Fthredds%2FfileServer%2Fesg_dataroot%2Fcmip5%2Foutput1%2FMOHC%2FHadGEM2-ES%2FpiControl%2F6hr%2Fatmos%2F6hrPlev%2Fr1i1p1%2Fv20101129%2Fpsl%2Fpsl_6hrPlev_HadGEM2-ES_piControl_r1i1p1_197901010600-198001010000.nc Connecting to cmip-dn.badc.rl.ac.uk|130.246.191.29|:443... connected.
OpenSSL: error:14094416:SSL routines:SSL3_READ_BYTES:sslv3 alert 
certificate unknown
Unable to establish SSL connection.
--2011-02-15 15:02:49-- http://cmip-dn.badc.rl.ac.uk/thredds/fileServer/esg_dataroot/cmip5/output1/MOHC/HadGEM2-ES/piControl/6hr/atmos/6hrPlev/r1i1p1/v20101129/psl/psl_6hrPlev_HadGEM2-ES_piControl_r1i1p1_197812010600-197901010000.nc Resolving cmip-dn.badc.rl.ac.uk... 130.246.191.29
Connecting to cmip-dn.badc.rl.ac.uk|130.246.191.29|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://cmip-dn.badc.rl.ac.uk/OpenidRelyingParty/home.htm?redirect=http%3A%2F%2Fcmip-dn.badc.rl.ac.uk%2Fthredds%2FfileServer%2Fesg_dataroot%2Fcmip5%2Foutput1%2FMOHC%2FHadGEM2-ES%2FpiControl%2F6hr%2Fatmos%2F6hrPlev%2Fr1i1p1%2Fv20101129%2Fpsl%2Fpsl_6hrPlev_HadGEM2-ES_piControl_r1i1p1_197812010600-197901010000.nc [following]
--2011-02-15 15:02:50-- https://cmip-dn.badc.rl.ac.uk/OpenidRelyingParty/home.htm?redirect=http%3A%2F%2Fcmip-dn.badc.rl.ac.uk%2Fthredds%2FfileServer%2Fesg_dataroot%2Fcmip5%2Foutput1%2FMOHC%2FHadGEM2-ES%2FpiControl%2F6hr%2Fatmos%2F6hrPlev%2Fr1i1p1%2Fv20101129%2Fpsl%2Fpsl_6hrPlev_HadGEM2-ES_piControl_r1i1p1_197812010600-197901010000.nc Connecting to cmip-dn.badc.rl.ac.uk|130.246.191.29|:443... connected.
OpenSSL: error:14094416:SSL routines:SSL3_READ_BYTES:sslv3 alert 
certificate unknown
Unable to establish SSL connection.
        




_______________________________________________

GO-ESSP-TECH mailing list GO-ESSP-TECH at ucar.edu http://mailman.ucar.edu/mailman/listinfo/go-essp-tech _______________________________________________
GO-ESSP-TECH mailing list GO-ESSP-TECH at ucar.edu <mailto:GO-ESSP-TECH at ucar.edu> http://mailman.ucar.edu/mailman/listinfo/go-essp-tech Rachana Ananthakrishnan
Argonne National Lab | University of Chicago -- 
Gavin M. Bell
Lawrence Livermore National Labs
--

 "Never mistake a clear view for a short distance."
       	       -Paul Saffo

(GPG Key - http://rainbow.llnl.gov/dist/keys/gavin.asc )

 A796 CE39 9C31 68A4 52A7  1F6B 66B7 B250 21D5 6D3E _______________________________________________
GO-ESSP-TECH mailing list GO-ESSP-TECH at ucar.edu http://mailman.ucar.edu/mailman/listinfo/go-essp-tech 
-- 
Gavin M. Bell
Lawrence Livermore National Labs
--

 "Never mistake a clear view for a short distance."
       	       -Paul Saffo

(GPG Key - http://rainbow.llnl.gov/dist/keys/gavin.asc )

 A796 CE39 9C31 68A4 52A7  1F6B 66B7 B250 21D5 6D3E 


More information about the GO-ESSP-TECH mailing list