{"id":33,"date":"2009-12-04T16:52:49","date_gmt":"2009-12-04T15:52:49","guid":{"rendered":"http:\/\/lackovic.wordpress.com\/?p=33"},"modified":"2013-06-11T13:13:01","modified_gmt":"2013-06-11T13:13:01","slug":"globus-eclipse","status":"publish","type":"post","link":"https:\/\/scalab.dimes.unical.it\/lackovic\/globus-eclipse\/","title":{"rendered":"Develop Globus grid services with Eclipse"},"content":{"rendered":"<p style=\"text-align:center\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-50\" title=\"eclipse\" src=\"http:\/\/scalab.dimes.unical.it\/lackovic\/wp-content\/uploads\/sites\/2\/2010\/01\/eclipse.jpg\" alt=\"\" width=\"300\" height=\"195\" \/><\/p>\n<ul>\n<li>Windows &#8211; Preferences:\n<ul>\n<li>Java &#8211; Build Path &#8211; User Libraries\u00a0:\n<ul>\n<li>press the &#8220;New&#8230;&#8221; button;<\/li>\n<li>type &#8220;globus&#8221; as user library name and press OK;<\/li>\n<li>press the &#8220;Add JARs&#8230;&#8221; button;<\/li>\n<li>select all the JARs in your $GLOBUS_LOCATION\/lib directory and press OK.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>Run &#8211; Run Configurations&#8230;\n<ul>\n<li>under\u00a0Java Application\u00a0select your application (if you don&#8217;t see it in the list then try launching it once first);<\/li>\n<li>select the\u00a0Arguments\u00a0tab;\n<ul>\n<li>in the\u00a0VM arguments\u00a0text box type:\n<pre>-DGLOBUS_LOCATION=${env_var:GLOBUS_LOCATION}<\/pre>\n<p>(This will solve the &#8220;Failed to acquire notification consumer home instance from registry&#8221; problem)<\/li>\n<\/ul>\n<\/li>\n<li>select the\u00a0Classpath\u00a0tab;\n<ul>\n<li>select\u00a0User Entries;<\/li>\n<li>press the\u00a0Advanced&#8230;\u00a0button;<\/li>\n<li>select\u00a0Add Variable String;<\/li>\n<li>press the\u00a0Variables\u00a0button;<\/li>\n<li>choose\u00a0env_var;<\/li>\n<li>in the\u00a0Argument\u00a0field type in GLOBUS_LOCATION<\/li>\n<li>press OK and OK.<br \/>\n(This will solve the &#8220;No client transport named &#8216;https&#8217; found!&#8221; problem)<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><strong><em>Deployment scripts<\/em><\/strong><\/p>\n<p>In order to be able to develop and test our grid services as easily and quickly as possible, we will need to have:<\/p>\n<ol>\n<li>the full version of Globus Toolkit installed on your development machine;<\/li>\n<li>access to the globus and root users.<\/li>\n<\/ol>\n<p>[ &#8230; under construction &#8230; ]<\/p>\n<p><strong><em>Tips &amp; Tricks<\/em><\/strong><\/p>\n<p>When testing your application with services running on several different machines, it might be handy to:<\/p>\n<ul>\n<li>open the terminals inside the same window using tabs (CTRL+SHIFT+T or File\/Open Tab);<\/li>\n<li>use authentication keys for ssh authentication in order to avoid having to type the same password over and over again. To do so run &#8216;ssh-keygen&#8217; on your client machine, then copy your ~\/.ssh\/id_rsa.pub to the ~\/.ssh\/ directory of every user of every machine you need to frequently log in to;<\/li>\n<li>use CTRL+R to search your command history when you need to run a command you have previously run;<\/li>\n<li>use CTRL+SHIFT+C and CTRL+SHIFT+V to copy and paste text in terminal;<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Windows &#8211; Preferences: Java &#8211; Build Path &#8211; User Libraries\u00a0: press the &#8220;New&#8230;&#8221; button; type &#8220;globus&#8221; as user library name and press OK; press the &#8220;Add JARs&#8230;&#8221; button; select all the JARs in your $GLOBUS_LOCATION\/lib directory and press OK. Run &#8211; Run Configurations&#8230; under\u00a0Java Application\u00a0select your application (if you don&#8217;t see it in the list &hellip; <a href=\"https:\/\/scalab.dimes.unical.it\/lackovic\/globus-eclipse\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Develop Globus grid services with Eclipse<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3,4],"tags":[],"aioseo_notices":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/scalab.dimes.unical.it\/lackovic\/wp-json\/wp\/v2\/posts\/33"}],"collection":[{"href":"https:\/\/scalab.dimes.unical.it\/lackovic\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/scalab.dimes.unical.it\/lackovic\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/scalab.dimes.unical.it\/lackovic\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/scalab.dimes.unical.it\/lackovic\/wp-json\/wp\/v2\/comments?post=33"}],"version-history":[{"count":1,"href":"https:\/\/scalab.dimes.unical.it\/lackovic\/wp-json\/wp\/v2\/posts\/33\/revisions"}],"predecessor-version":[{"id":1217,"href":"https:\/\/scalab.dimes.unical.it\/lackovic\/wp-json\/wp\/v2\/posts\/33\/revisions\/1217"}],"wp:attachment":[{"href":"https:\/\/scalab.dimes.unical.it\/lackovic\/wp-json\/wp\/v2\/media?parent=33"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/scalab.dimes.unical.it\/lackovic\/wp-json\/wp\/v2\/categories?post=33"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/scalab.dimes.unical.it\/lackovic\/wp-json\/wp\/v2\/tags?post=33"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}