[Go-essp-tech] Report on wget behavior

Neill Miller neillm at mcs.anl.gov
Wed Feb 16 09:50:55 MST 2011


Hello,

Rachana and I have started documenting some use cases and general information about MyProxyLogon for use in ESG.  Please visit the following page and let me know if you have questions or comments.  It includes a link to a self-signed Java Webstart version of the MyProxyLogon.  While that Webstart link is unofficial, it may help to see if you have a properly configured Java Webstart in your browser.

Whether you're able to run it or not, I'd appreciate the feedback.  Particularly if you had to apply a fix to get it working, that would be useful to post to this page.

http://esgf.org/wiki/Cmip5Gateway/MyProxyLogon

thanks,
-Neill.

----- Original Message -----
From: "Neill Miller" <neillm at mcs.anl.gov>
To: "Rachana Ananthakrishnan" <ranantha at mcs.anl.gov>
Cc: "Bob Drach" <drach1 at llnl.gov>, go-essp-tech at ucar.edu
Sent: Wednesday, February 16, 2011 9:56:58 AM
Subject: Re: [Go-essp-tech] Report on wget behavior

Hello,

I was able to recompile it with Java 1.5 and it is currently here:

http://www.mcs.anl.gov/~neillm/esg/MyProxyLogon-ESG.jar

Can someone (anyone?) give it a quick test to see if it's compliant?  It looks good over here.

-Neill.

----- Original Message -----
From: "Rachana Ananthakrishnan" <ranantha at mcs.anl.gov>
To: "Bob Drach" <drach1 at llnl.gov>
Cc: go-essp-tech at ucar.edu
Sent: Tuesday, February 15, 2011 9:35:51 PM
Subject: Re: [Go-essp-tech] Report on wget behavior





On Feb 15, 2011, at 9:24 PM, Drach, Bob wrote: 



We are getting the error ‘Bad version number in .class file’ when running with Java 1.5.0_26. The problem does not occur with Java 1.6. --Bob 


Looks like it has been compiled with Java 1.6. It needs to be recompiled with Java 1.5 and the jar needs to be distributed. 


Rachana 






On 2/15/11 7:14 PM, "Rachana Ananthakrishnan" < ranantha at mcs.anl.gov > 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 
http://mailman.ucar.edu/mailman/listinfo/go-essp-tech 

Rachana Ananthakrishnan 
Argonne National Lab | University of Chicago 








Rachana Ananthakrishnan 
Argonne National Lab | University of Chicago 

_______________________________________________
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
http://mailman.ucar.edu/mailman/listinfo/go-essp-tech


More information about the GO-ESSP-TECH mailing list