<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3397307274793912001</id><updated>2011-07-28T06:36:46.234-07:00</updated><category term='gfac proxy'/><category term='maven'/><category term='mysql'/><category term='nmi'/><category term='mdss gridftp'/><title type='text'>Rishi Verma's Community Grids Lab Blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://gridportal-lab.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://gridportal-lab.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Rishi Verma</name><uri>http://www.blogger.com/profile/06559938632703884851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>26</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3397307274793912001.post-2626758830034350489</id><published>2008-04-07T12:43:00.000-07:00</published><updated>2008-04-07T12:45:29.937-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='nmi'/><category scheme='http://www.blogger.com/atom/ns#' term='maven'/><title type='text'>NMI Testing notes</title><content type='html'>Here are a list of things I had to do to get the OGCE build running on NMI:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Copy my own maven tar ball over to the NMI machine. For some reason, using the OGCE's bundled maven caused problems&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3397307274793912001-2626758830034350489?l=gridportal-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gridportal-lab.blogspot.com/feeds/2626758830034350489/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3397307274793912001&amp;postID=2626758830034350489' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/2626758830034350489'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/2626758830034350489'/><link rel='alternate' type='text/html' href='http://gridportal-lab.blogspot.com/2008/04/nmi-testing-notes.html' title='NMI Testing notes'/><author><name>Rishi Verma</name><uri>http://www.blogger.com/profile/06559938632703884851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3397307274793912001.post-9034499663672979177</id><published>2008-03-28T14:39:00.000-07:00</published><updated>2008-03-28T14:47:26.763-07:00</updated><title type='text'>NMI checking java pre-reqs for various platforms</title><content type='html'>If you want to check which version of java a given platform provides, use the following command:&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;nmi_list_prereqs --platform=&lt;platform_name&gt; &lt;/span&gt;&lt;span class="nfakPe"&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;java&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Here's a handy PERL script that goes through a whole list of platforms and tells you if they support a specific java version. You can easily modify it to just display the platform version.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(51, 51, 255);font-size:78%;" &gt;#!/usr/bin/perl&lt;br /&gt;&lt;br /&gt;# Author: Rishi Verma &lt;riverma@indiana.edu&gt;&lt;br /&gt;&lt;br /&gt;# PURPOSE:&lt;br /&gt;# This script goes through a list of platforms, checks whether each platform suppports&lt;br /&gt;# a specific version of JDK, and prints the result (yes, no) onto the screen.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;$jdk_version = "java-1.5.0_08";&lt;br /&gt;$counter = 1;&lt;br /&gt;&lt;br /&gt;# array for all non-mac platforms&lt;br /&gt;@non_mac_platforms = ("x86_64_fc_4", "x86_64_fc_5", "x86_64_rhap_5", "x86_64_rhas_3", "x86_64_rhas_4", "x86_64_sles_8", "x86_cent_4.2", "x86_deb_3.1", "x86_deb_4.0", "x86_fc_2", "x86_fc_3", "x86_fc_4", "x86_fc_5", "x86_rh_7.2", "x86_rh_8.0", "x86_rh_9", "x86_rhap_5", "x86_rhas_3", "x86_rhas_4", "x86_slc_3", "x86_sles_8", "x86_sles_9", "x86_slf_3", "x86_suse_10.0", "x86_suse_10.2", "x86_ubuntu_5.10");&lt;br /&gt;&lt;br /&gt;# go through each platform, check if jdk_version exists for it, and print yes or no&lt;br /&gt;foreach(@non_mac_platforms)&lt;br /&gt;{&lt;br /&gt;        $output = `nmi_list_prereqs --platform=$_ java`;&lt;br /&gt;&lt;br /&gt;        if ($output =~ /$jdk_version/)&lt;br /&gt;        {       print "$counter) Platform: $_ supports $jdk_version ? =&gt; YES\n";        }&lt;br /&gt;        else&lt;br /&gt;        {       print "$counter) Platform: $_ supports $jdk_version ? =&gt; NO\n"; }&lt;br /&gt;&lt;br /&gt;        $counter++;&lt;br /&gt;}&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3397307274793912001-9034499663672979177?l=gridportal-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gridportal-lab.blogspot.com/feeds/9034499663672979177/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3397307274793912001&amp;postID=9034499663672979177' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/9034499663672979177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/9034499663672979177'/><link rel='alternate' type='text/html' href='http://gridportal-lab.blogspot.com/2008/03/nmi-checking-java-pre-reqs-for-various.html' title='NMI checking java pre-reqs for various platforms'/><author><name>Rishi Verma</name><uri>http://www.blogger.com/profile/06559938632703884851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3397307274793912001.post-6047795822153907603</id><published>2008-03-26T09:35:00.000-07:00</published><updated>2008-03-26T12:44:11.077-07:00</updated><title type='text'>XBaya load problem</title><content type='html'>XBaya doesn't seem to launch properly coming straight out of the box (as part of OGCE).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(153, 0, 0);"&gt;&lt;span style="color: rgb(255, 0, 0);font-size:85%;" &gt;PROBLEM:&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;I keep getting the following:&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(153, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(255, 0, 0);font-size:78%;" &gt;An error occurred while launching/running the application.&lt;br /&gt;Category: Launch File Error&lt;br /&gt;The field &lt;jnlp&gt;codebase has an invalid value: @HOST_BASE_URL@/xbaya/&lt;br /&gt;&lt;br /&gt;&lt;/jnlp&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);font-size:78%;" &gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;I tried changing the value of "@HOST_BASE_URL@" to "${host.base.url}" in xbaya.jsp and xbaya.jnlp (in portlets/xbaya/src/main/webapp), but this yields pretty much the same problem.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 204, 0);"&gt;SOLUTION:&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;In tomcat/webapps/xbaya/  open up xbaya-final.jsp and xbaya.jnlp, change "@HOST_BASE_URL@" to "http://localhost:8080".&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(51, 204, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3397307274793912001-6047795822153907603?l=gridportal-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gridportal-lab.blogspot.com/feeds/6047795822153907603/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3397307274793912001&amp;postID=6047795822153907603' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/6047795822153907603'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/6047795822153907603'/><link rel='alternate' type='text/html' href='http://gridportal-lab.blogspot.com/2008/03/xbaya-load-problem.html' title='XBaya load problem'/><author><name>Rishi Verma</name><uri>http://www.blogger.com/profile/06559938632703884851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3397307274793912001.post-6013655860489960656</id><published>2008-02-29T15:05:00.000-08:00</published><updated>2008-02-29T15:12:23.611-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='gfac proxy'/><title type='text'>Proxymanager GFAC credential problem</title><content type='html'>To try and resolve the proxy credential mismatch between proxy-manager portlet and gfac, I tried just manually deleting the following two jars from gfac deployment directory:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;cog-jglobus, version: 1.2-050621&lt;/li&gt;&lt;li&gt;proxymanager-api, version: 4.3&lt;/li&gt;&lt;/ul&gt;No longer am I getting the old error (from GFAC Portlet) that I use to be getting - related to the portlet not being able to get a proxy credential, now I have a new problem when I first obtain a credential from proxy-manager and then try to open up gfac:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(255, 102, 102);font-size:78%;" &gt;xsul.XsulException: &lt;span style="font-weight: bold; color: rgb(51, 102, 255);"&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;The credential is not a Globus credential&lt;/span&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;.&lt;/span&gt;&lt;/span&gt; at xsul.invoker.gsi.GsiInvoker.createPuretlsContext(GsiInvoker.java:51) at xsul.invoker.gsi.GsiInvoker.(GsiInvoker.java:43) at xregistry.utils.Utils.createWSIFClient(Utils.java:151) at xregistry.client.DocumentRegistryClient.(DocumentRegistryClient.java:82) at edu.indiana.extreme.gfac.external.impl.XregistryServiceWrapper.(XregistryServiceWrapper.java:49) at edu.indiana.extreme.gfac.external.ExternalServiceFactory.createRegistryService(ExternalServiceFactory.java:30) at edu.indiana.extreme.gfac.util.ui.GlobalContext.init(GlobalContext.java:117) at org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:251) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499) at org.gridlab.gridsphere.portlet.jsrimpl.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:57) at edu.indiana.extreme.gfac.util.ui.ServiceMapGeneratorPortlet.doView(ServiceMapGeneratorPortlet.java:200) at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:201) at javax.portlet.GenericPortlet.render(GenericPortlet.java:140) at org.gridlab.gridsphere.provider.portlet.jsr.PortletServlet.service(PortletServlet.java:387) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499) at org.gridlab.gridsphere.portletcontainer.impl.SportletDispatcher.include(SportletDispatcher.java:299) at org.gridlab.gridsphere.portletcontainer.impl.SportletDispatcher.service(SportletDispatcher.java:162) at org.gridlab.gridsphere.portletcontainer.PortletInvoker.service(PortletInvoker.java:187) at org.gridlab.gridsphere.layout.PortletFrame.doRender(PortletFrame.java:554) at org.gridlab.gridsphere.layout.PortletColumnLayout.doRender(PortletColumnLayout.java:51) at org.gridlab.gridsphere.layout.PortletRowLayout.doRender(PortletRowLayout.java:37) at org.gridlab.gridsphere.layout.PortletTableLayout.doRender(PortletTableLayout.java:193) at org.gridlab.gridsphere.layout.PortletTab.doRender(PortletTab.java:271) at org.gridlab.gridsphere.layout.PortletTabbedPane.doRender(PortletTabbedPane.java:330) at org.gridlab.gridsphere.layout.PortletTab.doRender(PortletTab.java:271) at org.gridlab.gridsphere.layout.PortletTabbedPane.doRender(PortletTabbedPane.java:330) at org.gridlab.gridsphere.layout.PortletPage.doRenderHTML(PortletPage.java:550) at org.gridlab.gridsphere.layout.PortletPage.doRender(PortletPage.java:453) at org.gridlab.gridsphere.layout.PortletLayoutEngine.service(PortletLayoutEngine.java:106) at org.gridlab.gridsphere.servlets.GridSphereServlet.processRequest(GridSphereServlet.java:270) at org.gridlab.gridsphere.servlets.GridSphereServlet.doGet(GridSphereServlet.java:138) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.gridlab.gridsphere.filters.GridSphereFilter.doFilter(GridSphereFilter.java:77) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.gridlab.gridsphere.filters.RequestEncodingFilter.doFilter(RequestEncodingFilter.java:72) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3397307274793912001-6013655860489960656?l=gridportal-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gridportal-lab.blogspot.com/feeds/6013655860489960656/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3397307274793912001&amp;postID=6013655860489960656' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/6013655860489960656'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/6013655860489960656'/><link rel='alternate' type='text/html' href='http://gridportal-lab.blogspot.com/2008/02/proxymanager-gfac-credential-problem.html' title='Proxymanager GFAC credential problem'/><author><name>Rishi Verma</name><uri>http://www.blogger.com/profile/06559938632703884851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3397307274793912001.post-4855591579970847240</id><published>2008-02-29T11:29:00.000-08:00</published><updated>2008-02-29T13:45:22.674-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><title type='text'>MySQL won't start problem</title><content type='html'>Was trying to run MySQL, but came across a really annoying problem - it kept saying it couldn't find a "socket" file and thus wouldn't start.&lt;br /&gt;&lt;br /&gt;eg.&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(51, 51, 255);"&gt;&gt; mysql&lt;/span&gt;&lt;br /&gt;&lt;span id="intelliTxt"&gt;&lt;span style="font-style: italic; color: rgb(51, 51, 255);"&gt;ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Here's how to fix it, just start the MySQL daemon again and all will work:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(51, 102, 255);"&gt;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(51, 102, 255);" id="intelliTxt"&gt; /usr/local/mysql/bin/mysqld_safe &amp;amp;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3397307274793912001-4855591579970847240?l=gridportal-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gridportal-lab.blogspot.com/feeds/4855591579970847240/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3397307274793912001&amp;postID=4855591579970847240' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/4855591579970847240'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/4855591579970847240'/><link rel='alternate' type='text/html' href='http://gridportal-lab.blogspot.com/2008/02/mysql-wont-start-problem.html' title='MySQL won&apos;t start problem'/><author><name>Rishi Verma</name><uri>http://www.blogger.com/profile/06559938632703884851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3397307274793912001.post-8940459557205308123</id><published>2008-02-20T15:07:00.000-08:00</published><updated>2008-02-20T15:09:59.034-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mdss gridftp'/><title type='text'>Grid FTP / MDSS testing</title><content type='html'>Time has come to test the file-manager portlet once again. I'm using the same "MDSSLoadTesting.jmx" file as before, just with slightly bigger files this time.&lt;br /&gt;&lt;br /&gt;I have downloaded the files, and just need to run the test within JMeter. I need to add three accounts however to the OGCE portal: ogceUSER1, ogceUSER2, ogceUSER3.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3397307274793912001-8940459557205308123?l=gridportal-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gridportal-lab.blogspot.com/feeds/8940459557205308123/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3397307274793912001&amp;postID=8940459557205308123' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/8940459557205308123'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/8940459557205308123'/><link rel='alternate' type='text/html' href='http://gridportal-lab.blogspot.com/2008/02/grid-ftp-mdss-testing.html' title='Grid FTP / MDSS testing'/><author><name>Rishi Verma</name><uri>http://www.blogger.com/profile/06559938632703884851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3397307274793912001.post-6264540866579595305</id><published>2008-02-20T14:58:00.000-08:00</published><updated>2008-02-20T15:03:30.375-08:00</updated><title type='text'>Find out if something is running on port 8080</title><content type='html'>For my remote NMI builds, there is a problem I am facing that the portal I am building won't start on port 8080 because it is "being used by" something else.&lt;br /&gt;&lt;br /&gt;Here's a test you can perform automatically to verify if the port is indeed being blocked, and by what (use the "lsof" command). By the way this doesn't actually help me any for my NMI builds since the NMI machines don't have the "lsof" command.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;span style="color: rgb(51, 102, 255); font-style: italic;"&gt;echo -------- IS THE TOMCAT PORTAL ALREADY RUNNING, OR IS PORT 8080 BEING USED? ---------&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255); font-style: italic;"&gt;# COMMAND TO FIND OUT WHAT IS RUNNING ON PORT 8080&lt;br /&gt;lsof -i :8080&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255); font-style: italic;"&gt;if test $? -ne 0; then&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255); font-style: italic;"&gt;        echo "  =&gt; PORT 8080 IS FREE, NO PROBLEMO"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255); font-style: italic;"&gt;else&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255); font-style: italic;"&gt;        echo "  =&gt; PORT 8080 IS BLOCKED, TRY SHUTTING DOWN TOMCAT SERVER"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255); font-style: italic;"&gt;        portal_deploy/apache-tomcat-5.5.12/bin/shutdown.sh&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255); font-style: italic;"&gt;fi&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255); font-style: italic;"&gt;echo ------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3397307274793912001-6264540866579595305?l=gridportal-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gridportal-lab.blogspot.com/feeds/6264540866579595305/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3397307274793912001&amp;postID=6264540866579595305' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/6264540866579595305'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/6264540866579595305'/><link rel='alternate' type='text/html' href='http://gridportal-lab.blogspot.com/2008/02/find-out-if-something-is-running-on.html' title='Find out if something is running on port 8080'/><author><name>Rishi Verma</name><uri>http://www.blogger.com/profile/06559938632703884851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3397307274793912001.post-5302082149874138045</id><published>2008-01-18T15:07:00.000-08:00</published><updated>2008-01-18T15:11:36.428-08:00</updated><title type='text'>OGCE Local build/run tests almost done</title><content type='html'>The build and JMeter run tests for the OGCE portal are almost done. I've got a script finished that builds the portal from scratch, runs the JMeter tests, and sends all the result files to SVN.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Things to do:&lt;/span&gt;&lt;br /&gt; &lt;ol&gt;   &lt;li style="color: rgb(255, 0, 0);"&gt;Try somehow to show the HTTP response errors for the JMeter modules that failed&lt;/li&gt;   &lt;ol style="color: rgb(255, 0, 0);"&gt;     &lt;li&gt;Maybe give a URL link to the errors within the XML document?&lt;/li&gt;   &lt;/ol&gt;   &lt;li&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Highlight the tests that failed within the XML document (via XSL stylesheets!)&lt;/span&gt;&lt;br /&gt;  &lt;/li&gt; &lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3397307274793912001-5302082149874138045?l=gridportal-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gridportal-lab.blogspot.com/feeds/5302082149874138045/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3397307274793912001&amp;postID=5302082149874138045' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/5302082149874138045'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/5302082149874138045'/><link rel='alternate' type='text/html' href='http://gridportal-lab.blogspot.com/2008/01/ogce-local-buildrun-tests-almost-done.html' title='OGCE Local build/run tests almost done'/><author><name>Rishi Verma</name><uri>http://www.blogger.com/profile/06559938632703884851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3397307274793912001.post-3031229958632910810</id><published>2008-01-18T12:59:00.000-08:00</published><updated>2008-01-18T13:08:16.464-08:00</updated><title type='text'>Adding XSL stylesheet info line on second line of XML document</title><content type='html'>&lt;strong&gt;&lt;span style="font-size:130%;"&gt;Solution for #1:&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;Clip the ?xml...? first line from the XML document, and copy the rest of the XML file into a temporary file. Then insert XSL tag-sheet info as well as the XML document header (which you clipped) into the original file (overwrite the file). Finally, append the temp file's contents to the original file and voila! You've inserted the XML stylesheet info on the 2nd line of your file!&lt;br /&gt;&lt;br /&gt;&lt;i&gt;&lt;span style="color:#3366ff;"&gt;&lt;span&gt;num_of_lines=`cat OGCEJMeterResults.xml | wc -l`&lt;br /&gt;&lt;br /&gt;tail -n $[$num_of_lines - 1] OGCEJMeterResults.xml &gt; OGCEJMeterResults-temp.xml&lt;br /&gt;&lt;br /&gt;echo (THE XML AND XSL HEAD TAGS HERE) &gt; OGCEJMeterResults.xml&lt;br /&gt;&lt;br /&gt;cat OGCEJMeterResults-temp.xml &gt;&gt; OGCEJMeterResults.xml&lt;br /&gt;&lt;br /&gt;rm OGCEJMeterResults-temp.xml&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;span style="color:#3366ff;"&gt;&lt;span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3397307274793912001-3031229958632910810?l=gridportal-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gridportal-lab.blogspot.com/feeds/3031229958632910810/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3397307274793912001&amp;postID=3031229958632910810' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/3031229958632910810'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/3031229958632910810'/><link rel='alternate' type='text/html' href='http://gridportal-lab.blogspot.com/2008/01/adding-xsl-stylesheet-info-line-on.html' title='Adding XSL stylesheet info line on second line of XML document'/><author><name>Rishi Verma</name><uri>http://www.blogger.com/profile/06559938632703884851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3397307274793912001.post-7319366820192762588</id><published>2008-01-16T14:30:00.000-08:00</published><updated>2008-01-16T14:42:08.206-08:00</updated><title type='text'>Local OGCE build/run test</title><content type='html'>I'm setting up a local (non-NMI) build and run test of the OGCE framework.&lt;br /&gt;&lt;br /&gt;Steps completed:&lt;br /&gt;1) Script made that:&lt;br /&gt;   - svn checks out portal&lt;br /&gt;   - does a clean build on portal (maven, tomcat bundled)&lt;br /&gt;   - starts up portal on tomcat server&lt;br /&gt;   - runs JMeter test file against portal and stores results of test in XML file&lt;br /&gt;2) XSLT Style sheet made that converts JMeter resultant XML output file into readable HTML&lt;br /&gt;&lt;br /&gt;Things to do:&lt;br /&gt;1) Auto insert XSL tag into the JMeter resultant XML output file (tag specifying the XSL stylesheet must but at the top of XML file to have it display properly):&lt;br /&gt;   &lt;?xml-stylesheet type="text/xsl" href="OGCEJMeterResults.xsl"?&gt;&lt;br /&gt;2) Send the XML test results file and stylesheet to soureforge account&lt;br /&gt;3) Store build text output in a file, and send to soureforge account&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3397307274793912001-7319366820192762588?l=gridportal-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gridportal-lab.blogspot.com/feeds/7319366820192762588/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3397307274793912001&amp;postID=7319366820192762588' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/7319366820192762588'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/7319366820192762588'/><link rel='alternate' type='text/html' href='http://gridportal-lab.blogspot.com/2008/01/local-ogce-buildrun-test.html' title='Local OGCE build/run test'/><author><name>Rishi Verma</name><uri>http://www.blogger.com/profile/06559938632703884851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3397307274793912001.post-1754112659493934358</id><published>2007-12-13T16:22:00.000-08:00</published><updated>2007-12-13T16:34:21.346-08:00</updated><title type='text'>JMeter Load Testing - how to use the test file</title><content type='html'>The following represents rough directions on how to do load testing with the mdss jmeter test file.&lt;br /&gt;&lt;br /&gt;1) Open the file in JMeter (File-&gt;Open)&lt;br /&gt;2) You will need to give the test file your MyProxy login information for the tests to work.  &lt;br /&gt;   - In the left hand navigation, click on the HTTP request titled "Proxymanager (request proxy)"&lt;br /&gt;   - Enter your username in the username field, and password in the password field&lt;br /&gt;3) If you want to increase the load, just add more users (and respective files to upload)&lt;br /&gt;   - In the left hand navigation, click on the "User parameters" link&lt;br /&gt;   - Click the "Add User" button at the bottom of the screen&lt;br /&gt;   - Add a corresponding "FileName", "usernameValue", and "mdssFileIndex" for each new user&lt;br /&gt;   - mdssFileIndex should be one higher than the corresponding value for the previous user&lt;br /&gt;4) Decide on how many users you want to run this test with&lt;br /&gt;   - Click on the "Thread Group" link at the top of the left-hand navigation&lt;br /&gt;   - In the "Number of Threads" input box, enter how many users you want to run the test with (note: it is limited by the number of users you have specified in step number 3 above).&lt;br /&gt;5) Run the test&lt;br /&gt;   - Click the "Run" dropdown menu at the top toolbar, then select "Start"&lt;br /&gt;   - The green square at the top right of the screen means the tests are still running&lt;br /&gt;   - To see the test results live, click on "View Results Tree" in the left hand navigation at the bottom&lt;br /&gt;6) Analyze results&lt;br /&gt;   - Click on the "View results tree", "Graph Results" etc.. links in the left-hand navigation at the bottom to see statistics on the results of the test-run.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3397307274793912001-1754112659493934358?l=gridportal-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gridportal-lab.blogspot.com/feeds/1754112659493934358/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3397307274793912001&amp;postID=1754112659493934358' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/1754112659493934358'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/1754112659493934358'/><link rel='alternate' type='text/html' href='http://gridportal-lab.blogspot.com/2007/12/jmeter-load-testing-how-to-use-test.html' title='JMeter Load Testing - how to use the test file'/><author><name>Rishi Verma</name><uri>http://www.blogger.com/profile/06559938632703884851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3397307274793912001.post-3657290561963541153</id><published>2007-12-13T14:17:00.000-08:00</published><updated>2007-12-13T16:22:44.387-08:00</updated><title type='text'>MDSS/BigRed Load Testing</title><content type='html'>I am working on a JMeter testing file to test the uploading and downloading capabilities of the file-manager portlet via connecting to MDSS (HPSS) and BigRed.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Important notes of the testing scheme:&lt;br /&gt;- Each "user thread" within JMeter represents a unique portal user who will upload, transfer, and download a unique file&lt;br /&gt;- To do more intense load testing, just add new users and new files for those users. Right now the test is set up to have a maximum of 3 users&lt;br /&gt;- Sending the file from MDSS to BigRed requires knowing the "index" of the file. These all need to be hard-coded. For example, for my MDSS account, the first file is hard-coded to be at index 12 in the file-manager list, the second file is index 13, and the next at 14.. and so on. This is the case because whenever you upload a file to MDSS, it gets placed at the bottom of the list. My mdss account had 12 files originally (index starts from zero), so after the first upload, the newest file was given an index of 12 (remember index starts from zero).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3397307274793912001-3657290561963541153?l=gridportal-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gridportal-lab.blogspot.com/feeds/3657290561963541153/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3397307274793912001&amp;postID=3657290561963541153' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/3657290561963541153'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/3657290561963541153'/><link rel='alternate' type='text/html' href='http://gridportal-lab.blogspot.com/2007/12/mdssbigred-load-testing.html' title='MDSS/BigRed Load Testing'/><author><name>Rishi Verma</name><uri>http://www.blogger.com/profile/06559938632703884851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3397307274793912001.post-2738309648120408463</id><published>2007-12-06T14:31:00.000-08:00</published><updated>2007-12-06T14:34:32.731-08:00</updated><title type='text'>How to upload different files for each user thread in JMeter</title><content type='html'>The way to have each individual JMeter thread (user) upload a different file to a remote web server is to add entries to the "User Parameters" module.&lt;br /&gt;&lt;br /&gt;1) In your thread-group, Add Pre Processors &gt; User Parameters to Thread Group&lt;br /&gt;2) To add variables specific to each user, see: &lt;a href="http://jakarta.apache.org/jmeter/usermanual/component_reference.html#User_Parameters"&gt;http://jakarta.apache.org/jmeter/usermanual/component_reference.html#User_Parameters&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3397307274793912001-2738309648120408463?l=gridportal-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gridportal-lab.blogspot.com/feeds/2738309648120408463/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3397307274793912001&amp;postID=2738309648120408463' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/2738309648120408463'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/2738309648120408463'/><link rel='alternate' type='text/html' href='http://gridportal-lab.blogspot.com/2007/12/how-to-upload-different-files-for-each.html' title='How to upload different files for each user thread in JMeter'/><author><name>Rishi Verma</name><uri>http://www.blogger.com/profile/06559938632703884851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3397307274793912001.post-414301691421840907</id><published>2007-12-06T14:26:00.000-08:00</published><updated>2007-12-06T14:31:25.306-08:00</updated><title type='text'>JMeter Load Testing on IU HPSS/MDSS</title><content type='html'>Here is the scenerio I'm proposing:&lt;br /&gt;&lt;br /&gt;Test files:&lt;br /&gt; + 1-10MB&lt;br /&gt; + 50-200MB&lt;br /&gt; + 1GB+&lt;br /&gt;&lt;br /&gt;Steps in load testing:&lt;br /&gt;1) Log into OGCE&lt;br /&gt;2) Get MyProxy credentials&lt;br /&gt;3) Open file-manager portlet&lt;br /&gt;4) Open connection to BigRed on left &lt;br /&gt;5) Open connection to MDSS on right&lt;br /&gt;6) Upload test file to MDSS&lt;br /&gt;7) Transfer test file from MDSS to BigRed&lt;br /&gt;8) Delete test file from MDSS&lt;br /&gt;9) Transfer test file from BigRed to MDSS&lt;br /&gt;7) Download test file&lt;br /&gt;8) Repeat step 6 with other test files&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3397307274793912001-414301691421840907?l=gridportal-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gridportal-lab.blogspot.com/feeds/414301691421840907/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3397307274793912001&amp;postID=414301691421840907' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/414301691421840907'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/414301691421840907'/><link rel='alternate' type='text/html' href='http://gridportal-lab.blogspot.com/2007/12/jmeter-load-testing-on-iu-hpssmdss.html' title='JMeter Load Testing on IU HPSS/MDSS'/><author><name>Rishi Verma</name><uri>http://www.blogger.com/profile/06559938632703884851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3397307274793912001.post-7444847079306914094</id><published>2007-11-16T14:21:00.001-08:00</published><updated>2007-11-16T14:27:37.068-08:00</updated><title type='text'>Random build failures with maven</title><content type='html'>Some builds are seemingly failing at random, the cause is the fact that maven is downloading corrupted jar files during build time. A possible cause for this is network timeout.&lt;br /&gt;&lt;br /&gt;What I am planning to do to correct for this is to try rebuilding the portal up to 3 times if the build fails. Below is script code for how to detect build failures and rebuild if necessary. &lt;br /&gt;The key line is: &lt;span style="font-style:italic;"&gt;"if test $? -ne 0; then"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;This detects a maven build failure.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;&lt;br /&gt;maven-2.0.7/bin/mvn -e clean install&lt;br /&gt;&lt;br /&gt;if test $? -ne 0; then&lt;br /&gt;        echo ----------- MAVEN BUILD FAILED, TRYING AGAIN.. ATTEPMT 1 -----------&lt;br /&gt;        maven-2.0.7/bin/mvn -e clean install&lt;br /&gt;fi&lt;br /&gt;&lt;br /&gt;if test $? -ne 0; then&lt;br /&gt;        echo ----------- MAVEN BUILD FAILED, TRYING AGAIN.. ATTEPMT 2 -----------&lt;br /&gt;        maven-2.0.7/bin/mvn -e clean install&lt;br /&gt;fi&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;if test $? -ne 0; then&lt;br /&gt;        echo ----------- MAVEN BUILD FAILED, TRYING AGAIN.. ATTEPMT 3 -----------&lt;br /&gt;        maven-2.0.7/bin/mvn -e clean install&lt;br /&gt;fi&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;if test $? -ne 0; then&lt;br /&gt;        echo ----------- MAVEN BUILD FAILED, EXITING -----------&lt;br /&gt;        exit 0&lt;br /&gt;fi&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3397307274793912001-7444847079306914094?l=gridportal-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gridportal-lab.blogspot.com/feeds/7444847079306914094/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3397307274793912001&amp;postID=7444847079306914094' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/7444847079306914094'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/7444847079306914094'/><link rel='alternate' type='text/html' href='http://gridportal-lab.blogspot.com/2007/11/random-build-failures-with-maven.html' title='Random build failures with maven'/><author><name>Rishi Verma</name><uri>http://www.blogger.com/profile/06559938632703884851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3397307274793912001.post-8471915877322221219</id><published>2007-11-01T10:24:00.000-07:00</published><updated>2007-11-01T10:31:20.015-07:00</updated><title type='text'>Crontab</title><content type='html'>To get an NMI build running nightly, use a crontab as such:&lt;br /&gt;&lt;br /&gt;1) Type:&lt;br /&gt;   &gt; crontab -e&lt;br /&gt;2) Enter the following into the crontab file:&lt;br /&gt;&lt;br /&gt;MAILTO=youremail@domain.com&lt;br /&gt;20 12 1 11 4 (. /nmi/bin/config.sh &amp;&amp; nmi_submit &lt;$HOME/yoursubmitfile.submit&gt;)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The above crontab entry runs "nmi_submit &lt;$HOME/yoursubmitfile.submit&gt;" at 12:20noon, 1st day of the month, november (11), at 4th day of the week (thursday).&lt;br /&gt;Consult this webpage for more details about cron: &lt;a href="http://www.adminschoice.com/docs/crontab.htm"&gt;http://www.adminschoice.com/docs/crontab.htm&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3397307274793912001-8471915877322221219?l=gridportal-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gridportal-lab.blogspot.com/feeds/8471915877322221219/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3397307274793912001&amp;postID=8471915877322221219' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/8471915877322221219'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/8471915877322221219'/><link rel='alternate' type='text/html' href='http://gridportal-lab.blogspot.com/2007/11/crontab.html' title='Crontab'/><author><name>Rishi Verma</name><uri>http://www.blogger.com/profile/06559938632703884851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3397307274793912001.post-394335985801224345</id><published>2007-10-30T11:58:00.000-07:00</published><updated>2007-10-30T12:03:13.378-07:00</updated><title type='text'>Build process steps for NMI</title><content type='html'>These are the important steps for establishing nightly builds on NMI&lt;br /&gt;1) Set your project name: OGCE&lt;br /&gt;2) Make sure $JAVA_HOME is set correctly - currently I am setting it manually in my build scripts&lt;br /&gt;3) Put email addresses in NMI submit file so that relevant people are informed&lt;br /&gt;4) Add cron tabs for scripts&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3397307274793912001-394335985801224345?l=gridportal-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gridportal-lab.blogspot.com/feeds/394335985801224345/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3397307274793912001&amp;postID=394335985801224345' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/394335985801224345'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/394335985801224345'/><link rel='alternate' type='text/html' href='http://gridportal-lab.blogspot.com/2007/10/build-process-steps-for-nmi.html' title='Build process steps for NMI'/><author><name>Rishi Verma</name><uri>http://www.blogger.com/profile/06559938632703884851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3397307274793912001.post-671301890199296357</id><published>2007-10-26T09:59:00.000-07:00</published><updated>2007-10-26T10:06:14.767-07:00</updated><title type='text'>Problem compiling portal through NMI testbed on Linux distros</title><content type='html'>For some reason, the portal will not compile on any of the NMI testbed linux distros; however, it will compile for macos_10.4&lt;br /&gt;&lt;br /&gt;These are the types of compile time errors I was getting:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;[WARNING] repository metadata for: 'artifact org.apache.maven.plugins:maven-clean-plugin' could not be retrieved from repository: central due to an error: Specified destination directory cannot be created: /home/vm1-user/.m2/repository/org/apache/maven/plugins/maven-clean-plugin&lt;br /&gt;[INFO] Repository 'central' will be blacklisted&lt;br /&gt;[INFO] ------------------------------------------------------------------------&lt;br /&gt;[ERROR] BUILD ERROR&lt;br /&gt;[INFO] ------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;[INFO] Error executing ant tasks&lt;br /&gt;&lt;br /&gt;Embedded error: Directory /home/vm1-user/.globus/GridPortRepository creation was not successful for an unknown reason&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The reason for the above errors is that both the .m2 directory and the .globus directory are using the incorrect $HOME value. I fixed the .m2 repository directory path by modifying maven/conf/settings.xml&lt;br /&gt;&lt;br /&gt;&lt;localRepository&gt;${env.HOME}/.m2/repository&lt;/localRepository&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The incorrect globus directory is all over the place, need to fix it still&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3397307274793912001-671301890199296357?l=gridportal-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gridportal-lab.blogspot.com/feeds/671301890199296357/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3397307274793912001&amp;postID=671301890199296357' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/671301890199296357'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/671301890199296357'/><link rel='alternate' type='text/html' href='http://gridportal-lab.blogspot.com/2007/10/problem-compiling-portal-through-nmi.html' title='Problem compiling portal through NMI testbed on Linux distros'/><author><name>Rishi Verma</name><uri>http://www.blogger.com/profile/06559938632703884851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3397307274793912001.post-8553739303349587981</id><published>2007-10-05T14:56:00.000-07:00</published><updated>2007-10-05T15:02:09.964-07:00</updated><title type='text'>NMI Build &amp; Test issues</title><content type='html'>I'm trying to build the OGCE portal on NMI framework, but I'm getting some problems.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The script I'm using is further down, but anyways whenever it tries to build using the script, I get the following error from maven:&lt;br /&gt;&lt;span style="font-style:italic;"&gt;[INFO] ------------------------------------------------------------------------&lt;br /&gt;[ERROR] BUILD ERROR&lt;br /&gt;[INFO] ------------------------------------------------------------------------&lt;br /&gt;[INFO] Error executing ant tasks&lt;br /&gt;&lt;br /&gt;Embedded error: The following error occurred while executing this line:&lt;br /&gt;/Users/condor/execute/dir_26580/userdir/ogce-portal-only/containers/gridsphere/gridsphere-2.1.5/config/build/build-compile.xml:22: /Users/condor/execute/dir_26580/ogce-portal-only/portal_deploy/apache-tomcat-5.5.12/common/lib not found.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;----------------------------------------------&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;The script I made:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;echo&lt;br /&gt;echo --------- Which java are we running? ---------&lt;br /&gt;which java&lt;br /&gt;java -version&lt;br /&gt;&lt;br /&gt;echo&lt;br /&gt;echo --------- What about javac? ---------&lt;br /&gt;which javac&lt;br /&gt;javac -version&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;## Untar apache tomcat server and move it to portal dir ##&lt;br /&gt;cd ogce-portal-only/portal_deploy&lt;br /&gt;tar xzf apache-tomcat-5.5.12.tar.gz&lt;br /&gt;&lt;br /&gt;## extract maven and move it to portal dir ##&lt;br /&gt;cd ..&lt;br /&gt;tar xzf maven*.tar.gz&lt;br /&gt;&lt;br /&gt;## do the ogce portal maven build ##&lt;br /&gt;maven-2.0.7/bin/mvn install&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3397307274793912001-8553739303349587981?l=gridportal-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gridportal-lab.blogspot.com/feeds/8553739303349587981/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3397307274793912001&amp;postID=8553739303349587981' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/8553739303349587981'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/8553739303349587981'/><link rel='alternate' type='text/html' href='http://gridportal-lab.blogspot.com/2007/10/nmi-build-test-issues.html' title='NMI Build &amp; Test issues'/><author><name>Rishi Verma</name><uri>http://www.blogger.com/profile/06559938632703884851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3397307274793912001.post-64907107854629732</id><published>2007-09-18T14:05:00.000-07:00</published><updated>2008-02-11T12:26:45.439-08:00</updated><title type='text'>Grid Proxy/Credential set up</title><content type='html'>Check list for making sure your grid-credential files and setup is correct:&lt;br /&gt;&lt;ol&gt;   &lt;li&gt;Make sure you have non-expired grid credential files in your .globus directory&lt;/li&gt;   &lt;ol&gt;     &lt;li&gt;usercert.pem&lt;/li&gt;     &lt;li&gt;userkey.pem&lt;/li&gt;   &lt;/ol&gt;   &lt;li&gt;Be sure you have your proxy on myproxy.teragrid.org (or wherever you need to keep it)&lt;/li&gt;   &lt;ol&gt;     &lt;li&gt;myproxy-init -s myproxy.teragrid.org&lt;/li&gt;   &lt;/ol&gt;   &lt;li&gt;Make sure your ".globus/certificates" folder has the right certificates files, get them from your CA's certificates folder and makes sure you have all of the ones listed in the CA's folder.&lt;/li&gt;&lt;li&gt;Remove any ".r0" files in your ".globus/certificates" folder. These are unnecessary.&lt;br /&gt;&lt;/li&gt; &lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3397307274793912001-64907107854629732?l=gridportal-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gridportal-lab.blogspot.com/feeds/64907107854629732/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3397307274793912001&amp;postID=64907107854629732' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/64907107854629732'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/64907107854629732'/><link rel='alternate' type='text/html' href='http://gridportal-lab.blogspot.com/2007/09/grid-proxycredential-set-up.html' title='Grid Proxy/Credential set up'/><author><name>Rishi Verma</name><uri>http://www.blogger.com/profile/06559938632703884851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3397307274793912001.post-516639992732753809</id><published>2007-09-14T14:41:00.000-07:00</published><updated>2007-09-25T13:54:54.274-07:00</updated><title type='text'>Runtime error checking</title><content type='html'>The question often arises, which error messages should one check for to make sure everything is working?&lt;br /&gt;The following are the runtime error message patterns I am checking for using JMeter (via Assertion Response):&lt;br /&gt;&lt;br /&gt;Portlet (gpir-browser-2) specific:&lt;br /&gt;&lt;ul&gt;   &lt;li&gt;"Error message"    &lt;-- Appears in most exception messages   &lt;/li&gt;   &lt;li&gt;"An error has occurred!"    &lt;-- Appears in most exception messages   &lt;/li&gt;   &lt;li&gt;"Stack Trace:"    &lt;-- Appears in most exception messages   &lt;/li&gt;   &lt;li&gt;"Portlet Exception"    &lt;-- Appears in most exception messages   &lt;/li&gt;   &lt;li&gt;"at java.lang.Thread.run"     &lt;--- appears in most java exception messages   &lt;/li&gt;   &lt;li&gt;"Portlet unavailable!"    &lt;-- caused by a misconfigured portlet pom.xml file&lt;/li&gt;&lt;li&gt;"Error contacting web service" &lt;-- caused by incorrect webservice URL in portlet.xml for gpir-browser-2 portlet&lt;/li&gt;&lt;li&gt;"The requested resource.*is not available" &lt;-- caused by incorrectly configuring portlet in web.xml&lt;br /&gt;  &lt;/li&gt;   &lt;/ul&gt; Main gridsphere page specific:&lt;br /&gt;&lt;ul&gt;   &lt;li&gt;"GridSphere portal failed to initialize!"    &lt;-- Caused by a misconfigured pom.xml file&lt;/li&gt;   &lt;li&gt;"Stack Trace:"    &lt;-- Appears in most exception messages   &lt;/li&gt; &lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3397307274793912001-516639992732753809?l=gridportal-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gridportal-lab.blogspot.com/feeds/516639992732753809/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3397307274793912001&amp;postID=516639992732753809' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/516639992732753809'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/516639992732753809'/><link rel='alternate' type='text/html' href='http://gridportal-lab.blogspot.com/2007/09/runtime-error-checking.html' title='Runtime error checking'/><author><name>Rishi Verma</name><uri>http://www.blogger.com/profile/06559938632703884851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3397307274793912001.post-6188580356828650021</id><published>2007-09-14T10:42:00.000-07:00</published><updated>2007-09-14T10:48:28.943-07:00</updated><title type='text'>Maintaining login session with JMeter</title><content type='html'>I was facing a problem where I was testing my Gridsphere based portal with JMeter, but the only page that was getting recorded was the page immedietely after the login screen. All the other pages (when simulated using JMeter) only showed the login screen when they should have actually shown some content. Basically the problem was that the "login session" was not being maintained across the JMeter thread, and only the first page (because the user entered login/password information) showed up in JMeter's simulation.&lt;br /&gt;&lt;br /&gt;The way to maintain "login session" is to add a "HTTP Cookie Manager" to the thread group.&lt;br /&gt;Go: &lt;span style="color: rgb(51, 102, 255);"&gt;Thread Group-&gt;Add-&gt;Config Element-&gt;HTTP Cookie Manager&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;And select your browser type.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3397307274793912001-6188580356828650021?l=gridportal-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gridportal-lab.blogspot.com/feeds/6188580356828650021/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3397307274793912001&amp;postID=6188580356828650021' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/6188580356828650021'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/6188580356828650021'/><link rel='alternate' type='text/html' href='http://gridportal-lab.blogspot.com/2007/09/maintaining-login-session-with-jmeter.html' title='Maintaining login session with JMeter'/><author><name>Rishi Verma</name><uri>http://www.blogger.com/profile/06559938632703884851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3397307274793912001.post-8016169427675096766</id><published>2007-09-13T09:09:00.000-07:00</published><updated>2007-09-13T09:14:46.933-07:00</updated><title type='text'>Fixed error of gridsphere not loading</title><content type='html'>With Marlon's help, fixed the problem of getting to the Gridsphere login page, and seeing this error message:&lt;br /&gt;&lt;h2 style="color: rgb(255, 0, 0);"&gt;GridSphere portal failed to initialize!&lt;br /&gt;&lt;/h2&gt;  &lt;p style="color: rgb(255, 0, 0);"&gt;  Unable to create portlet web application: portlets-driver  &lt;b&gt;Stack Trace:&lt;/b&gt;&lt;br /&gt;        Unable to create portlet web application: portlets-driver Caused by: Unable to load portlets from: portlets-driver + due to mapping error!  &lt;/p&gt;&lt;br /&gt;Problem was that I had run the command:   &lt;span style="font-style: italic; color: rgb(51, 102, 255);"&gt;mvn install&lt;/span&gt;    from the "portlets" directory and not the root directory of the OGCE installation. So remember to always run &lt;span style="color: rgb(51, 102, 255); font-style: italic;"&gt;mvn install&lt;/span&gt; or &lt;span style="color: rgb(51, 102, 255); font-style: italic;"&gt;mvn compile&lt;/span&gt; from the top-most directory.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3397307274793912001-8016169427675096766?l=gridportal-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gridportal-lab.blogspot.com/feeds/8016169427675096766/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3397307274793912001&amp;postID=8016169427675096766' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/8016169427675096766'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/8016169427675096766'/><link rel='alternate' type='text/html' href='http://gridportal-lab.blogspot.com/2007/09/fixed-error-of-gridsphere-not-loading.html' title='Fixed error of gridsphere not loading'/><author><name>Rishi Verma</name><uri>http://www.blogger.com/profile/06559938632703884851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3397307274793912001.post-1938925519586235383</id><published>2007-09-07T14:50:00.000-07:00</published><updated>2007-09-07T14:55:43.984-07:00</updated><title type='text'>JMeter proxy w/ localhost server</title><content type='html'>Seems to be some configuration problem. When I'm using JMeter's proxy, it only seems to record responses from non-local servers. For example, google.com and yahoo.com will record results in JMeter, but nothing from localhost seems to be recording.&lt;br /&gt;&lt;br /&gt;Possible explainations:&lt;br /&gt;&lt;ul&gt;   &lt;li&gt;JMeter only handles HTTP responses, ie only things from servers running on port 80 (but I have apache2 running on port 80, why doesn't anything record from that?)&lt;br /&gt;  &lt;/li&gt; &lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3397307274793912001-1938925519586235383?l=gridportal-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gridportal-lab.blogspot.com/feeds/1938925519586235383/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3397307274793912001&amp;postID=1938925519586235383' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/1938925519586235383'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/1938925519586235383'/><link rel='alternate' type='text/html' href='http://gridportal-lab.blogspot.com/2007/09/jmeter-proxy-w-localhost-server.html' title='JMeter proxy w/ localhost server'/><author><name>Rishi Verma</name><uri>http://www.blogger.com/profile/06559938632703884851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3397307274793912001.post-2443231290344556887</id><published>2007-09-07T10:05:00.000-07:00</published><updated>2007-09-07T10:11:12.745-07:00</updated><title type='text'>JMeter proxy success</title><content type='html'>I was able to get a JMeter test-plan to work via JMeter's proxy server.&lt;br /&gt;I used the following tutorial to do it:&lt;br /&gt;&lt;a href="http://jakarta.apache.org/jmeter/usermanual/jmeter_proxy_step_by_step.pdf"&gt;http://jakarta.apache.org/jmeter/usermanual/jmeter_proxy_step_by_step.pdf&lt;span class="down" style="display: block;" id="formatbar_CreateLink" title="Link" onmouseover="ButtonHoverOn(this);" onmouseout="ButtonHoverOff(this);" onmouseup="" onmousedown="CheckFormatting(event);FormatbarButton('richeditorframe', this, 10);ButtonMouseDown(this);"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;A few questions still in my mind, hopefully I'll have an answer soon:&lt;br /&gt;&lt;ul&gt;   &lt;li&gt;Why was it necessary to specify 'jakarta.apache.org' in the HTTP Request Defaults section? Does this make sure that only traffic to/from this server is recorded?&lt;/li&gt;   &lt;li&gt;What is the aggregate report doing? What do the numbers mean exactly?&lt;br /&gt;  &lt;/li&gt; &lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3397307274793912001-2443231290344556887?l=gridportal-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gridportal-lab.blogspot.com/feeds/2443231290344556887/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3397307274793912001&amp;postID=2443231290344556887' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/2443231290344556887'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/2443231290344556887'/><link rel='alternate' type='text/html' href='http://gridportal-lab.blogspot.com/2007/09/jmeter-proxy-success.html' title='JMeter proxy success'/><author><name>Rishi Verma</name><uri>http://www.blogger.com/profile/06559938632703884851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3397307274793912001.post-7327322571231887869</id><published>2007-09-06T10:35:00.000-07:00</published><updated>2007-09-06T10:37:03.808-07:00</updated><title type='text'>First Post</title><content type='html'>This blog will include relevant discussion on JMeter testing, Grid Portlets, and NMI testbed.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3397307274793912001-7327322571231887869?l=gridportal-lab.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gridportal-lab.blogspot.com/feeds/7327322571231887869/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3397307274793912001&amp;postID=7327322571231887869' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/7327322571231887869'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3397307274793912001/posts/default/7327322571231887869'/><link rel='alternate' type='text/html' href='http://gridportal-lab.blogspot.com/2007/09/first-post.html' title='First Post'/><author><name>Rishi Verma</name><uri>http://www.blogger.com/profile/06559938632703884851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
