Friday, November 17, 2006

GridFTP Portlet Download Bugs and Workarounds


  • The GridFTP portlet does not have the "emptySessionPath" variable set for the SSL/HTTPS connector in the server.xml file. This will cause downloads to fail. The solution is simple and is described in detail in the "Post-Installation Steps" section of http://www.collab-ogce.org/nmi/ogce2-docs/installing.html. You just need to add the attribute emptySessionPath="true" to the HTTPS connector. This has been corrected in the CVS.


  • Firefox 2 will attempt to open downloaded files (which use target="_blank") in new tabs rather than in new windows. You will get a popup prompt asking you to save the file, but the "save" button will be disabled. To work around this, right click file download link.


  • TeraGrid GridFTP servers that are listed in the ogce2-2.0.4 download's grid.installation.properties default values are using an older version of GridFTP. This has no effect on remote file browsing but will cause downloads to fail. Select "GT 3.2 or earlier" instead of the default "GT4" in the selection box when connecting to these servers.

1 comment:

Marcus Christie said...

Just to provide further details on the emptySessionPath issue: emptySessionPath must be set to true if you want to be able to share session attributes between portlets and servlets within the same web application. How it works in the GridFTP portlet is that GridFTP connection information is stored in the portlets session (application scope). When a download link is clicked, it's actually a GridFTP download servlet that handles the request. It tries to read the GridFTP connection stuff out of the HTTP session, and then proceeds to handle the GridFTP download, etc.