<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/rss.css"?>
<rss version="2.0">
  <channel>
    <title>user@jruby.codehaus.org</title>
    <link></link>
    <docs>This file is an RSS 2.0 file.</docs>
    <description>Feed of the latest messages for user@jruby.codehaus.org</description>
    <language>en-US</language>
    <item>
      <title>Re: [jruby-user]  OT: Charlie's Twitters</title>
      <creator>Charles Oliver Nutter (charles.nutter@sun...)</creator>
      <pubDate>Thu, 03 Jul 2008 16:46:20 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/user/486D48AC.1050104%40sun.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/user/486D48AC.1050104%40sun.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Charles Oliver Nutter (charles.nutter@sun...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Thu Jul 03 16:46:20 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <pre>marc wrote:
&gt; Hi,
&gt; 
&gt; Just wanted to thank Charles for the twitters. I enjoyed the recent trip 
&gt; to Japan. Made me feel quite nostalgic.
&gt; 
&gt; I'm not quite sure where twitter will end up being useful, but it 
&gt; certainly is a medium that has its uses.

Heh, thank you :)

- Charlie

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



</pre>
      </description>
    </item>
    <item>
      <title>[jruby-user]  OT: Charlie's Twitters</title>
      <creator>marc (gmane@auxbuss...)</creator>
      <pubDate>Thu, 03 Jul 2008 13:43:18 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/user/MPG.22d73c3513684e72989b58%40news.gmane.org</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/user/MPG.22d73c3513684e72989b58%40news.gmane.org</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>marc (gmane@auxbuss...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Thu Jul 03 13:43:18 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <pre>Hi,

Just wanted to thank Charles for the twitters. I enjoyed the recent trip 
to Japan. Made me feel quite nostalgic.

I'm not quite sure where twitter will end up being useful, but it 
certainly is a medium that has its uses.

-- 
Cheers,
Marc


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



</pre>
      </description>
    </item>
    <item>
      <title>Re: [jruby-user] JRuby 1.1.2, Rails 2.1 Memory performance?</title>
      <creator>Matthew Williams (matthew.d.williams@gmail...)</creator>
      <pubDate>Thu, 03 Jul 2008 12:56:16 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/user/4c8cdcb30807031056y38fa9605kfffdd29d4e3ebe9e%40mail.gmail.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/user/4c8cdcb30807031056y38fa9605kfffdd29d4e3ebe9e%40mail.gmail.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Matthew Williams (matthew.d.williams@gmail...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Thu Jul 03 12:56:16 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <pre>On Thu, Jul 3, 2008 at 1:47 PM, Charles Oliver Nutter
&lt;charles.nutter@sun.com&gt; wrote:
&gt; Matthew Williams wrote:
&gt;&gt;
&gt;&gt; On Thu, Jul 3, 2008 at 11:41 AM, Charles Oliver Nutter
&gt;&gt; &lt;charles.nutter@sun.com&gt; wrote:
&gt;&gt;&gt;
&gt;&gt;&gt; Matthew Williams wrote:
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Running Red Hat Enterprise Server 4 on fairly powerful machine (quad
&gt;&gt;&gt;&gt; CPU's etc etc) I have just setup JRuby + Rails.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; I had a question about memory consumption and I was curious if it's on
&gt;&gt;&gt;&gt; par with what should be expected or if I need to find a way to
&gt;&gt;&gt;&gt; optimize things a bit...
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; JRuby 1.1.2
&gt;&gt;&gt;&gt; JDK 1.6 64-Bit
&gt;&gt;&gt;&gt; Running a bare Rails 2.1 app
&gt;&gt;&gt;
&gt;&gt;&gt; 64-bit tends to use more memory for one. But we also have continued to
&gt;&gt;&gt; improve memory utilization post 1.1.2...
&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Memory Usage:
&gt;&gt;&gt;&gt; Total: 763MiB
&gt;&gt;&gt;&gt; RSS: 166MiB
&gt;&gt;&gt;&gt; Shared: 8.5MiB
&gt;&gt;&gt;
&gt;&gt;&gt; What's the definition of Total and RSS there
&gt;&gt;
&gt;&gt; This is what I've been trying to research...  I'm pulling these from
&gt;&gt; the default System Monitor tool that ships with Red Hat....  And it
&gt;&gt; appears all Java instances are consuming a ton of memory but in the
&gt;&gt; grand scheme of things, only around 1.2GB of 7GB of memory are being
&gt;&gt; consumed, which is much less that if you add up what the "Totals" are
&gt;&gt; from the monitor.
&gt;
&gt; Ok, then the Total size is really the virtual size...the space that the JVM
&gt; has "expressed an interest in" but has not actually used yet. I believe
&gt; virtual size for most processes is typically far larger than what they're
&gt; actually consuming. In this case, it's probably that large because JRuby
&gt; sets the "max heap size" to around 512MB by default, and JVM itself probably
&gt; adds on a bunch of extra for 64 bit and for JVM internal memory use. So RSS:
&gt; is probably your actual "commit size". Again, still large, but much more
&gt; reasonably than the "Total" size.
&gt;
&gt;&gt; Yes, the first example is a single Rails App (2.1) under JRuby 1.1.2
&gt;&gt; running Mongrel 1.1.5.  Development mode.  Though I just ran it in
&gt;&gt; production mode and the numbers remain just about th same.
&gt;&gt;
&gt;&gt; Server has been running for well over an hour and things are still
&gt;&gt; floating around those values, so it's not necessarily startup or
&gt;&gt; warmup it seems.
&gt;
&gt; Is it possible to run under MRI to see if it's a case where we're consuming
&gt; considerably more than we should?

That's the next plan of action...  I'm in a pretty locked down
situation (which is why I'm running JRuby to begin with) so it could
be a while before I have MRI available to test.  My Mongrel instances
on a Windows box running MRI are consuming around 60mb RAM each.

&gt;
&gt;&gt;&gt; You could also try forcing less memory use to see if this is all actually
&gt;&gt;&gt; needed. JVM can sometimes be a little eager to grab more memory.
&gt;&gt;&gt; -J-Xmx###M
&gt;&gt;&gt; for ### MB max.
&gt;
&gt; This probably won't make a difference since it appear your actual "in use"
&gt; size is far below the default 512MB setting. You could try someting like
&gt; 128MB but it probably wouldn't even be able to start up.
&gt;
&gt;&gt; Thanks for the response, I'm really enjoying the JRuby project and it
&gt;&gt; was a pleasure to get a chance to see you talk at Acts_as_conference
&gt;&gt; in Orlando a few months back and seeing all of the headway JRuby is
&gt;&gt; making.  Bravo.
&gt;&gt;
&gt;&gt; Is anyone else able to throw out some benchmarks on memory consumption
&gt;&gt; for a production server?  I'm going to go ahead and fire up an
&gt;&gt; application I've got running on a Windows server (yuck) and see how it
&gt;&gt; performs.
&gt;
&gt; I don't, but I'm sure there are others around who have some metrics for you.
&gt;
&gt; - Charlie
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe from this list, please visit:
&gt;
&gt;   http://xircles.codehaus.org/manage_email
&gt;
&gt;
&gt;

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



</pre>
      </description>
    </item>
    <item>
      <title>Re: [jruby-user] JRuby 1.1.2, Rails 2.1 Memory performance?</title>
      <creator>Vladimir Sizikov (vsizikov@gmail...)</creator>
      <pubDate>Thu, 03 Jul 2008 12:50:40 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/user/3454c9680807031050s3643b251tdd303906cf1e02f7%40mail.gmail.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/user/3454c9680807031050s3643b251tdd303906cf1e02f7%40mail.gmail.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Vladimir Sizikov (vsizikov@gmail...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Thu Jul 03 12:50:40 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <pre>Hi Matthew,

Just a general comment, since I've seen lots of java-memory related
discussions in the past, and the main thing I got from those
discussions is that "don't trust the memory monitors", especially on
Windows, they show some numbers, but the numbers don't mean much. :)

Java does some advanced tricks to speed things up, and not all of them
"memory-monitor friendly".

One better alternative would be to fire up jconsole and investigate
the memory graphs there, or to file memory profiler (e.g., that comes
with NetBeans - great and free one!), and see there.

Thanks,
  --Vladimir

On Thu, Jul 3, 2008 at 7:13 PM, Matthew Williams
&lt;matthew.d.williams@gmail.com&gt; wrote:
&gt; On Thu, Jul 3, 2008 at 11:41 AM, Charles Oliver Nutter
&gt; &lt;charles.nutter@sun.com&gt; wrote:
&gt;&gt; Matthew Williams wrote:
&gt;&gt;&gt;
&gt;&gt;&gt; Running Red Hat Enterprise Server 4 on fairly powerful machine (quad
&gt;&gt;&gt; CPU's etc etc) I have just setup JRuby + Rails.
&gt;&gt;&gt;
&gt;&gt;&gt; I had a question about memory consumption and I was curious if it's on
&gt;&gt;&gt; par with what should be expected or if I need to find a way to
&gt;&gt;&gt; optimize things a bit...
&gt;&gt;&gt;
&gt;&gt;&gt; JRuby 1.1.2
&gt;&gt;&gt; JDK 1.6 64-Bit
&gt;&gt;&gt; Running a bare Rails 2.1 app
&gt;&gt;
&gt;&gt; 64-bit tends to use more memory for one. But we also have continued to
&gt;&gt; improve memory utilization post 1.1.2...
&gt;&gt;
&gt;&gt;&gt; Memory Usage:
&gt;&gt;&gt; Total: 763MiB
&gt;&gt;&gt; RSS: 166MiB
&gt;&gt;&gt; Shared: 8.5MiB
&gt;&gt;
&gt;&gt; What's the definition of Total and RSS there
&gt;
&gt; This is what I've been trying to research...  I'm pulling these from
&gt; the default System Monitor tool that ships with Red Hat....  And it
&gt; appears all Java instances are consuming a ton of memory but in the
&gt; grand scheme of things, only around 1.2GB of 7GB of memory are being
&gt; consumed, which is much less that if you add up what the "Totals" are
&gt; from the monitor.
&gt;
&gt;&gt;
&gt;&gt;&gt; I had around the same results using the Glassfish Gem as well.
&gt;&gt;&gt;
&gt;&gt;&gt; Could anyone offer any insight on this?  To the untrained eye it would
&gt;&gt;&gt; look like the Java process is consuming a ton of memory for a single
&gt;&gt;&gt; application.
&gt;&gt;
&gt;&gt; Well, Rails is not small, and most deployment options launch multiple Rails.
&gt;&gt; Is your first example a single Rails app under JRuby, running with something
&gt;&gt; like Mongrel? If Total is actual memory used, that does seem very high for
&gt;&gt; even the fattest of applications. If RSS is total memory used, it still
&gt;&gt; seems high, but not unreasonable. Also, is this immediately after startup or
&gt;&gt; is there some execution involved in warming the server up?
&gt;&gt;
&gt;
&gt; Yes, the first example is a single Rails App (2.1) under JRuby 1.1.2
&gt; running Mongrel 1.1.5.  Development mode.  Though I just ran it in
&gt; production mode and the numbers remain just about th same.
&gt;
&gt; Server has been running for well over an hour and things are still
&gt; floating around those values, so it's not necessarily startup or
&gt; warmup it seems.
&gt;
&gt;&gt; You could also try forcing less memory use to see if this is all actually
&gt;&gt; needed. JVM can sometimes be a little eager to grab more memory. -J-Xmx###M
&gt;&gt; for ### MB max.
&gt;&gt;
&gt;&gt; - Charlie
&gt;&gt;
&gt;
&gt; Thanks for the response, I'm really enjoying the JRuby project and it
&gt; was a pleasure to get a chance to see you talk at Acts_as_conference
&gt; in Orlando a few months back and seeing all of the headway JRuby is
&gt; making.  Bravo.
&gt;
&gt; Is anyone else able to throw out some benchmarks on memory consumption
&gt; for a production server?  I'm going to go ahead and fire up an
&gt; application I've got running on a Windows server (yuck) and see how it
&gt; performs.
&gt;
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt; To unsubscribe from this list, please visit:
&gt;&gt;
&gt;&gt;   http://xircles.codehaus.org/manage_email
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe from this list, please visit:
&gt;
&gt;    http://xircles.codehaus.org/manage_email
&gt;
&gt;
&gt;

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



</pre>
      </description>
    </item>
    <item>
      <title>Re: [jruby-user] JRuby 1.1.2, Rails 2.1 Memory performance?</title>
      <creator>Charles Oliver Nutter (charles.nutter@sun...)</creator>
      <pubDate>Thu, 03 Jul 2008 12:47:03 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/user/486D1097.7030201%40sun.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/user/486D1097.7030201%40sun.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Charles Oliver Nutter (charles.nutter@sun...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Thu Jul 03 12:47:03 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <pre>Matthew Williams wrote:
&gt; On Thu, Jul 3, 2008 at 11:41 AM, Charles Oliver Nutter
&gt; &lt;charles.nutter@sun.com&gt; wrote:
&gt;&gt; Matthew Williams wrote:
&gt;&gt;&gt; Running Red Hat Enterprise Server 4 on fairly powerful machine (quad
&gt;&gt;&gt; CPU's etc etc) I have just setup JRuby + Rails.
&gt;&gt;&gt;
&gt;&gt;&gt; I had a question about memory consumption and I was curious if it's on
&gt;&gt;&gt; par with what should be expected or if I need to find a way to
&gt;&gt;&gt; optimize things a bit...
&gt;&gt;&gt;
&gt;&gt;&gt; JRuby 1.1.2
&gt;&gt;&gt; JDK 1.6 64-Bit
&gt;&gt;&gt; Running a bare Rails 2.1 app
&gt;&gt; 64-bit tends to use more memory for one. But we also have continued to
&gt;&gt; improve memory utilization post 1.1.2...
&gt;&gt;
&gt;&gt;&gt; Memory Usage:
&gt;&gt;&gt; Total: 763MiB
&gt;&gt;&gt; RSS: 166MiB
&gt;&gt;&gt; Shared: 8.5MiB
&gt;&gt; What's the definition of Total and RSS there
&gt; 
&gt; This is what I've been trying to research...  I'm pulling these from
&gt; the default System Monitor tool that ships with Red Hat....  And it
&gt; appears all Java instances are consuming a ton of memory but in the
&gt; grand scheme of things, only around 1.2GB of 7GB of memory are being
&gt; consumed, which is much less that if you add up what the "Totals" are
&gt; from the monitor.

Ok, then the Total size is really the virtual size...the space that the 
JVM has "expressed an interest in" but has not actually used yet. I 
believe virtual size for most processes is typically far larger than 
what they're actually consuming. In this case, it's probably that large 
because JRuby sets the "max heap size" to around 512MB by default, and 
JVM itself probably adds on a bunch of extra for 64 bit and for JVM 
internal memory use. So RSS: is probably your actual "commit size". 
Again, still large, but much more reasonably than the "Total" size.

&gt; Yes, the first example is a single Rails App (2.1) under JRuby 1.1.2
&gt; running Mongrel 1.1.5.  Development mode.  Though I just ran it in
&gt; production mode and the numbers remain just about th same.
&gt; 
&gt; Server has been running for well over an hour and things are still
&gt; floating around those values, so it's not necessarily startup or
&gt; warmup it seems.

Is it possible to run under MRI to see if it's a case where we're 
consuming considerably more than we should?

&gt;&gt; You could also try forcing less memory use to see if this is all actually
&gt;&gt; needed. JVM can sometimes be a little eager to grab more memory. -J-Xmx###M
&gt;&gt; for ### MB max.

This probably won't make a difference since it appear your actual "in 
use" size is far below the default 512MB setting. You could try someting 
like 128MB but it probably wouldn't even be able to start up.

&gt; Thanks for the response, I'm really enjoying the JRuby project and it
&gt; was a pleasure to get a chance to see you talk at Acts_as_conference
&gt; in Orlando a few months back and seeing all of the headway JRuby is
&gt; making.  Bravo.
&gt; 
&gt; Is anyone else able to throw out some benchmarks on memory consumption
&gt; for a production server?  I'm going to go ahead and fire up an
&gt; application I've got running on a Windows server (yuck) and see how it
&gt; performs.

I don't, but I'm sure there are others around who have some metrics for you.

- Charlie

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



</pre>
      </description>
    </item>
    <item>
      <title>Re: [jruby-user] JRuby 1.1.2, Rails 2.1 Memory performance?</title>
      <creator>Matthew Williams (matthew.d.williams@gmail...)</creator>
      <pubDate>Thu, 03 Jul 2008 12:13:04 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/user/4c8cdcb30807031013h762bbb13sc80a89da7f8fe6c1%40mail.gmail.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/user/4c8cdcb30807031013h762bbb13sc80a89da7f8fe6c1%40mail.gmail.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Matthew Williams (matthew.d.williams@gmail...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Thu Jul 03 12:13:04 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <pre>On Thu, Jul 3, 2008 at 11:41 AM, Charles Oliver Nutter
&lt;charles.nutter@sun.com&gt; wrote:
&gt; Matthew Williams wrote:
&gt;&gt;
&gt;&gt; Running Red Hat Enterprise Server 4 on fairly powerful machine (quad
&gt;&gt; CPU's etc etc) I have just setup JRuby + Rails.
&gt;&gt;
&gt;&gt; I had a question about memory consumption and I was curious if it's on
&gt;&gt; par with what should be expected or if I need to find a way to
&gt;&gt; optimize things a bit...
&gt;&gt;
&gt;&gt; JRuby 1.1.2
&gt;&gt; JDK 1.6 64-Bit
&gt;&gt; Running a bare Rails 2.1 app
&gt;
&gt; 64-bit tends to use more memory for one. But we also have continued to
&gt; improve memory utilization post 1.1.2...
&gt;
&gt;&gt; Memory Usage:
&gt;&gt; Total: 763MiB
&gt;&gt; RSS: 166MiB
&gt;&gt; Shared: 8.5MiB
&gt;
&gt; What's the definition of Total and RSS there

This is what I've been trying to research...  I'm pulling these from
the default System Monitor tool that ships with Red Hat....  And it
appears all Java instances are consuming a ton of memory but in the
grand scheme of things, only around 1.2GB of 7GB of memory are being
consumed, which is much less that if you add up what the "Totals" are
from the monitor.

&gt;
&gt;&gt; I had around the same results using the Glassfish Gem as well.
&gt;&gt;
&gt;&gt; Could anyone offer any insight on this?  To the untrained eye it would
&gt;&gt; look like the Java process is consuming a ton of memory for a single
&gt;&gt; application.
&gt;
&gt; Well, Rails is not small, and most deployment options launch multiple Rails.
&gt; Is your first example a single Rails app under JRuby, running with something
&gt; like Mongrel? If Total is actual memory used, that does seem very high for
&gt; even the fattest of applications. If RSS is total memory used, it still
&gt; seems high, but not unreasonable. Also, is this immediately after startup or
&gt; is there some execution involved in warming the server up?
&gt;

Yes, the first example is a single Rails App (2.1) under JRuby 1.1.2
running Mongrel 1.1.5.  Development mode.  Though I just ran it in
production mode and the numbers remain just about th same.

Server has been running for well over an hour and things are still
floating around those values, so it's not necessarily startup or
warmup it seems.

&gt; You could also try forcing less memory use to see if this is all actually
&gt; needed. JVM can sometimes be a little eager to grab more memory. -J-Xmx###M
&gt; for ### MB max.
&gt;
&gt; - Charlie
&gt;

Thanks for the response, I'm really enjoying the JRuby project and it
was a pleasure to get a chance to see you talk at Acts_as_conference
in Orlando a few months back and seeing all of the headway JRuby is
making.  Bravo.

Is anyone else able to throw out some benchmarks on memory consumption
for a production server?  I'm going to go ahead and fire up an
application I've got running on a Windows server (yuck) and see how it
performs.

&gt; ---------------------------------------------------------------------
&gt; To unsubscribe from this list, please visit:
&gt;
&gt;   http://xircles.codehaus.org/manage_email
&gt;
&gt;
&gt;

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



</pre>
      </description>
    </item>
    <item>
      <title>Re: [jruby-user] JRuby 1.1.2, Rails 2.1 Memory performance?</title>
      <creator>Charles Oliver Nutter (charles.nutter@sun...)</creator>
      <pubDate>Thu, 03 Jul 2008 10:41:05 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/user/486CF311.1010202%40sun.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/user/486CF311.1010202%40sun.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Charles Oliver Nutter (charles.nutter@sun...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Thu Jul 03 10:41:05 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <pre>Matthew Williams wrote:
&gt; Running Red Hat Enterprise Server 4 on fairly powerful machine (quad
&gt; CPU's etc etc) I have just setup JRuby + Rails.
&gt; 
&gt; I had a question about memory consumption and I was curious if it's on
&gt; par with what should be expected or if I need to find a way to
&gt; optimize things a bit...
&gt; 
&gt; JRuby 1.1.2
&gt; JDK 1.6 64-Bit
&gt; Running a bare Rails 2.1 app

64-bit tends to use more memory for one. But we also have continued to 
improve memory utilization post 1.1.2...

&gt; Memory Usage:
&gt; Total: 763MiB
&gt; RSS: 166MiB
&gt; Shared: 8.5MiB

What's the definition of Total and RSS there

&gt; I had around the same results using the Glassfish Gem as well.
&gt; 
&gt; Could anyone offer any insight on this?  To the untrained eye it would
&gt; look like the Java process is consuming a ton of memory for a single
&gt; application.

Well, Rails is not small, and most deployment options launch multiple 
Rails. Is your first example a single Rails app under JRuby, running 
with something like Mongrel? If Total is actual memory used, that does 
seem very high for even the fattest of applications. If RSS is total 
memory used, it still seems high, but not unreasonable. Also, is this 
immediately after startup or is there some execution involved in warming 
the server up?

You could also try forcing less memory use to see if this is all 
actually needed. JVM can sometimes be a little eager to grab more 
memory. -J-Xmx###M for ### MB max.

- Charlie

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



</pre>
      </description>
    </item>
    <item>
      <title>[jruby-user] JRuby 1.1.2, Rails 2.1 Memory performance?</title>
      <creator>Matthew Williams (matthew.d.williams@gmail...)</creator>
      <pubDate>Thu, 03 Jul 2008 10:14:34 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/user/4c8cdcb30807030814y16e34b75wd0ca9b29d1ee1a42%40mail.gmail.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/user/4c8cdcb30807030814y16e34b75wd0ca9b29d1ee1a42%40mail.gmail.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Matthew Williams (matthew.d.williams@gmail...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Thu Jul 03 10:14:34 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <pre>Running Red Hat Enterprise Server 4 on fairly powerful machine (quad
CPU's etc etc) I have just setup JRuby + Rails.

I had a question about memory consumption and I was curious if it's on
par with what should be expected or if I need to find a way to
optimize things a bit...

JRuby 1.1.2
JDK 1.6 64-Bit
Running a bare Rails 2.1 app

Memory Usage:
Total: 763MiB
RSS: 166MiB
Shared: 8.5MiB

I had around the same results using the Glassfish Gem as well.

Could anyone offer any insight on this?  To the untrained eye it would
look like the Java process is consuming a ton of memory for a single
application.

Any thoughts?

Thanks!
-Matt

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



</pre>
      </description>
    </item>
    <item>
      <title>Re: [jruby-user] AOT Compilation of Ruby Libraries</title>
      <creator>Charles Oliver Nutter (charles.nutter@sun...)</creator>
      <pubDate>Wed, 02 Jul 2008 20:45:26 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/user/486C2F36.1020201%40sun.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/user/486C2F36.1020201%40sun.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Charles Oliver Nutter (charles.nutter@sun...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Wed Jul 02 20:45:26 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <pre>FYI, I just committed a change so the default is no prefix. I agree it's 
better this way.

Matt Fletcher wrote:
&gt; Oh yeah, I ran into this as well and it kinda screwed up my upgrade path 
&gt; from 1.1RC2 to 1.1.2 this week. Blech.
&gt; 
&gt; On Jun 27, 2008, at 12:30 PM, Vladimir Sizikov wrote:
&gt; 
&gt;&gt; On Fri, Jun 27, 2008 at 6:01 PM, Charles Oliver Nutter
&gt;&gt; &lt;charles.nutter@sun.com&gt; wrote:
&gt;&gt;&gt; Hmm, noted. I'm kinda leaning this way myself, since the automatic 
&gt;&gt;&gt; "ruby"
&gt;&gt;&gt; prefix means in-place compiling doesn't work without additional flags.
&gt;&gt;&gt; That's not very convention-over-configuration.
&gt;&gt;
&gt;&gt; Also, some time in the past I spent at least a couple of hours on
&gt;&gt; Windows trying to fix one of our tests that was using jrubyc and
&gt;&gt; needed no prefix, and quoting/escaping  jrubyc --prefix "" was not
&gt;&gt; fun. :)
&gt;&gt;
&gt;&gt; --Vladimir
&gt;&gt;
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt; To unsubscribe from this list, please visit:
&gt;&gt;
&gt;&gt;    http://xircles.codehaus.org/manage_email
&gt;&gt;
&gt;&gt;
&gt; 
&gt; 
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe from this list, please visit:
&gt; 
&gt;    http://xircles.codehaus.org/manage_email
&gt; 
&gt; 


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



</pre>
      </description>
    </item>
    <item>
      <title>[jruby-user] Rolling a JRuby desktop application</title>
      <creator>Matt Fletcher (fletcher@atomicobject...)</creator>
      <pubDate>Wed, 02 Jul 2008 12:58:52 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/user/af1678960807021058k72bd73edv85e201c6b09f9e15%40mail.gmail.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/user/af1678960807021058k72bd73edv85e201c6b09f9e15%40mail.gmail.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Matt Fletcher (fletcher@atomicobject...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Wed Jul 02 12:58:52 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <div>&lt;div class='clean'&gt;Atomic Object has been developing several JRuby desktop
applications over the last year. I just got finished writing up how
we transform a JRuby project on the filesystem into a single,
executable jar file that we deliver to our customers. Our process
even includes compiling the Ruby source files into Java class files
before they are packaged.
&lt;br/&gt;
&lt;br/&gt;I hope someone finds some value in this.
&lt;br/&gt;
&lt;br/&gt;Here is a link:
&lt;br/&gt;
&lt;a href='http://spin.atomicobject.com/2008/07/02/rolling-a-jruby-desktop-application' rel='nofollow'&gt;
http://spin.atomicobject.com/2008/07/02/rolling-a-jruby-desktop-application&lt;/a&gt;
&lt;br/&gt;&lt;/div&gt;</div>
      </description>
    </item>
    <item>
      <title>[jruby-user] open-uri cannot generate tempfile file exists</title>
      <creator>James Harvey (jamesaharvey@gmail...)</creator>
      <pubDate>Wed, 02 Jul 2008 10:59:13 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/user/724e6cbf0807020859k3c95eae4jea6c4b7dc04e0eb4%40mail.gmail.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/user/724e6cbf0807020859k3c95eae4jea6c4b7dc04e0eb4%40mail.gmail.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>James Harvey (jamesaharvey@gmail...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Wed Jul 02 10:59:13 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <div>&lt;div class='clean'&gt;Has anyone else come across this error?&amp;nbsp; It only seems
to happen intermittently.&amp;nbsp; Any help would be greatly
appreciated.
&lt;br/&gt;
&lt;br/&gt;RuntimeError (cannot generate tempfile
`C:/WINDOWS/TEMP/open-uri.204.21': File exists - file exists:
C:/WINDOWS/TEMP/open-uri.204.21):
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
file:/D:/tomcat/webapps/mirror_mirror/WEB-INF/lib/jruby-complete-1.1.1.jar!/tempfile.rb:39:in
`initialize'
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
file:/D:/tomcat/webapps/mirror_mirror/WEB-INF/lib/jruby-complete-1.1.1.jar!/open-uri.rb:303:in
`new'
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
file:/D:/tomcat/webapps/mirror_mirror/WEB-INF/lib/jruby-complete-1.1.1.jar!/open-uri.rb:303:in
`&amp;lt;&amp;lt;'
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
file:/D:/tomcat/webapps/mirror_mirror/WEB-INF/lib/jruby-complete-1.1.1.jar!/open-uri.rb:259:in
`open_http'
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
file:/D:/tomcat/webapps/mirror_mirror/WEB-INF/lib/jruby-complete-1.1.1.jar!/net/protocol.rb:381:in
`call_block'
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
file:/D:/tomcat/webapps/mirror_mirror/WEB-INF/lib/jruby-complete-1.1.1.jar!/net/protocol.rb:372:in
`&amp;lt;&amp;lt;'
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
file:/D:/tomcat/webapps/mirror_mirror/WEB-INF/lib/jruby-complete-1.1.1.jar!/net/protocol.rb:84:in
`read'
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
file:/D:/tomcat/webapps/mirror_mirror/WEB-INF/lib/jruby-complete-1.1.1.jar!/net/http.rb:2223:in
`read_body_0'
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
file:/D:/tomcat/webapps/mirror_mirror/WEB-INF/lib/jruby-complete-1.1.1.jar!/net/http.rb:2184:in
`read_body'
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
file:/D:/tomcat/webapps/mirror_mirror/WEB-INF/lib/jruby-complete-1.1.1.jar!/open-uri.rb:258:in
`open_http'
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
file:/D:/tomcat/webapps/mirror_mirror/WEB-INF/lib/jruby-complete-1.1.1.jar!/net/http.rb:1062:in
`request'
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
file:/D:/tomcat/webapps/mirror_mirror/WEB-INF/lib/jruby-complete-1.1.1.jar!/net/http.rb:2147:in
`reading_body'
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
file:/D:/tomcat/webapps/mirror_mirror/WEB-INF/lib/jruby-complete-1.1.1.jar!/net/http.rb:1061:in
`request'
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
file:/D:/tomcat/webapps/mirror_mirror/WEB-INF/lib/jruby-complete-1.1.1.jar!/open-uri.rb:249:in
`open_http'
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
file:/D:/tomcat/webapps/mirror_mirror/WEB-INF/lib/jruby-complete-1.1.1.jar!/net/http.rb:547:in
`start'
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
file:/D:/tomcat/webapps/mirror_mirror/WEB-INF/lib/jruby-complete-1.1.1.jar!/open-uri.rb:243:in
`open_http'
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
file:/D:/tomcat/webapps/mirror_mirror/WEB-INF/lib/jruby-complete-1.1.1.jar!/open-uri.rb:617:in
`buffer_open'
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
file:/D:/tomcat/webapps/mirror_mirror/WEB-INF/lib/jruby-complete-1.1.1.jar!/open-uri.rb:164:in
`open_loop'
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
file:/D:/tomcat/webapps/mirror_mirror/WEB-INF/lib/jruby-complete-1.1.1.jar!/open-uri.rb:162:in
`catch'
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
file:/D:/tomcat/webapps/mirror_mirror/WEB-INF/lib/jruby-complete-1.1.1.jar!/open-uri.rb:162:in
`open_loop'
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
file:/D:/tomcat/webapps/mirror_mirror/WEB-INF/lib/jruby-complete-1.1.1.jar!/open-uri.rb:132:in
`open_uri'
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
file:/D:/tomcat/webapps/mirror_mirror/WEB-INF/lib/jruby-complete-1.1.1.jar!/open-uri.rb:519:in
`open'
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
file:/D:/tomcat/webapps/mirror_mirror/WEB-INF/lib/jruby-complete-1.1.1.jar!/open-uri.rb:30:in
`open'
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /lib/searcher.rb:47:in `run'
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
/app/controllers/mirror_mirror_controller.rb:36:in
`search_and_parse_speed_bump'
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
/gems/gems/actionpack-2.0.2/lib/action_controller/base.rb:1158:in
`perform_action'
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
/gems/gems/actionpack-2.0.2/lib/action_controller/filters.rb:697:in
`call_filters'
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
/gems/gems/actionpack-2.0.2/lib/action_controller/filters.rb:689:in
`perform_action_with_filters'
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
/gems/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:in
`perform_action_with_benchmark'
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
file:/D:/tomcat/webapps/mirror_mirror/WEB-INF/lib/jruby-complete-1.1.1.jar!/benchmark.rb:293:in
`measure'
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
/gems/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:in
`perform_action_with_benchmark'
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
/gems/gems/actionpack-2.0.2/lib/action_controller/rescue.rb:199:in
`perform_action_with_rescue'
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
/gems/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in
`process'
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
/gems/gems/actionpack-2.0.2/lib/action_controller/filters.rb:685:in
`process_with_filters'
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
/gems/gems/actionpack-2.0.2/lib/action_controller/session_management.rb:123:in
`process_with_session_management_support'
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
/gems/gems/actionpack-2.0.2/lib/action_controller/base.rb:388:in
`process'
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
/gems/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:171:in
`handle_request'
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
/gems/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in
`dispatch'
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
/gems/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in
`dispatch_cgi'
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
/gems/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in
`dispatch'
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
file:/D:/tomcat/webapps/mirror_mirror/WEB-INF/lib/jruby-rack-0.9.jar!/rack/adapter/rails.rb:37:in
`serve_rails'
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
file:/D:/tomcat/webapps/mirror_mirror/WEB-INF/lib/jruby-rack-0.9.jar!/rack/adapter/rails.rb:44:in
`call'
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
file:/D:/tomcat/webapps/mirror_mirror/WEB-INF/lib/jruby-rack-0.9.jar!/jruby/rack/rails.rb:129:in
`call'
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
file:/D:/tomcat/webapps/mirror_mirror/WEB-INF/lib/jruby-rack-0.9.jar!/rack/handler/servlet.rb:22:in
`call'
&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; :1
&lt;br/&gt;&lt;/div&gt;</div>
      </description>
    </item>
    <item>
      <title>Re: [jruby-user] boolean mysql error</title>
      <creator>Matt Burke (maburke@sep...)</creator>
      <pubDate>Wed, 02 Jul 2008 10:22:01 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/user/486B9D19.3000002%40sep.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/user/486B9D19.3000002%40sep.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Matt Burke (maburke@sep...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Wed Jul 02 10:22:01 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <pre>Nick Sieger wrote:
&gt; On Tue, Jul 1, 2008 at 9:56 PM, AD &lt;straightflush@gmail.com&gt; wrote:
&gt;&gt; it helps and it worked.
&gt;&gt; Any reason it works in MRI rake and not JRuby rake ?
&gt; 
&gt; No particular reason. My best guess is that MRI's mysql adapter has a
&gt; mapping for :bool, while AR-JDBC does not? Not sure...

I've run into this before with :int and :integer. I think AR just passes 
the column type through to the DB in many cases [2], so if the adapter 
and/or DB supports calling "boolean" "bool", then it'll work. So the 
difference you're seeing is most likely a difference between using the 
regular mysql adapter vs. activerecord-jdbc's mysql adapter. Since 
:boolean is the correct name for the type [1], ar-jdbc is probably more 
correct.

[1] 
http://api.rubyonrails.org/classes/ActiveRecord/ConnectionAdapters/TableDefinition.html#M001150


[2] It looks like it tries to translate it, and if it doesn't recognize 
the type, it just passes it through.
http://github.com/rails/rails/tree/master/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb#L380

--
Matt

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



</pre>
      </description>
    </item>
    <item>
      <title>Re: [jruby-user] boolean mysql error</title>
      <creator>Nick Sieger (nicksieger@gmail...)</creator>
      <pubDate>Wed, 02 Jul 2008 10:13:48 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/user/f0b861390807020813q727ff931u71a1c6cdd094c40e%40mail.gmail.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/user/f0b861390807020813q727ff931u71a1c6cdd094c40e%40mail.gmail.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Nick Sieger (nicksieger@gmail...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Wed Jul 02 10:13:48 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <pre>On Tue, Jul 1, 2008 at 9:56 PM, AD &lt;straightflush@gmail.com&gt; wrote:
&gt; it helps and it worked.
&gt; Any reason it works in MRI rake and not JRuby rake ?

No particular reason. My best guess is that MRI's mysql adapter has a
mapping for :bool, while AR-JDBC does not? Not sure...

/Nick

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



</pre>
      </description>
    </item>
    <item>
      <title>Re: [jruby-user] Running tests using JRuby</title>
      <creator>Igor Minar (iiminar@gmail...)</creator>
      <pubDate>Wed, 02 Jul 2008 02:22:43 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/user/033818F5-C559-4919-A5A4-D2EE349D50FB%40gmail.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/user/033818F5-C559-4919-A5A4-D2EE349D50FB%40gmail.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Igor Minar (iiminar@gmail...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Wed Jul 02 02:22:43 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <pre>I saw similar problem a few days ago.

It looks like a Rails bug - there are one or two files in the rails  
project skeleton that refer to ActiveRecord. If AR is disabled, the  
exception below is thrown.

Commenting out the AR lines in config/initializers/ 
new_rails_defaults.rb (and possibly one more file) will resolve the  
issue.

cheers,
Igor


On Jun 27, 2008, at 8:53 PM, Arun Gupta wrote:

&gt; I disabled DB access and was getting:
&gt;
&gt; -- cut here --
&gt; JRuby limited openssl loaded. gem install jruby-openssl for full  
&gt; support.
&gt; http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL
&gt; /Users/arungupta/testbed/jruby-1.1.2/lib/ruby/gems/1.8/gems/ 
&gt; activesupport-2.1.0/lib/active_support/dependencies.rb:278:in  
&gt; `load_missing_constant': uninitialized constant ActiveRecord  
&gt; (NameError)
&gt;        from /Users/arungupta/testbed/jruby-1.1.2/lib/ruby/gems/1.8/ 
&gt; gems/activesupport-2.1.0/lib/active_support/dependencies.rb:467:in  
&gt; `const_missing'
&gt;        from /Users/arungupta/testbed/jruby-1.1.2/lib/ruby/gems/1.8/ 
&gt; gems/activesupport-2.1.0/lib/active_support/dependencies.rb:479:in  
&gt; `const_missing'
&gt;        from /Users/arungupta/samples/jruby/test/helloworld/config/ 
&gt; initializers/new_rails_defaults.rb:5:in `/Users/arungupta/samples/ 
&gt; jruby/test/helloworld/config/initializers/new_rails_defaults.rb'
&gt; -- cut here --
&gt;
&gt; So had to update "config/initializers/new_rails_defaults.rb" as:
&gt;
&gt; if defined?(ActiveRecord)
&gt; # Include Active Record class name as root for JSON serialized output.
&gt; ActiveRecord::Base.include_root_in_json = true
&gt;
&gt; # Store the full class name (including module namespace) in STI type  
&gt; column.
&gt; ActiveRecord::Base.store_full_sti_class = true
&gt; end
&gt;
&gt; Is that expected in Rails 2.1 ?
&gt;
&gt; -Arun
&gt;
&gt; Johnny P wrote:
&gt;&gt; What error?  Can you include it in the paste?  Thanks
&gt;&gt; On Fri, Jun 27, 2008 at 11:55 AM, Arun Gupta &lt;Arun.Gupta@sun.com &lt;mailto:Arun.Gupta@sun.com 
&gt;&gt; &gt;&gt; wrote:
&gt;&gt;    Using JRuby 1.1.1 + Rails 2.0.2 (also 1.1.2 + 2.1), I generated a
&gt;&gt;    Rails app and tried running the default functional tests but  
&gt;&gt; getting
&gt;&gt;    the error:
&gt;&gt;    -- cut here --
&gt;&gt;    ~/samples/jruby/test/temp/hello &gt;~/testbed/jruby-1.1.1/bin/jruby  
&gt;&gt; -S
&gt;&gt;    rake test
&gt;&gt;    (in /Users/arungupta/samples/jruby/test/temp/hello)
&gt;&gt;    /Users/arungupta/testbed/jruby-1.1.1/bin/jruby -Ilib:test
&gt;&gt;    "/Users/arungupta/testbed/jruby-1.1.1/lib/ruby/gems/1.8/gems/ 
&gt;&gt; rake-0.8.1/lib/rake/rake_test_loader.rb"
&gt;&gt;    /Users/arungupta/testbed/jruby-1.1.1/bin/jruby -Ilib:test
&gt;&gt;    "/Users/arungupta/testbed/jruby-1.1.1/lib/ruby/gems/1.8/gems/ 
&gt;&gt; rake-0.8.1/lib/rake/rake_test_loader.rb"
&gt;&gt;    /Users/arungupta/testbed/jruby-1.1.1/bin/jruby -Ilib:test
&gt;&gt;    "/Users/arungupta/testbed/jruby-1.1.1/lib/ruby/gems/1.8/gems/ 
&gt;&gt; rake-0.8.1/lib/rake/rake_test_loader.rb"
&gt;&gt;    -- cut here --
&gt;&gt;    Tried on Mac, Windows &amp; OpenSolaris and got exactly the same  
&gt;&gt; result.
&gt;&gt;    What am I missing ?
&gt;&gt;    Thanks,
&gt;&gt;    -Arun
&gt;&gt;    --     Application Platform, Sun Microsystems, Inc.
&gt;&gt;    Blog: http://blogs.sun.com/arungupta
&gt;&gt;     
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;    To unsubscribe from this list, please visit:
&gt;&gt;      http://xircles.codehaus.org/manage_email
&gt;
&gt; -- 
&gt; Application Platform, Sun Microsystems, Inc.
&gt; Blog: http://blogs.sun.com/arungupta
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe from this list, please visit:
&gt;
&gt;   http://xircles.codehaus.org/manage_email
&gt;
&gt;


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



</pre>
      </description>
    </item>
    <item>
      <title>Re: [jruby-user] boolean mysql error</title>
      <creator>AD (straightflush@gmail...)</creator>
      <pubDate>Tue, 01 Jul 2008 21:56:06 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/user/d9cab5bb0807011956x710b918an733e2c04336cff0a%40mail.gmail.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/user/d9cab5bb0807011956x710b918an733e2c04336cff0a%40mail.gmail.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>AD (straightflush@gmail...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Tue Jul 01 21:56:06 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <div>&lt;div class='clean'&gt;it helps and it worked.
&lt;div&gt;
&lt;br/&gt;
&lt;/div&gt;
&lt;div&gt;Any reason it works in MRI rake and not JRuby rake ?
&lt;br/&gt;
&lt;br/&gt;
&lt;div class='gmail_quote'&gt;On Tue, Jul 1, 2008 at 10:45 AM, Nick
Sieger &amp;lt;
&lt;a href='mailto:nicksieger@gmail.com' rel='nofollow'&gt;nicksieger@gmail.com&lt;/a&gt;&amp;gt;
wrote:
&lt;br/&gt;
&lt;blockquote class='gmail_quote' style='margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;'&gt;
&lt;div class='Ih2E3d'&gt;On Tue, Jul 1, 2008 at 8:41 AM, AD &amp;lt;
&lt;a href='mailto:straightflush@gmail.com' rel='nofollow'&gt;straightflush@gmail.com&lt;/a&gt;&amp;gt;
wrote:
&lt;br/&gt;&amp;gt; Hello,
&lt;br/&gt;&amp;gt;
&lt;br/&gt;&amp;gt; &amp;nbsp;I ran into a bug/issue where running rake
db:migrate under JRuby with a
&lt;br/&gt;&amp;gt; mysql DB and a type of boolean produces the following
error. &amp;nbsp;Is this a
&lt;br/&gt;&amp;gt; known bug/issue with rake under JRuby ?
&lt;br/&gt;&amp;gt;
&lt;br/&gt;&amp;gt; Rake Output (0.8.1):
&lt;br/&gt;&amp;gt;
&lt;br/&gt;&amp;gt; -- add_column(:clips, :featured, :bool,
{:default=&amp;gt;false})
&lt;br/&gt;
&lt;br/&gt;&lt;/div&gt;You should use :boolean, not :bool. Does that help?
&lt;br/&gt;
&lt;br/&gt;/Nick
&lt;br/&gt;
&lt;br/&gt;---------------------------------------------------------------------
&lt;br/&gt;To unsubscribe from this list, please visit:
&lt;br/&gt;
&lt;br/&gt;&amp;nbsp; &amp;nbsp;
&lt;a href='http://xircles.codehaus.org/manage_email' rel='nofollow' target='_blank'&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;&lt;/blockquote&gt;&lt;/div&gt;
&lt;br/&gt;&lt;/div&gt;&lt;/div&gt;</div>
      </description>
    </item>
    <item>
      <title>Re: [jruby-user] JRuby on Rails Host recommendations?</title>
      <creator>Robert Dempsey (robertonrails@gmail...)</creator>
      <pubDate>Tue, 01 Jul 2008 12:40:58 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/user/69296ed10807011040l15965d48jb086ca8404f22a89%40mail.gmail.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/user/69296ed10807011040l15965d48jb086ca8404f22a89%40mail.gmail.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Robert Dempsey (robertonrails@gmail...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Tue Jul 01 12:40:58 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <div>&lt;div class='clean'&gt;We're a partner of Morph and have had great success with
Rails applications. We are looking into their Java offerings as we
speak. If you go with that let me know.
&lt;br clear='all'/&gt;
&lt;br/&gt;Sincerely,
&lt;br/&gt;
&lt;br/&gt;Robert Dempsey, CEO
&lt;br/&gt;Atlantic Dominion Solutions, LLC
&lt;br/&gt;
&lt;a href='http://www.techcfl.com' rel='nofollow'&gt;http://www.techcfl.com&lt;/a&gt;
&lt;br/&gt;&lt;/div&gt;</div>
      </description>
    </item>
    <item>
      <title>Re: [jruby-user] JRuby on Rails Host recommendations?</title>
      <creator>Matthew Williams (matthew.d.williams@gmail...)</creator>
      <pubDate>Tue, 01 Jul 2008 12:38:12 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/user/4c8cdcb30807011038x1ca583e4o90a09e3a188945c7%40mail.gmail.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/user/4c8cdcb30807011038x1ca583e4o90a09e3a188945c7%40mail.gmail.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Matthew Williams (matthew.d.williams@gmail...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Tue Jul 01 12:38:12 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <pre>The press release just came out today but Morph Labs now offers Java
support.  I don't know the extent as I only quickly read the press
release and remembered this thread.

http://www.mor.ph/

"Java goes out of Beta. About a month ago, we announced Morph AppSpace
for Java and Grails in limited developer preview. We're very excited
to tell you that this major feature is now publicly available. The
Java and Grails community can now take advantage of our fully managed
deployment, delivery and management system to side-step time-consuming
challenges such as hosting setups and deployment tasks."

I think the basic hosting is around $1/day.  The Rails demo running on
Morph that was given at the most recent BarCamp Orlando was pretty
impressive and the prices seem reasonable for the many cool services
they offer.

Good luck!

On Tue, Jul 1, 2008 at 9:32 AM, Charles Oliver Nutter
&lt;charles.nutter@sun.com&gt; wrote:
&gt; Robert Dempsey wrote:
&gt;&gt;
&gt;&gt; I am not too familiar with Java-only solutions, however Slicehost seems to
&gt;&gt; be within your budget for your own VPS. The only caveat there is the setup,
&gt;&gt; deployment, and management is up to you 100%. Let me know what you
&gt;&gt; ultimately go with as I would be interested as well.
&gt;
&gt; My brother ended up going with Slicehost because non-VPS options were too
&gt; restrictive for Ruby stuff, JRuby or otherwise. As far as I know he's pretty
&gt; happy with it so far.
&gt;
&gt; - Charlie
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe from this list, please visit:
&gt;
&gt;   http://xircles.codehaus.org/manage_email
&gt;
&gt;
&gt;

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



</pre>
      </description>
    </item>
    <item>
      <title>Re: [jruby-user] boolean mysql error</title>
      <creator>Nick Sieger (nicksieger@gmail...)</creator>
      <pubDate>Tue, 01 Jul 2008 09:45:34 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/user/f0b861390807010745u3ef42648u2f093bffce72108c%40mail.gmail.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/user/f0b861390807010745u3ef42648u2f093bffce72108c%40mail.gmail.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Nick Sieger (nicksieger@gmail...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Tue Jul 01 09:45:34 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <pre>On Tue, Jul 1, 2008 at 8:41 AM, AD &lt;straightflush@gmail.com&gt; wrote:
&gt; Hello,
&gt;
&gt;  I ran into a bug/issue where running rake db:migrate under JRuby with a
&gt; mysql DB and a type of boolean produces the following error.  Is this a
&gt; known bug/issue with rake under JRuby ?
&gt;
&gt; Rake Output (0.8.1):
&gt;
&gt; -- add_column(:clips, :featured, :bool, {:default=&gt;false})

You should use :boolean, not :bool. Does that help?

/Nick

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



</pre>
      </description>
    </item>
    <item>
      <title>Re: [jruby-user] bj gem/plugin</title>
      <creator>Stephen Bannasch (stephen.bannasch@deanbrook...)</creator>
      <pubDate>Tue, 01 Jul 2008 09:27:31 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/user/p0624080ec48fed2c8eda%40%5B192.168.1.106%5D</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/user/p0624080ec48fed2c8eda%40%5B192.168.1.106%5D</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Stephen Bannasch (stephen.bannasch@deanbrook...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Tue Jul 01 09:27:31 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <div>&lt;div class='clean'&gt;
&lt;div&gt;At 10:20 AM +0300 6/30/08, Raimonds Simanovskis wrote:&lt;/div&gt;
&lt;blockquote cite='' type='cite'&gt;I initially also planned to use bj
in one project but now found BackgroundFu (
&lt;a href='http://github.com/ncr/background-fu' rel='nofollow'&gt;http://github.com/ncr/background-fu&lt;/a&gt;)
which I like better than bj.
&lt;br/&gt;Have not tried it yet with JRuby but at least from source
code it seems that it should probably run on it as there is no
native process launching as in case of bj.&lt;/blockquote&gt;
&lt;div&gt;
&lt;br/&gt;
&lt;/div&gt;
&lt;div&gt;background_fu uses the daemons gem which uses fork which is
only experimentally supported in jruby&lt;/div&gt;
&lt;div&gt;
&lt;br/&gt;
&lt;/div&gt;
&lt;div&gt;$ bin/jruby -J-Djruby.fork.enabled=true -e 'puts "hello"'
&lt;br/&gt;WARNING: fork is highly unlikely to be safe or stable on the
JVM. Have fun!&lt;/div&gt;
&lt;div&gt;hello&lt;/div&gt;
&lt;div&gt;
&lt;br/&gt;
&lt;/div&gt;
&lt;div&gt;I don't know what makes fork so problematic on JRuby except
that the JVM (which is what gets forked) could be a very large
process and it's a heavyweight way to achieve something that could
be done in just another thread.&lt;/div&gt;
&lt;div&gt;
&lt;br/&gt;
&lt;/div&gt;
&lt;div&gt;from daemons-1.0.9/lib/daemons.rb:&lt;/div&gt;
&lt;div&gt;
&lt;br/&gt;
&lt;/div&gt;
&lt;div&gt;# From a technical aspect of view, daemons does the following
when creating a daemon:
&lt;br/&gt;#
&lt;br/&gt;# 1.&amp;nbsp; Forks a child (and exits the parent process, if
needed)
&lt;br/&gt;# 2.&amp;nbsp; Becomes a session leader (which detaches the
program from
&lt;br/&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; the controlling terminal).
&lt;br/&gt;# 3.&amp;nbsp; Forks another child process and exits first child.
This prevents
&lt;br/&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; the potential of acquiring a
controlling terminal.
&lt;br/&gt;# 4.&amp;nbsp; Changes the current working directory to "/".
&lt;br/&gt;# 5.&amp;nbsp; Clears the file creation mask (sets +umask+ to
+0000+).
&lt;br/&gt;# 6.&amp;nbsp; Closes file descriptors (reopens +STDOUT+ and
+STDERR+ to point to a logfile if&lt;/div&gt;
&lt;div&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; possible).
&lt;br/&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;/div&gt;
&lt;blockquote cite='' type='cite'&gt;Raimonds
&lt;br/&gt;
&lt;br/&gt;
&lt;tt&gt;"Rich Manalang" &amp;lt;rich.manalang@gmail.com&amp;gt; wrote on
29.06.2008 22:14:29:
&lt;br/&gt;
&lt;br/&gt;&amp;gt; Not yet. &amp;nbsp;Although, this project may be dead in the
water since I see
&lt;br/&gt;&amp;gt; references to ObjectSpace in Bj. &amp;nbsp;Now looking for a
different option.
&lt;br/&gt;&amp;gt; I don't like rufus-scheduler because it doesn't have a
persistent
&lt;br/&gt;&amp;gt; store for jobs -- if the app goes down, you'll never
know what
&lt;br/&gt;&amp;gt; happened to the jobs. &amp;nbsp;Although, I'd love to hear
from those who have
&lt;br/&gt;&amp;gt; had success with rufus-scheduler... I saw that that
several JRubyists
&lt;br/&gt;&amp;gt; have.
&lt;br/&gt;&amp;gt;
&lt;br/&gt;&amp;gt; Rich
&lt;br/&gt;&amp;gt;
&lt;br/&gt;&amp;gt; ?u?l?u?? ??&amp;#194;&amp;#382;?
&lt;br/&gt;&amp;gt;
&lt;br/&gt;&amp;gt;
&lt;br/&gt;&amp;gt; On Sat, Jun 28, 2008 at 10:06 PM, Stephen Bannasch
&lt;br/&gt;&amp;gt; &amp;lt;stephen.bannasch@deanbrook.org&amp;gt; wrote:
&lt;br/&gt;&amp;gt; &amp;gt; At 10:03 PM -0700 6/26/08, Rich Manalang wrote:
&lt;br/&gt;&amp;gt; &amp;gt;&amp;gt;I'm kind of in the heat of patching Bj to get it
to work on JRuby. &amp;nbsp;So
&lt;br/&gt;&amp;gt; &amp;gt;&amp;gt;far the main problem is that it doesn't
reference ar-jdbc. &amp;nbsp;After
&lt;br/&gt;&amp;gt; &amp;gt;&amp;gt;adding ar-jdbc, I'm finding other issues.
&amp;nbsp;I'll let you know what I
&lt;br/&gt;&amp;gt; &amp;gt;&amp;gt;come up with.
&lt;br/&gt;&amp;gt; &amp;gt;
&lt;br/&gt;&amp;gt; &amp;gt; Rick, I started using Bj in a rails project
recently and found it
&lt;br/&gt;&amp;gt; doesn't work in JRuby. Fixing it was on my list.
&lt;br/&gt;&amp;gt; &amp;gt;
&lt;br/&gt;&amp;gt; &amp;gt; I'm interested in your progress and perhaps could
help.
&lt;br/&gt;&amp;gt; &amp;gt;
&lt;br/&gt;&amp;gt; &amp;gt; Ar you committing your work to any public
repository (github)?
&lt;br/&gt;&amp;gt; &amp;gt;
&lt;br/&gt;&amp;gt; &amp;gt;
---------------------------------------------------------------------
&lt;br/&gt;&amp;gt; &amp;gt; To unsubscribe from this list, please visit:
&lt;br/&gt;&amp;gt; &amp;gt;
&lt;br/&gt;&amp;gt; &amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/tt&gt;
&lt;a href='http://xircles.codehaus.org/manage_email' rel='nofollow'&gt;
&lt;tt&gt;http://xircles.codehaus.org/manage_email&lt;/tt&gt;
&lt;/a&gt;
&lt;tt&gt;
&lt;br/&gt;&amp;gt; &amp;gt;
&lt;br/&gt;&amp;gt; &amp;gt;
&lt;br/&gt;&amp;gt; &amp;gt;&lt;/tt&gt;&lt;/blockquote&gt;
&lt;div&gt;
&lt;br/&gt;
&lt;/div&gt;
&lt;/div&gt;</div>
      </description>
    </item>
    <item>
      <title>[jruby-user] boolean mysql error</title>
      <creator>AD (straightflush@gmail...)</creator>
      <pubDate>Tue, 01 Jul 2008 08:41:52 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/user/d9cab5bb0807010641j369b816eg136a7b929eb2d866%40mail.gmail.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/user/d9cab5bb0807010641j369b816eg136a7b929eb2d866%40mail.gmail.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>AD (straightflush@gmail...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Tue Jul 01 08:41:52 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <div>&lt;div class='clean'&gt;Hello,
&lt;br/&gt;
&lt;br/&gt;&amp;nbsp;I ran into a bug/issue where running rake db:migrate
under JRuby with a mysql DB and a type of boolean produces the
following error.&amp;nbsp; Is this a known bug/issue with rake under
JRuby ?
&lt;br/&gt;
&lt;br/&gt;Rake Output (0.8.1):
&lt;br/&gt;
&lt;br/&gt;-- add_column(:clips, :featured, :bool, {:default=&amp;gt;false})
&lt;br/&gt;rake aborted!
&lt;br/&gt;ActiveRecord::ActiveRecordError: You have an error in your
SQL syntax; check the manual that corresponds to your MySQL server
version for the right syntax to use near '(1) DEFAULT 0' at line 1:
ALTER TABLE `clips` ADD `featured` bool(1) DEFAULT 0
&lt;br/&gt;
&lt;br/&gt;From Migration:
&lt;br/&gt;
&lt;br/&gt;add_column :clips, :featured, :bool, :default=&amp;gt;false
&lt;br/&gt;
&lt;br/&gt;# /opt/jruby/bin/jruby -v
&lt;br/&gt;ruby 1.8.6 (2008-05-28 rev 6586) [amd64-jruby1.1.2]
&lt;br/&gt;
&lt;br/&gt;# mysql -V
&lt;br/&gt;mysql&amp;nbsp; Ver 14.12 Distrib 5.0.22, for redhat-linux-gnu
(x86_64) using readline 5.0
&lt;br/&gt;
&lt;br/&gt;Thanks
&lt;br/&gt;Adam
&lt;br/&gt;&lt;/div&gt;</div>
      </description>
    </item>
    <item>
      <title>Re: [jruby-user] JRuby on Rails Host recommendations?</title>
      <creator>Charles Oliver Nutter (charles.nutter@sun...)</creator>
      <pubDate>Tue, 01 Jul 2008 08:32:19 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/user/486A31E3.2040701%40sun.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/user/486A31E3.2040701%40sun.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Charles Oliver Nutter (charles.nutter@sun...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Tue Jul 01 08:32:19 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <pre>Robert Dempsey wrote:
&gt; I am not too familiar with Java-only solutions, however Slicehost seems 
&gt; to be within your budget for your own VPS. The only caveat there is the 
&gt; setup, deployment, and management is up to you 100%. Let me know what 
&gt; you ultimately go with as I would be interested as well.

My brother ended up going with Slicehost because non-VPS options were 
too restrictive for Ruby stuff, JRuby or otherwise. As far as I know 
he's pretty happy with it so far.

- Charlie

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



</pre>
      </description>
    </item>
    <item>
      <title>Re: [jruby-user] JRuby on Rails Host recommendations?</title>
      <creator>Myron Marston (myron.marston@gmail...)</creator>
      <pubDate>Tue, 01 Jul 2008 02:52:00 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/user/50d9fdc60807010052v33214815y870121b141d74b7c%40mail.gmail.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/user/50d9fdc60807010052v33214815y870121b141d74b7c%40mail.gmail.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Myron Marston (myron.marston@gmail...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Tue Jul 01 02:52:00 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <div>&lt;div class='clean'&gt;Thanks for the suggestion--Slicehost definitely looks
interesting.&amp;nbsp; That said, server setup and configuration is not
my strong suit--I have virtually no Linux experience.&amp;nbsp; I'm
sure Slicehost would be an educational experience (in a good way),
but I'm not sure I want to invest the time in that now.
&lt;br/&gt;
&lt;br/&gt;Anyone else got any suggestions?
&lt;br/&gt;
&lt;br/&gt;- Myron
&lt;br/&gt;
&lt;br/&gt;
&lt;div class='gmail_quote'&gt;On Tue, Jul 1, 2008 at 10:49 AM, Robert
Dempsey &amp;lt;
&lt;a href='mailto:robertonrails@gmail.com' rel='nofollow'&gt;robertonrails@gmail.com&lt;/a&gt;&amp;gt;
wrote:
&lt;br/&gt;
&lt;blockquote class='gmail_quote' style='border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;'&gt;
I am not too familiar with Java-only solutions, however Slicehost
seems to be within your budget for your own VPS. The only caveat
there is the setup, deployment, and management is up to you 100%.
Let me know what you ultimately go with as I would be interested as
well.
&lt;br clear='all'/&gt;
&lt;br/&gt;Sincerely,
&lt;br/&gt;
&lt;font color='#888888'&gt;
&lt;br/&gt;Robert Dempsey
&lt;br/&gt;Atlantic Dominion Solutions, LLC
&lt;br/&gt;
&lt;a href='http://www.techcfl.com' rel='nofollow' target='_blank'&gt;http://www.techcfl.com&lt;/a&gt;&lt;/font&gt;
&lt;div&gt;
&lt;div class='Wj3C7c'&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;div class='gmail_quote'&gt;On Mon, Jun 30, 2008 at 9:37 PM, Myron
Marston &amp;lt;
&lt;a href='mailto:myron.marston@gmail.com' rel='nofollow' target='_blank'&gt;myron.marston@gmail.com&lt;/a&gt;&amp;gt; wrote:
&lt;br/&gt;
&lt;blockquote class='gmail_quote' style='border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;'&gt;
Hello,
&lt;br/&gt;
&lt;br/&gt;I've been working on a JRuby on Rails app for the last
several months and am planning to go live in the next couple
weeks.&amp;nbsp; I'm looking for a good hosting company for my
app.&amp;nbsp; Does anyone have any experience with hosting a JRuby on
Rails app with a hosting company?&amp;nbsp; Ideally, I'd like to be
paying $10-$15/month, or up to $20/month if that's what I need to
pay to get decent hosting.&amp;nbsp; I have no experience with the
various Java servers (Tomcat, Jetty, JBoss, Glassfish), so right
now I have no preference.&amp;nbsp; Tomcat hosting seems to be the most
affordable, though.&amp;nbsp; I'd like the hosting package to include
my own private JVM.
&lt;br/&gt;
&lt;br/&gt;Anyone have any recommendations?
&lt;br/&gt;
&lt;br/&gt;Thanks,
&lt;br/&gt;
&lt;font color='#888888'&gt;Myron
&lt;br/&gt;&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;
&lt;br/&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;
&lt;br/&gt;&lt;/div&gt;</div>
      </description>
    </item>
    <item>
      <title>Re: [jruby-user] JRuby on Rails Host recommendations?</title>
      <creator>Robert Dempsey (robertonrails@gmail...)</creator>
      <pubDate>Mon, 30 Jun 2008 21:49:52 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/user/69296ed10806301949w752cd51fy8563304f084dac5b%40mail.gmail.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/user/69296ed10806301949w752cd51fy8563304f084dac5b%40mail.gmail.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Robert Dempsey (robertonrails@gmail...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Mon Jun 30 21:49:52 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <div>&lt;div class='clean'&gt;I am not too familiar with Java-only solutions, however
Slicehost seems to be within your budget for your own VPS. The only
caveat there is the setup, deployment, and management is up to you
100%. Let me know what you ultimately go with as I would be
interested as well.
&lt;br clear='all'/&gt;
&lt;br/&gt;Sincerely,
&lt;br/&gt;
&lt;br/&gt;Robert Dempsey
&lt;br/&gt;Atlantic Dominion Solutions, LLC
&lt;br/&gt;
&lt;a href='http://www.techcfl.com' rel='nofollow'&gt;http://www.techcfl.com&lt;/a&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;div class='gmail_quote'&gt;On Mon, Jun 30, 2008 at 9:37 PM, Myron
Marston &amp;lt;
&lt;a href='mailto:myron.marston@gmail.com' rel='nofollow'&gt;myron.marston@gmail.com&lt;/a&gt;&amp;gt;
wrote:
&lt;br/&gt;
&lt;blockquote class='gmail_quote' style='border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;'&gt;
Hello,
&lt;br/&gt;
&lt;br/&gt;I've been working on a JRuby on Rails app for the last
several months and am planning to go live in the next couple
weeks.&amp;nbsp; I'm looking for a good hosting company for my
app.&amp;nbsp; Does anyone have any experience with hosting a JRuby on
Rails app with a hosting company?&amp;nbsp; Ideally, I'd like to be
paying $10-$15/month, or up to $20/month if that's what I need to
pay to get decent hosting.&amp;nbsp; I have no experience with the
various Java servers (Tomcat, Jetty, JBoss, Glassfish), so right
now I have no preference.&amp;nbsp; Tomcat hosting seems to be the most
affordable, though.&amp;nbsp; I'd like the hosting package to include
my own private JVM.
&lt;br/&gt;
&lt;br/&gt;Anyone have any recommendations?
&lt;br/&gt;
&lt;br/&gt;Thanks,
&lt;br/&gt;
&lt;font color='#888888'&gt;Myron
&lt;br/&gt;&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;
&lt;br/&gt;&lt;/div&gt;</div>
      </description>
    </item>
    <item>
      <title>[jruby-user] JRuby on Rails Host recommendations?</title>
      <creator>Myron Marston (myron.marston@gmail...)</creator>
      <pubDate>Mon, 30 Jun 2008 20:37:24 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/user/50d9fdc60806301837n275febf3m5bce0aae32c80ee9%40mail.gmail.com</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/user/50d9fdc60806301837n275febf3m5bce0aae32c80ee9%40mail.gmail.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Myron Marston (myron.marston@gmail...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Mon Jun 30 20:37:24 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <div>&lt;div class='clean'&gt;Hello,
&lt;br/&gt;
&lt;br/&gt;I've been working on a JRuby on Rails app for the last
several months and am planning to go live in the next couple
weeks.&amp;nbsp; I'm looking for a good hosting company for my
app.&amp;nbsp; Does anyone have any experience with hosting a JRuby on
Rails app with a hosting company?&amp;nbsp; Ideally, I'd like to be
paying $10-$15/month, or up to $20/month if that's what I need to
pay to get decent hosting.&amp;nbsp; I have no experience with the
various Java servers (Tomcat, Jetty, JBoss, Glassfish), so right
now I have no preference.&amp;nbsp; Tomcat hosting seems to be the most
affordable, though.&amp;nbsp; I'd like the hosting package to include
my own private JVM.
&lt;br/&gt;
&lt;br/&gt;Anyone have any recommendations?
&lt;br/&gt;
&lt;br/&gt;Thanks,
&lt;br/&gt;Myron
&lt;br/&gt;&lt;/div&gt;</div>
      </description>
    </item>
    <item>
      <title>Re: [jruby-user] bj gem/plugin</title>
      <creator>Raimonds Simanovskis (R.Simanovskis@alise...)</creator>
      <pubDate>Mon, 30 Jun 2008 02:20:59 -0500</pubDate>
      <link>http://archive.jruby.codehaus.org/user/OFC9ED875A.2A3B22A1-ONC2257478.0027B4C7-C2257478.002851EF%40alise.lv</link>
      <guid isPermaLink="true">http://archive.jruby.codehaus.org/user/OFC9ED875A.2A3B22A1-ONC2257478.0027B4C7-C2257478.002851EF%40alise.lv</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@jruby.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Raimonds Simanovskis (R.Simanovskis@alise...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Mon Jun 30 02:20:59 -0500 2008</td>
          </tr>
        </table>
        <hr/>
        <div>&lt;div class='clean'&gt;
&lt;p&gt;I initially also planned to use bj in one project but now found
BackgroundFu (
&lt;a href='http://github.com/ncr/background-fu' rel='nofollow'&gt;http://github.com/ncr/background-fu&lt;/a&gt;)
which I like better than bj.
&lt;br/&gt;Have not tried it yet with JRuby but at least from source
code it seems that it should probably run on it as there is no
native process launching as in case of bj.
&lt;br/&gt;
&lt;br/&gt;Raimonds
&lt;br/&gt;
&lt;br/&gt;
&lt;tt&gt;"Rich Manalang" &amp;lt;rich.manalang@gmail.com&amp;gt; wrote on
29.06.2008 22:14:29:
&lt;br/&gt;
&lt;br/&gt;&amp;gt; Not yet. &amp;nbsp;Although, this project may be dead in the
water since I see
&lt;br/&gt;&amp;gt; references to ObjectSpace in Bj. &amp;nbsp;Now looking for a
different option.
&lt;br/&gt;&amp;gt; I don't like rufus-scheduler because it doesn't have a
persistent
&lt;br/&gt;&amp;gt; store for jobs -- if the app goes down, you'll never
know what
&lt;br/&gt;&amp;gt; happened to the jobs. &amp;nbsp;Although, I'd love to hear
from those who have
&lt;br/&gt;&amp;gt; had success with rufus-scheduler... I saw that that
several JRubyists
&lt;br/&gt;&amp;gt; have.
&lt;br/&gt;&amp;gt;
&lt;br/&gt;&amp;gt; Rich
&lt;br/&gt;&amp;gt;
&lt;br/&gt;&amp;gt; &amp;AElig;&amp;fnof;u&amp;Eacute;l&amp;Eacute;u&amp;Eacute;&amp;Eacute;&amp;macr;
&amp;Eacute;&amp;yen;&amp;Eacute;&amp;rdquo;&amp;Auml;&amp;plusmn;&amp;Eacute;&amp;sup1;
&lt;br/&gt;&amp;gt;
&lt;br/&gt;&amp;gt;
&lt;br/&gt;&amp;gt; On Sat, Jun 28, 2008 at 10:06 PM, Stephen Bannasch
&lt;br/&gt;&amp;gt; &amp;lt;stephen.bannasch@deanbrook.org&amp;gt; wrote:
&lt;br/&gt;&amp;gt; &amp;gt; At 10:03 PM -0700 6/26/08, Rich Manalang wrote:
&lt;br/&gt;&amp;gt; &amp;gt;&amp;gt;I'm kind of in the heat of patching Bj to get it
to work on JRuby. &amp;nbsp;So
&lt;br/&gt;&amp;gt; &amp;gt;&amp;gt;far the main problem is that it doesn't
reference ar-jdbc. &amp;nbsp;After
&lt;br/&gt;&amp;gt; &amp;gt;&amp;gt;adding ar-jdbc, I'm finding other issues.
&amp;nbsp;I'll let you know what I
&lt;br/&gt;&amp;gt; &amp;gt;&amp;gt;come up with.
&lt;br/&gt;&amp;gt; &amp;gt;
&lt;br/&gt;&amp;gt; &amp;gt; Rick, I started using Bj in a rails project
recently and found it
&lt;br/&gt;&amp;gt; doesn't work in JRuby. Fixing it was on my list.
&lt;br/&gt;&amp;gt; &amp;gt;
&lt;br/&gt;&amp;gt; &amp;gt; I'm interested in your progress and perhaps could
help.
&lt;br/&gt;&amp;gt; &amp;gt;
&lt;br/&gt;&amp;gt; &amp;gt; Ar you committing your work to any public
repository (github)?
&lt;br/&gt;&amp;gt; &amp;gt;
&lt;br/&gt;&amp;gt; &amp;gt;
---------------------------------------------------------------------
&lt;br/&gt;&amp;gt; &amp;gt; To unsubscribe from this list, please visit:
&lt;br/&gt;&amp;gt; &amp;gt;
&lt;br/&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp;
&lt;a href='http://xircles.codehaus.org/manage_email' rel='nofollow'&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;
&lt;br/&gt;&amp;gt; &amp;gt;
&lt;br/&gt;&amp;gt; &amp;gt;
&lt;br/&gt;&amp;gt; &amp;gt;
&lt;br/&gt;&lt;/tt&gt;&lt;/p&gt;
&lt;/div&gt;</div>
      </description>
    </item>
  </channel>
</rss>
