Grid Portlets Frequently Asked Questions


General Questions

Q: Is Grid Portlets JSR-168 Compliant?
Q: Does Grid Portlets Support GT3 and GT4?
Q:

Is Grid Portlets JSR-168 Compliant?

A:

The portlets in Grid Portlets extend from the base JSR compliant classes provided by GridSphere. So in principle, yes, Grid Portlets is portlet JSR compliant. However, because Grid Portlets builds upon GridSphere's Portlet Service model and because we have not yet developed a means for packaging portlet services, Grid Portlets has not been packaged or tested in another portlet container. We are considering a few approaches, but the most likely solution will be to port Grid Portlets portlet services to Spring services. We are targeting this port for early June 2005 and will keep members of mail lists posted on our progress.

Q:

Does Grid Portlets Support GT3 and GT4?

A:

Grid Portlets is developing support for GT3 and GT4 services with the GT3 Portlets and GT4 Portlets projects. These projects adapt GT3 and GT4 services to the Grid Portlets API. They are available in the "gt3portlets" and the "gt4portlets" CVS modules on our home repository. Grid Portlets provides a general API and framework for using Grids. By default, Grid Portlets offers support for GT2 technologies and support for hosting and accessing OGSA 3.2.1 services.

Configuration Questions

Q: I would like to add support for a new locale in Grid Portlets. What must I do?
Q:

I would like to add support for a new locale in Grid Portlets. What must I do?

A:

[Important]Important
Make sure you check Grid Portlets out of CVS to get latest files!

Translate the file gridportlets/webapp/WEB-INF/classes/Portlet_en.properties Use the appropriate ISO language code e.g. English is "en", Spanish is "es", etc. in the filename. The properties are Unicode encoded, which means you should create a temp file with the properties in the native language complete with accents, etc. Then you need to run "native2ascii" tool that is distributed with JDK on the temp file. E.g. native2ascii mytranslation > Portlet_hi.properties as an example of translating to Hindi.

[Important]Important
Please send us your additions so we can add them back into the code!

Credential Related Questions

Q: I have successfully installed Grid Portlets and now I want to use MyProxy to retrieve credentials. What do I do?
Q:

I have successfully installed Grid Portlets and now I want to use MyProxy to retrieve credentials. What do I do?

A:

You will need to add a myproxy-resource entry to /WEB-INF/Resources.xml, either by hand or via the Resource Registry Portlet. Please see the Grid Portlets Administrator's Guide for more information on how to configure Grid Portlets for use with MyProxy.

File Related Questions

Q: I have successfully installed Grid Portlets, but I don't see any resources available in the File Browser Portlet except for the Portal resources. How do I use my Grid FTP resources from this portlet?
Q: When I try to use a grid ftp resource from the File Browser Portlet on host with hostname <myhost>, I get the following error: No file browser supported for gridftp://<myhost>:2811/
Q:

I have successfully installed Grid Portlets, but I don't see any resources available in the File Browser Portlet except for the “Portal” resources. How do I use my Grid FTP resources from this portlet?

A:

You will need to add gridftp-resource entries to /WEB-INF/Resources.xml, either by hand or via the Resource Registry Portlet. Here's an example:


    <hardware-resource hostname="peyote.aei.mpg.de"
                       label="Peyote"
                       description="Peyote Computing Cluster">
        <gridftp-resource/>
        <!-- Add other kinds of service resource entries here... -->
    </hardware-resource>

                    

See the Grid Portlets Administrator's Guide for more information on how to specify resources.

Q:

When I try to use a grid ftp resource from the File Browser Portlet on host with hostname <myhost>, I get the following error:

 
 No file browser supported for gridftp://<myhost>:2811/
 
                     

A:

If the grid ftp resource in question is running on the same host on which your portal is running, make sure you have only one hardware-resource entry for that host. For example if you have something like this:

 
 <grid-resources>

     <!-- Leave this resource definition. -->
     <hardware-resource label="Portal"
                        description="Hosts the GridSphere Portlet Container"
                        hostname="localhost">
         <!-- Secure directory resource -->
         <localhost-resource/>
     </hardware-resource>

     <!-- If <myhost> is the same host is same host as "localhost" above, then
          you need to combine the above hardware resource entries. See next example... -->
     <hardware-resource label="MyHost"
                        description="My Grid Ftp Host"
                        hostname="<myhost>">
         <!-- Grid ftp resource -->
         <gridftp-resource port="2811"/>
     </hardware-resource>

 </grid-resources>

 
                     
Change it to something like this:
 
 <grid-resources>

     <!-- Combine the two hardware resource entries above into one -->
     <hardware-resource label="Portal"
                        description="Hosts GridSpehre Portlet Container and other services"
                        hostname="<myhost>">
         <!-- Secure directory resource -->
         <localhost-resource/>
         <!-- Grid ftp resource -->
         <gridftp-resource port="2811"/>
         <!-- Plus any other services runnning on the portal host -->
     </hardware-resource>

  </grid-resources>

 
                     

See the Grid Portlets Administrator's Guide for more information on how to specify resources.

Job Related Questions

Q: I have successfully installed Grid Portlets, but I don't see any resources available in the Job Submission Portlet. How can I use this portlet to submit jobs?
Q:

I have successfully installed Grid Portlets, but I don't see any resources available in the Job Submission Portlet. How can I use this portlet to submit jobs?

A:

You will need to add appropriate job submission resource entries to /WEB-INF/Resources.xml, either by hand or via the Resource Registry Portlet. Here's an example for how to add a GT2 Globus Gatekeeper:


    <hardware-resource hostname="peyote.aei.mpg.de"
                       label="Peyote"
                       description="Peyote Computing Cluster">
        <gram-resource/>
        <!-- Add other kinds of service resource entries here... -->
    </hardware-resource>

                    

See the Grid Portlets Administrator's Guide for more information on how to specify resources.

Other Questions

Q: I'm still having problems. What should I do?
Q:

I'm still having problems. What should I do?

A:

Please join the mailing lists!
gridsphere-users - Discussion for gridsphere users
gridsphere-dev - Discussion for gridsphere developers