{"id":197,"date":"2006-08-28T11:24:51","date_gmt":"2006-08-28T15:24:51","guid":{"rendered":"http:\/\/www.dr-chuck.com\/wordpress\/?p=197"},"modified":"2011-12-17T12:20:25","modified_gmt":"2011-12-17T16:20:25","slug":"putting-a-new-portlet-into-gridsphere-thanks-to-marcus-and-marlon","status":"publish","type":"post","link":"https:\/\/www.dr-chuck.com\/csev-blog\/2006\/08\/putting-a-new-portlet-into-gridsphere-thanks-to-marcus-and-marlon\/","title":{"rendered":"Putting a new Portlet into GridSphere (Thanks to Marcus and Marlon)"},"content":{"rendered":"<p>The basic steps to deploying a portlet in GridSphere by hand are the<br \/>\nfollowing (which can also be a check list if things go wrong):<br \/>\n-1. Shutdown tomcat.<br \/>\n0. Edit Tomcat&#8217;s conf\/tomcat-users.xml file and add the line<br \/>\n&lt;user username=&#8221;gridsphere&#8221; password=&#8221;gridsphere&#8221; roles=&#8221;manager&#8221;\/><br \/>\n1. Make sure you have a portlet.xml file.<br \/>\n2. Modify your web.xml file to use GridSphere specific settings.  The<br \/>\nAnt task should do this for you.<br \/>\n3. Make sure you have the file gridsphere-portlet.xml in your portlet&#8217;s<br \/>\nWEB-INF directory.  You never need to actually edit this, so you can<br \/>\ncopy from one portlet to another.<br \/>\n4. Make sure you have gridsphere-ui-tags.jar in your portlet&#8217;s<br \/>\nWEB-INF\/lib directory.<br \/>\n5. Compile everything and create a war file.  Your war file name is<br \/>\nimportant&#8211;it needs to match stuff in web.xml.<br \/>\n6. Copy this war file to tomcat&#8217;s webapps directory.<br \/>\n7. Create an empty file (using unix&#8217;s &#8220;touch&#8221; command) in tomcat&#8217;s<br \/>\nwebapps\/gridsphere\/WEB-INF\/CustomPortal\/portlets directory.  This should<br \/>\nhave the same name as your war file.  If your portlet is myjunk.war,<br \/>\nthen &#8220;touch \/path\/to\/tomcat\/webapps\/WEB-INF\/CustomPortal\/portlets\/myjunk&#8221;.<br \/>\n8. Restart tomcat.<\/p>\n<p><!--more--><br \/>\nSubject:\tRe: Help with Gridsphere<br \/>\nDate:\tFri, 19 May 2006 11:51:26 -0400<br \/>\nFrom:\tMarlon Pierce &lt;mpierce near cs.indiana.edu><br \/>\nTo:\tYu (Marie) Ma &lt;yuma workingat cs.indiana.edu><br \/>\nCC:\tMehmet Nacar &lt;mnacar closeto cs.indiana.edu><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The basic steps to deploying a portlet in GridSphere by hand are the following (which can also be a check list if things go wrong): -1. Shutdown tomcat. 0. Edit Tomcat&#8217;s conf\/tomcat-users.xml file and add the line &lt;user username=&#8221;gridsphere&#8221; password=&#8221;gridsphere&#8221; roles=&#8221;manager&#8221;\/> 1. Make sure you have a portlet.xml file. 2. Modify your web.xml file to [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-197","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/197","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/comments?post=197"}],"version-history":[{"count":1,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/197\/revisions"}],"predecessor-version":[{"id":2288,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/197\/revisions\/2288"}],"wp:attachment":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/media?parent=197"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/categories?post=197"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/tags?post=197"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}