I created MONDRIAN-585 for the bug, fixed with checkin 12976, MONDRIAN-586 is the reminder to revisit the workaround when the next version of httpclient is available.<br><br><div class="gmail_quote">On Mon, Jul 20, 2009 at 12:05 PM, Julian Hyde <span dir="ltr">&lt;<a href="mailto:jhyde@pentaho.com">jhyde@pentaho.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



<div>
<div><span><font color="#000080" face="Lucida Sans" size="2">That sounds fine, Matt. Can you log a jira request to remind 
us to revisit this.</font></span></div>
<div><span><font color="#000080" face="Lucida Sans" size="2"></font></span> </div>
<div><span><font color="#000080" face="Lucida Sans" size="2">Julian</font></span></div><br>
<blockquote style="border-left: 2px solid rgb(0, 0, 128); padding-left: 5px; margin-left: 5px; margin-right: 0px;">
  <div dir="ltr" align="left" lang="en-us">
  <hr>
  <font face="Tahoma" size="2"><div class="im"><b>From:</b> <a href="mailto:mondrian-bounces@pentaho.org" target="_blank">mondrian-bounces@pentaho.org</a> 
  [mailto:<a href="mailto:mondrian-bounces@pentaho.org" target="_blank">mondrian-bounces@pentaho.org</a>] <b>On Behalf Of </b>Matt 
  Campbell<br></div><b>Sent:</b> Monday, July 20, 2009 8:42 AM<div class="im"><br><b>To:</b> Mondrian 
  developer mailing list<br></div><b>Subject:</b> Re: [Mondrian] VFS 
  issue<br></font><br></div><div><div></div><div class="h5">
  <div></div>Thanks for sending the jar, Will.  Same problem, though.  
  I also tried grabbing the latest release of the commons httpclient.  That 
  also failed to help.<br><br>If no one objects, how about I revert back to 
  using the readURL method for http requests, leaving the existing VFS option 
  for other file reads?  When the commons httpclient 4.0 is released we 
  could re-visit this.<br><br><br><br>
  <div class="gmail_quote">On Sat, Jul 18, 2009 at 12:51 AM, Will Gorman <span dir="ltr">&lt;<a href="mailto:wgorman@pentaho.com" target="_blank">wgorman@pentaho.com</a>&gt;</span> 
wrote:<br>
  <blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">Hey Guys,<br><br>We are still using VFS in Kettle and 
    Mondrian, Kettle 3.2.0 ended up<br>building from source the latest VFS 
    because they haven&#39;t released 2.0 of<br>VFS yet.  I&#39;m not sure if that 
    would solve these issues or not.<br><br>In Pentaho&#39;s BI Platform, we access 
    our schema files using a custom VFS<br>provider so that it can access our 
    solution repository, so we rely on<br>VFS.<br><br>Here is a link to Kettle&#39;s 
    custom built VFS 2.0 jar if you want to see<br>if it resolves the 
    issues:<br><a href="http://source.pentaho.org/svnkettleroot/Kettle/trunk/libext/commons/commons-vfs-2.0-20090205.jar" target="_blank">http://source.pentaho.org/svnkettleroot/Kettle/trunk/libext/commons/commons-vfs-2.0-20090205.jar</a><br>

