This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 175112

Summary: NoGo for Sun Grid Engine in NetBeans 6.7.1
Product: updatecenters Reporter: paulocanedo <paulocanedo>
Component: PluginportalAssignee: gayatritripathi <gayatritripathi>
Status: NEW ---    
Severity: blocker CC: gayatritripathi, jhalupka
Priority: P3    
Version: 6.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: BTW, here is what I see when trying to install all 4 NBMs into 6.7.1.

Description paulocanedo 2009-10-21 14:50:58 UTC
I go to Tools->plugins->Downloaded and click in Add plug-ins, when I choose GridEngineAccessModule.nbm this plugin
doesn't appear in downloaded list, thus I can't install neither GridEngineAccessModule SunGridJavaSupport.nbm

There are no warning messages.
Comment 1 Jiri Kovalsky 2009-10-21 21:26:38 UTC
Paulo, you should not install it into 6.7.1. This plugin verification was requested against NetBeans 6.5. Can you please
try this with 6.5 first? Thanks!

Gayatri, can you please fix this problem or suggest Paulo Canedo and John Halupka how to install the plugin? Thanks!
Comment 2 paulocanedo 2009-10-21 21:47:45 UTC
Hi Jiri, I alreay tried both netbeans 6.7.1 and 6.5.1 in windows with jdk 1.6

If any of you two have any suggestion, I can't install the plugin GridEngineAccessModule.nbm
Comment 3 Jiri Kovalsky 2009-10-21 22:13:31 UTC
Gayatri, can you please help or explain Paulo's and John's installation problems somehow? Thanks!

BTW, the plugin is here: http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=20201
Comment 4 gayatritripathi 2009-10-22 08:27:51 UTC
I am sorry to mention that the download and installation is working up to the mark for netbeans 6.5, 6.7 on Solaris,
opensolaris. Still trying to figure out what could be the problem in Windows netbeans. As this plugin is meant for SGE
on Solaris , I would like to request it to be verified and approved for Solaris netbeans.
Comment 5 Jiri Kovalsky 2009-10-22 09:18:51 UTC
In such case it would be probably best to publish the plugin on standard NetBeans Update Center where you can even set
some property that will assure the plugin will be displayed only on Solaris. Do you really want to keep it in the Plugin
Portal Gayatri?
Comment 6 Jiri Kovalsky 2009-10-22 09:39:37 UTC
Created attachment 89907 [details]
BTW, here is what I see when trying to install all 4 NBMs into 6.7.1.
Comment 7 gayatritripathi 2009-10-22 09:43:15 UTC
Thats true, for my project I need my plugin to be in the update center. Can you please help me in setting for its
availability only for solaris.
Comment 8 gayatritripathi 2009-10-22 09:44:49 UTC
Do you still get the same error in Solaris
Comment 9 Jiri Kovalsky 2009-10-22 09:51:15 UTC
Gonna test it right away, please don't leave your computer... :-)
Comment 10 Jiri Kovalsky 2009-10-22 10:11:49 UTC
So, I was able to install the plugin on Solaris however I have three comments:

1. org-ggf-drmaa.nbm module does not contain any license (must be fixed prior publishing on Update Center)
2. After installation, I invoked "Window > Grid Engine Access" from main menu and CNF was thrown. [1]
3. "Grid Engine" menu is empty, is this as designed?

[1] http://statistics.netbeans.org/analytics/exception.do?id=284109
Comment 11 gayatritripathi 2009-10-22 10:21:39 UTC
1) I will add the license for org-ggf-drmaa.nbm 
2) The Exception thrown is as expected. to run the plugin the following steps need to be followed as given in the plugin
notes
 This module provides access to the Sun Grid Engine. For USAGE refer to

  Sun HPC Software, Developer Edition 1.0 for OpenSolaris

For connectivity to the installed Sun Grid Engine, the user needs to set the shell as below:
This should be done in the shell before starting the netbeans with the installed SGE plugin
1. Download SGE from SGE Download
2. Source the settings.sh to set SGE_ROOT in the user shell.
3. Set the LD_LIBRARY_PATH to $SGE_ROOT/lib/`$SGE_ROOT/util/arch` for libdrmaa.so
Note: The Job templates in the Job tab are based on
Sun HPC Software, Developer Edition 1.0 for OpenSolaris 

Thanks
Comment 12 Jiri Kovalsky 2009-10-22 10:42:08 UTC
Thanks for your immediate evaluation Gayatri! To be honest, I was a bit disappointed that exception is as designed.
Can't you simply catch it on opening the new SGE window and display some human readable message suggesting what to do?
And what about the empty menu? Shouldn't it be disabled if it contains no items?

Finally, I would like to propose this solution:

1. Remove verification request for your SGE plugin.
2. Fix the problems above and update binaries in the Plugin Portal.
3. Ask for publishing on the standard NetBeans Update Center [1]. This will even enable to hide your plugin on
non-Solaris operating systems.

[1] http://www.netbeans.org/community/guidelines/au-request-form.html

Would you agree with my proposal?
Comment 13 gayatritripathi 2009-10-22 10:51:21 UTC
I do agree. Let me see if I can find solution for all the requirements. Meanwhile I will withdraw it from verification.

Comment 14 Jiri Kovalsky 2009-10-22 11:50:48 UTC
Glad to hear that, thanks!
Comment 15 gayatritripathi 2009-10-30 07:54:21 UTC
Hi, 

I have loaded the updated plugin for review. Please have a look of the same.