<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: JRuby: Calling Ruby&#8217;s ActiveRecord from Java Using the Bean Scripting Framework</title>
	<atom:link href="http://www.digitalsanctum.com/2007/07/25/calling-rubys-activerecord-from-java-using-the-bean-scripting-framework/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.digitalsanctum.com/2007/07/25/calling-rubys-activerecord-from-java-using-the-bean-scripting-framework/</link>
	<description>software development, technology and other square topics</description>
	<pubDate>Mon, 06 Oct 2008 18:45:00 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: padmapriya</title>
		<link>http://www.digitalsanctum.com/2007/07/25/calling-rubys-activerecord-from-java-using-the-bean-scripting-framework/#comment-9048</link>
		<dc:creator>padmapriya</dc:creator>
		<pubDate>Wed, 06 Aug 2008 19:45:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.digitalsanctum.com/2007/07/25/calling-rubys-activerecord-from-java-using-the-bean-scripting-framework/#comment-9048</guid>
		<description>I tried to run this example as 
1) standalone 
2)Using "ant run-java-ar"

In both cases i got the same above error
[java] org.jruby.exceptions.RaiseException: cannot load Java class JavaLang
[java] unable to load language: ruby: org.jruby.exceptions.RaiseException: cannot load Java class JavaLang

Please let me know if i need to set anything in the classpath?</description>
		<content:encoded><![CDATA[<p>I tried to run this example as<br />
1) standalone<br />
2)Using &#8220;ant run-java-ar&#8221;</p>
<p>In both cases i got the same above error<br />
[java] org.jruby.exceptions.RaiseException: cannot load Java class JavaLang<br />
[java] unable to load language: ruby: org.jruby.exceptions.RaiseException: cannot load Java class JavaLang</p>
<p>Please let me know if i need to set anything in the classpath?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: padmapriya</title>
		<link>http://www.digitalsanctum.com/2007/07/25/calling-rubys-activerecord-from-java-using-the-bean-scripting-framework/#comment-9047</link>
		<dc:creator>padmapriya</dc:creator>
		<pubDate>Wed, 06 Aug 2008 19:22:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.digitalsanctum.com/2007/07/25/calling-rubys-activerecord-from-java-using-the-bean-scripting-framework/#comment-9047</guid>
		<description>I tried to run this example , but i am getting the following error
"unable to load language: ruby: org.jruby.exceptions.RaiseException: cannot load Java class JavaLang"</description>
		<content:encoded><![CDATA[<p>I tried to run this example , but i am getting the following error<br />
&#8220;unable to load language: ruby: org.jruby.exceptions.RaiseException: cannot load Java class JavaLang&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Follow-up on Ruby On Java Presentation &#171; dambalah</title>
		<link>http://www.digitalsanctum.com/2007/07/25/calling-rubys-activerecord-from-java-using-the-bean-scripting-framework/#comment-3800</link>
		<dc:creator>Follow-up on Ruby On Java Presentation &#171; dambalah</dc:creator>
		<pubDate>Sat, 25 Aug 2007 00:01:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.digitalsanctum.com/2007/07/25/calling-rubys-activerecord-from-java-using-the-bean-scripting-framework/#comment-3800</guid>
		<description>[...] I found this great blog post that describes using the BSF to call Ruby&#8217;s ActiveRecord from [...]</description>
		<content:encoded><![CDATA[<p>[...] I found this great blog post that describes using the BSF to call Ruby&#8217;s ActiveRecord from [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ziggy</title>
		<link>http://www.digitalsanctum.com/2007/07/25/calling-rubys-activerecord-from-java-using-the-bean-scripting-framework/#comment-3763</link>
		<dc:creator>Ziggy</dc:creator>
		<pubDate>Wed, 22 Aug 2007 13:10:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.digitalsanctum.com/2007/07/25/calling-rubys-activerecord-from-java-using-the-bean-scripting-framework/#comment-3763</guid>
		<description>Just tried your code. I had an error with connection to database. After knocking my head on the keyboard I found a mistake in your code (at least for me it was a mistake).
In the code ActiveRecord::Base.establish_connection ... you wrote  :user =&#62; "root" - well it should be :username =&#62; "root".
The way I found out the error was - I ran the script and got a error for mysql connection - connection from root@192.168.*.* is forbidden. But I set :user =&#62; 'my_correct_login'. So as :user was not valid option it was just ignored, so "root" was used instead by default.</description>
		<content:encoded><![CDATA[<p>Just tried your code. I had an error with connection to database. After knocking my head on the keyboard I found a mistake in your code (at least for me it was a mistake).<br />
In the code ActiveRecord::Base.establish_connection &#8230; you wrote  :user =&gt; &#8220;root&#8221; - well it should be :username =&gt; &#8220;root&#8221;.<br />
The way I found out the error was - I ran the script and got a error for mysql connection - connection from <a href="mailto:root@192.168">root@192.168</a>.*.* is forbidden. But I set :user =&gt; &#8216;my_correct_login&#8217;. So as :user was not valid option it was just ignored, so &#8220;root&#8221; was used instead by default.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shane</title>
		<link>http://www.digitalsanctum.com/2007/07/25/calling-rubys-activerecord-from-java-using-the-bean-scripting-framework/#comment-3583</link>
		<dc:creator>shane</dc:creator>
		<pubDate>Fri, 27 Jul 2007 16:22:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.digitalsanctum.com/2007/07/25/calling-rubys-activerecord-from-java-using-the-bean-scripting-framework/#comment-3583</guid>
		<description>I'm using the latest version of the IDEA EAP IDE as well as the latest version of the Ruby plugin.</description>
		<content:encoded><![CDATA[<p>I&#8217;m using the latest version of the IDEA EAP IDE as well as the latest version of the Ruby plugin.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pftg</title>
		<link>http://www.digitalsanctum.com/2007/07/25/calling-rubys-activerecord-from-java-using-the-bean-scripting-framework/#comment-3579</link>
		<dc:creator>pftg</dc:creator>
		<pubDate>Fri, 27 Jul 2007 06:53:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.digitalsanctum.com/2007/07/25/calling-rubys-activerecord-from-java-using-the-bean-scripting-framework/#comment-3579</guid>
		<description>I want to ask you about integration JRuby to Idea, without highlighting errors in: require 'rubygems'</description>
		<content:encoded><![CDATA[<p>I want to ask you about integration JRuby to Idea, without highlighting errors in: require &#8216;rubygems&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://www.digitalsanctum.com/2007/07/25/calling-rubys-activerecord-from-java-using-the-bean-scripting-framework/#comment-3575</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Thu, 26 Jul 2007 19:26:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.digitalsanctum.com/2007/07/25/calling-rubys-activerecord-from-java-using-the-bean-scripting-framework/#comment-3575</guid>
		<description>Hi

is it possible to provide a working example for this article? 

Thanks!</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>is it possible to provide a working example for this article? </p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