<font color="#888888"><br>Will<br></font>
    <div>
    <div></div>
    <div><br>On Fri, 2009-07-17 at 15:08 -0400, Matt Campbell 
    wrote:<br>&gt; I did do a fair amount of searching when we first encountered 
    this<br>&gt; problem and couldn&#39;t find much helpful information at all. 
     When I get<br>&gt; a chance I&#39;ll see if there is a newer version of 
    VFS.<br>&gt;<br>&gt; On Fri, Jul 17, 2009 at 2:25 PM, Julian Hyde &lt;<a href="mailto:jhyde@pentaho.com" target="_blank">jhyde@pentaho.com</a>&gt;<br>&gt; 
    wrote:<br>&gt;         Has anyone done a google search 
    for the issue you are<br>&gt;         experiencing? Is 
    there a newer version of VFS that might fix<br>&gt;       
      the problem?<br>&gt;<br>&gt;         Will, what 
    was the other technology you used?<br>&gt;<br>&gt;       
      I&#39;m OK with switching technology as long as it doesn&#39;t break<br>&gt; 
            existing apps.<br>&gt;<br>&gt;     
        Julian<br>&gt;<br>&gt;<br>&gt;         
            
    ______________________________________________________<br>&gt;     
                From: <a href="mailto:mondrian-bounces@pentaho.org" target="_blank">mondrian-bounces@pentaho.org</a><br>&gt; 
                    [mailto:<a href="mailto:mondrian-bounces@pentaho.org" target="_blank">mondrian-bounces@pentaho.org</a>] 
    On Behalf Of<br>&gt;                 
    Matt Campbell<br>&gt;               
      Sent: Friday, July 17, 2009 8:16 AM<br>&gt;       
              To: Mondrian developer mailing 
    list<br>&gt;                 
    Subject: [Mondrian] VFS issue<br>&gt;<br>&gt;<br>&gt;<br>&gt;     
                Awhile back we discovered that 
    Util.readVirtualFile()<br>&gt;             
        can throw exceptions when large numbers of requests<br>&gt; 
                    for an HTTP resource 
    happen.  Awhile back I added a<br>&gt;         
            call to file.close() at the end of that method, 
    which<br>&gt;                 had 
    seemed to make things a bit better in testing.<br>&gt;       
              I&#39;m still seeing socketConnect exceptions 
    when<br>&gt;                 
    requesting more than a few hundred http requests.  In<br>&gt;   
                  practice this can happen 
    when we have as few as 15<br>&gt;             
        concurrent users running reports.<br>&gt;<br>&gt;   
                  There appears to be no such 
    problem with the pre-VFS<br>&gt;             
        method that Mondrian used for loading a URL.  I<br>&gt; 
                    created a Unit test 
    which loads 100,000 pages via the<br>&gt;           
          old Util.readURL method.  That runs fine with 
    no<br>&gt;                 
    exceptions.  The VFS method fails with fewer than 1000<br>&gt;   
                  requests.<br>&gt;<br>&gt; 
                    Would anyone object 
    to reverting back to the old<br>&gt;           
          Util.readURL for http requests?  Alternatively, 
    I<br>&gt;                 think Will 
    Gorman said at one point that they<br>&gt;         
            abandoned VFS for other Pentaho projects in 
    favor of<br>&gt;                 
    some other library--would that be worth considering<br>&gt;     
                for 
    Mondrian?<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;       
      _______________________________________________<br>&gt;     
        Mondrian mailing list<br>&gt;         <a href="mailto:Mondrian@pentaho.org" target="_blank">Mondrian@pentaho.org</a><br>&gt;   
          <a href="http://lists.pentaho.org/mailman/listinfo/mondrian" target="_blank">http://lists.pentaho.org/mailman/listinfo/mondrian</a><br>&gt;<br>&gt;<br>&gt; 
    _______________________________________________<br>&gt; Mondrian mailing 
    list<br>&gt; <a href="mailto:Mondrian@pentaho.org" target="_blank">Mondrian@pentaho.org</a><br>&gt; <a href="http://lists.pentaho.org/mailman/listinfo/mondrian" target="_blank">http://lists.pentaho.org/mailman/listinfo/mondrian</a><br>

<br>_______________________________________________<br>Mondrian 
    mailing list<br><a href="mailto:Mondrian@pentaho.org" target="_blank">Mondrian@pentaho.org</a><br><a href="http://lists.pentaho.org/mailman/listinfo/mondrian" target="_blank">http://lists.pentaho.org/mailman/listinfo/mondrian</a><br>

</div></div></blockquote></div><br></div></div></blockquote></div>
<br>_______________________________________________<br>
Mondrian mailing list<br>
<a href="mailto:Mondrian@pentaho.org">Mondrian@pentaho.org</a><br>
<a href="http://lists.pentaho.org/mailman/listinfo/mondrian" target="_blank">http://lists.pentaho.org/mailman/listinfo/mondrian</a><br>
<br></blockquote></div><br>